Creating a new LDAP client schema

If the LDAP schema in your environment differs from the ONTAP defaults, you must create a new LDAP client schema for ONTAP before creating the LDAP client configuration.

About this task

Most LDAP servers can use the default schemas provided by ONTAP:

If you need to use a non-default LDAP schema, you must create it before creating the LDAP client configuration. Consult with your LDAP administrator before creating a new schema.

The default LDAP schemas provided by ONTAP cannot be modified. To create a new schema, you create a copy and then modify the copy accordingly.

Procedure

  1. Display the existing LDAP client schema templates to identify the one you want to copy: vserver services name-service ldap client schema show
  2. Set the privilege level to advanced: set -privilege advanced
  3. Make a copy of an existing LDAP client schema: vserver services name-service ldap client schema copy -vserver vserver_name -schema existing_schema_name -new-schema-name new_schema_name
  4. Modify the new schema and customize it for your environment:vserver services name-service ldap client schema modify
  5. Return to the admin privilege level: set -privilege admin