Print

Configuring the LDAP server

About this task

Follow this procedure to manually configure your LDAP server for User Management.

Procedure

  1. Copy the mvapus schema file (mvapus.schema) from /var/mvap/config/cus to the LDAP schema directory (/etc/openldap/schema).
  2. Edit the /etc/openldap/schema/core.schema file as follows:
    1. Locate the userid attribute specification section.
    2. Add the following specification element:

      after the EQUALITY caseIgnoreMatch line, add ORDERING caseIgnoreOrderingMatch

    3. Save the schema file.
  3. Edit the /etc/openldap/slapd.conf file as follows:
    1. Add the following include statement to the already existing set of \include statements: include /etc/openldap/schema/mvapus.schema
    2. Note the suffix value used in the current slapd.conf file.
    3. Save and close the slapd.conf file.
  4. Modify the init.ldif file to match the chosen organizationalUnit for the \users and the existing suffix used by the enterprise as follows:
    1. Eliminate the first entry in the init.ldif file.
    2. Revise the second entry to reflect the desired organizationalUnit \ (for example, ou=users).
    3. Revise the DN attribute of the next two entries to reflect the chosen organizationalUnit and suffix in use in the enterprise.
    4. Save and close the init.ldif file.
  5. Restart the LDAP server.
  6. Use the ldapadd tool or equivalent to add the entries in the ldif.init file into the LDAP server:

    For example, ldapadd -x -D bind credentials DN -W -f init.ldif