Skip to main content

vserver services name-service ldap client schema show

Contributors
Suggest changes

Display LDAP schema templates

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver services name-service ldap client schema show command shows information about LDAP schema templates which a Vserver can access. An LDAP schema template created by a Vserver's administrator or by the cluster administrator for the Vserver is owned by the Vserver. A cluster-wide LDAP schema template is created by a cluster administrator by specifying the admin Vserver's name as a value to the -vserver parameter. In addition to its owned LDAP schema templates, a Vserver can access such cluster-wide LDAP schema templates.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <Vserver Name>] - Vserver

If you specify this parameter, the command displays all LDAP schema templates that can be accessed by the specified Vserver.

[-schema <text>] - Schema Template

If you specify this parameter, the command displays the schema template with the specified name.

[-comment <text>] - Comment

If you specify this parameter, the command displays schema templates with the specified comment.

[-posix-account-object-class <text>] - RFC 2307 posixAccount Object Class

If you specify this parameter, the command displays schema templates with the specified posixAccount object class.

[-posix-group-object-class <text>] - RFC 2307 posixGroup Object Class

If you specify this parameter, the command displays schema templates with the specified posixGroup object class.

[-nis-netgroup-object-class <text>] - RFC 2307 nisNetgroup Object Class

If you specify this parameter, the command displays schema templates with the specified nisNetgroup object class.

[-uid-attribute <text>] - RFC 2307 uid Attribute

If you specify this parameter, the command displays schema templates with the specified uid attribute.

[-uid-number-attribute <text>] - RFC 2307 uidNumber Attribute

If you specify this parameter, the command displays schema templates with the specified uidNumber attribute.

[-gid-number-attribute <text>] - RFC 2307 gidNumber Attribute

If you specify this parameter, the command displays schema templates with the specified gidNumber attribute.

[-cn-group-attribute <text>] - RFC 2307 cn (for Groups) Attribute

If you specify this parameter, the command displays schema templates with the specified cn (for Groups) attribute.

[-cn-netgroup-attribute <text>] - RFC 2307 cn (for Netgroups) Attribute

If you specify this parameter, the command displays schema templates with the specified cn (for Netgroups) attribute.

[-user-password-attribute <text>] - RFC 2307 userPassword Attribute

If you specify this parameter, the command displays schema templates with the specified userPassword attribute.

[-gecos-attribute <text>] - RFC 2307 gecos Attribute

If you specify this parameter, the command displays schema templates with the specified gecos attribute.

[-home-directory-attribute <text>] - RFC 2307 homeDirectory Attribute

If you specify this parameter, the command displays schema templates with the specified homeDirectory attribute.

[-login-shell-attribute <text>] - RFC 2307 loginShell Attribute

If you specify this parameter, the command displays schema templates with the specified loginShell attribute.

[-member-uid-attribute <text>] - RFC 2307 memberUid Attribute

If you specify this parameter, the command displays schema templates with the specified memberUid attribute.

[-member-nis-netgroup-attribute <text>] - RFC 2307 memberNisNetgroup Attribute

If you specify this parameter, the command displays schema templates with the specified memberNisNetgroup attribute.

[-nis-netgroup-triple-attribute <text>] - RFC 2307 nisNetgroupTriple Attribute

If you specify this parameter, the command displays schema templates with the specified nisNetgroupTriple attribute.

[-enable-rfc2307bis {true|false}] - Enable Support for Draft RFC 2307bis

If you set this parameter to true, the command displays RFC 2307bis enabled LDAP schema templates.

[-group-of-unique-names-object-class <text>] - RFC 2307bis groupOfUniqueNames Object Class

If you specify this parameter, the command displays schema templates with the specified groupOfUniqueNames object class.

[-unique-member-attribute <text>] - RFC 2307bis uniqueMember Attribute

If you specify this parameter, the command displays schema templates with the specified uniqueMember attribute.

[-windows-to-unix-object-class <text>] - Data ONTAP Name Mapping windowsToUnix Object Class

If you specify this parameter, the command displays schema templates with the specified windowsToUnix object class.

[-windows-account-attribute <text>] - Data ONTAP Name Mapping windowsAccount Attribute

If you specify this parameter, the command displays schema templates with the specified windowsAccount attribute.

[-windows-to-unix-attribute <text>] - Data ONTAP Name Mapping windowsToUnix Attribute

If you specify this parameter, the command displays schema templates with the specified windowsToUnix attribute.

[-windows-to-unix-no-domain-prefix {true|false}] - No Domain Prefix for windowsToUnix Name Mapping

If you specify this parameter, the command displays schema templates with the specified windowsToUnixNoDomainPrefix setting.

[-is-owner {true|false}] - Vserver Owns Schema

If you set this parameter to true, the command displays LDAP schema templates with the Vservers which own them.

[-nis-object-class <text>] - RFC 2307 nisObject Object Class

If you specify this parameter, the command displays schema templates with the specified nisObject attribute.

[-nis-mapname-attribute <text>] - RFC 2307 nisMapName Attribute

If you specify this parameter, the command displays schema templates with the specified nisMapName attribute.

[-nis-mapentry-attribute <text>] - RFC 2307 nisMapEntry Attribute

If you specify this parameter, the command displays schema templates with the specified nisMapEntry attribute.

Examples

The following example shows a summary of all of the default LDAP schema templates defined in the cluster:

cluster1::> vserver services name-service ldap client schema show
Vserver Schema Template Comment
------- --------------- -------------------------------------------------------
cluster-node3
        MS-AD-BIS       Schema based on Active Directory Identity Management for UNIX (read-only)
cluster-node3
        AD-IDMU         Schema based on Active Directory Identity Management for UNIX (read-only)
cluster-node3
        AD-SFU          Schema based on Active Directory Services for UNIX (read-only)
cluster-node3
        RFC-2307        Schema based on RFC 2307 (read-only)
4 entries were displayed.