|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcLdapClientSchema
NAME
Get-NcLdapClientSchema
SYNOPSIS
Get the list of Lightweight Directory Access Protocol (LDAP) client schema c
onfigurations that are defined for the cluster.
SYNTAX
Get-NcLdapClientSchema [[-Name] <String[]>] [-Attributes <LdapClientSchema>]
[-VserverContext <String>] [-Controller <NcController[]>] [<CommonParameter
s>]
Get-NcLdapClientSchema -Template [-VserverContext <String>] [-Controller <Nc
Controller[]>] [<CommonParameters>]
Get-NcLdapClientSchema -Query <LdapClientSchema> [-Attributes <LdapClientSch
ema>] [-VserverContext <String>] [-Controller <NcController[]>] [<CommonPara
meters>]
DESCRIPTION
Get the list of Lightweight Directory Access Protocol (LDAP) client schema c
onfigurations that are defined for the cluster.
PARAMETERS
-Name <String[]>
One or more names of LDAP schemas. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <LdapClientSchema>
For improved scalability in large clusters, provide a LdapClientSchema o
bject with various fields set to indicate which fields to return on all
objects. Undesired fields should remain set to null. Use "Get-NcLdapCl
ientSchema -Template" to get the initially empty LdapClientSchema object
. If not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty LdapClientSchema object for use with advanced qu
eries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <LdapClientSchema>
For advanced queries, provide a LdapClientSchema object with various fie
lds set to indicate which records to retrieve. Other fields should rema
in set to null. Use "Get-NcLdapClientSchema -Template" to get the initi
ally empty LdapClientSchema object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Ldap.LdapClientSchema
NOTES
Category: ldap
API: ldap-client-schema-get-iter
Family: cluster, vserver
-------------- Example 1 --------------
C:\PS>Get-NcLdapClientSchema AD-SFU
Get the LDAP client schema named AD-SFU.
Schema : AD-SFU
NcController : 192.168.182.144
CnGroupAttribute : cn
CnNetgroupAttribute : name
Comment : Schema based on Active Directory Services for U
NIX (read-only)
GecosAttribute : name
GidNumberAttribute : gidNumber
HomeDirectoryAttribute : unixHomeDirectory
LoginShellAttribute : loginShell
MemberNisNetgroupAttribute : memberNisNetgroup
MemberUidAttribute : primaryGroupID
NisNetgroupObjectClass : nisNetgroup
NisNetgroupTripleAttribute : nisNetgroupTriple
PosixAccountObjectClass : User
PosixGroupObjectClass : Group
UidAttribute : uid
UidNumberAttribute : uidNumber
UserPasswordAttribute : unixUserPassword
WindowsAccountAttribute : windowsAccount
-------------- Example 2 --------------
C:\PS>$q = Get-NcLdapClientSchema -Template
$q.Comment = "*read-only*"
Get-NcLdapClientSchema -Query $q
Get the LDAP client schema(s) that mention "read-only" in the comment.
Schema : AD-SFU
NcController : 192.168.182.144
CnGroupAttribute : cn
CnNetgroupAttribute : name
Comment : Schema based on Active Directory Services for U
NIX (read-only)
GecosAttribute : name
GidNumberAttribute : gidNumber
HomeDirectoryAttribute : unixHomeDirectory
LoginShellAttribute : loginShell
MemberNisNetgroupAttribute : memberNisNetgroup
MemberUidAttribute : primaryGroupID
NisNetgroupObjectClass : nisNetgroup
NisNetgroupTripleAttribute : nisNetgroupTriple
PosixAccountObjectClass : User
PosixGroupObjectClass : Group
UidAttribute : uid
UidNumberAttribute : uidNumber
UserPasswordAttribute : unixUserPassword
WindowsAccountAttribute : windowsAccount
Schema : RFC-2307
NcController : 192.168.182.144
CnGroupAttribute : cn
CnNetgroupAttribute : cn
Comment : Schema based on RFC 2307 (read-only)
GecosAttribute : gecos
GidNumberAttribute : gidNumber
HomeDirectoryAttribute : homeDirectory
LoginShellAttribute : loginShell
MemberNisNetgroupAttribute : memberNisNetgroup
MemberUidAttribute : memberUid
NisNetgroupObjectClass : nisNetgroup
NisNetgroupTripleAttribute : nisNetgroupTriple
PosixAccountObjectClass : posixAccount
PosixGroupObjectClass : posixGroup
UidAttribute : uid
UidNumberAttribute : uidNumber
UserPasswordAttribute : userPassword
WindowsAccountAttribute : windowsAccount
RELATED LINKS
Set-NcLdapClientSchema
Remove-NcLdapClientSchema
Copy-NcLdapClientSchema
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|