ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service ldap client schema modify

    Modify an LDAP schema template

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

    Description

    The vserver services name-service ldap client schema modify command modifies an existing LDAP schema template. You cannot modify the default schema templates. Create a copy of a default schema template using the vserver services name-service ldap client schema copy command, and then modify the copy. A Vserver administrator can only modify templates owned by the Vserver.

    Parameters

    [-vserver <Vserver Name>] - Vserver

    This parameter specifies the name of the Vserver owning the LDAP schema template you want to modify.

    -schema <text> - Schema Template

    This parameter specifies the name of the schema template you want to modify.

    [-comment <text>] - Comment

    This parameter specifies a comment that describes the schema template.

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

    This parameter specifies the RFC 2307 posixAccount object class name defined by the schema.

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

    This parameter specifies the RFC 2307 posixGroup object class name defined by the schema.

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

    This parameter specifies the RFC 2307 nisNetgroup object class name defined by the schema.

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

    This parameter specifies the RFC 2307 uid attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 uidNumber attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 gidNumber attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 cn (for Groups) attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 cn (for Netgroups) attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 userPassword attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 gecos attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 homeDirectory attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 loginShell attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 memberUid attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 memberNisNetgroup attribute name defined by the schema.

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

    This parameter specifies the RFC 2307 nisNetgroupTriple attribute name defined by the schema.

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

    This parameter specifies whether RFC 2307bis is enabled for the schema.

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

    This parameter specifies the RFC 2307bis groupOfUniqueNames object class name defined by the schema. This parameter takes effect only when RFC 2307bis is enabled for the schema.

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

    This parameter specifies the RFC 2307bis uniqueMember attribute name defined by the schema. This parameter takes effect only when RFC 2307bis is enabled for the schema.

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

    This parameter specifies the name mapping windowsToUnix object class name defined by the schema.

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

    This parameter specifies the name mapping windowsAccount attribute name defined by the schema.

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

    This parameter specifies the name mapping windowsToUnix attribute name defined by the schema.

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

    This parameter specifies the name mapping windowsToUnixNoDomainPrefix setting defined by the schema.

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

    This parameter specifies the nisObject class name defined by the schema. This parameter takes effect only when netgroup.byhost is enabled for the vserver.

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

    This parameter specifies the nisMapName attribute name defined by the schema. This parameter takes effect only when netgroup.byhost is enabled for the vserver.

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

    This parameter specifies the nisMapEntry attribute name defined by the schema. This parameter takes effect only when netgroup.byhost is enabled for the vserver.

    Examples

    The following example modifies the schema template called corp-schema owned by Vserver vs1 to use User as the uid attribute name:

    cluster1::> vserver services name-service ldap client schema modify -vserver vs1 -schema corp-schema -uid-attribute User
    Top of Page