Personal tools
You are here: Home Support and Documentation Administrator's Guide D.2.  Increasing performance by adding an index on some Attributes.
Document Actions

D.2.  Increasing performance by adding an index on some Attributes.

D.2.  Increasing performance by adding an index on some Attributes.

In a standard eDirectory installation, there is no index on the Object Class attribute, nor on the uidNumber or gidNumber attributes. Since pam_ldap and nss_ldap use LDAP queries that include the objectclass, uidNumber and gidNumber attributes, performance can often be increased by adding an index for these specific attributes. This has to be done on all servers that carry data needed for authentication.

We will give an example on how to add an index on "Object Class":

  1. Find the server object for the server where the index is to be added. That is, find the Netware server object, not the LDAP server object.

  2. Select properties, and choose the index tab.

  3. Press the Add button, set Index Name to "objectclass". Choose "Object Class" in the list of Attributes.

    Note

    The list of Attributes has a peculiar sorting order. All attributes that have names that start with a capital are ordered before the ones that don't.

    Set the Rule to "Value".

  4. Press OK.

  5. Press Apply. That will create the index, a background process that may take a few minutes on a very large directory.

Repeat the procedures above for all servers that have replicas with the relevant information.

Repeat the steps above for the uidNumber and gidNumber attributes, adjusting parameters as needed.