Configuring the LDAP server

Last Updated : Jun 10, 2026 |

About this task

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

Procedure

  1. Copy the mvapus schema file named mvapus.schema from /var/mvap/config/cus to the LDAP schema directory at /etc/openldap/schema.
  2. Edit the core.schema file at /etc/openldap/schema/ as follows:
    1. Locate the userid attribute specification section.
    2. Type ORDERING caseIgnoreOrderingMatch after the line EQUALITY caseIgnoreMatch.
    3. Save the schema file.
  3. Edit the slapd.conf file at /etc/openldap/ as follows:
    1. Type 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. Delete the first entry in the init.ldif file.
    2. Update the second entry to reflect the desired organizationalUnit.

      For example, ou=users

    3. Update 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