Background on LDAP Indexes that are not Edirectory specific.
Table below, in order of appearance, the value for the "indexDefinition" values that are delimited by "$" are as follows:
Version | User-defined Index Name | Index State | Index Rules | Index Type | Index value state | NDS Attribute Name |
---|---|---|---|---|---|---|
0 | CN_SS | 0 | 2 | 1 | 1 | cn |
0 | CN | 0 | 0 | 1 | 1 | cn |
0 | Obituary | 0 | 0 | 3 | 1 | Obituary |
0 | Obituary | 0 | 1 | 2 | 1 | Obituary |
0 | Surname | 0 | 0 | 1 | 1 | Surname |
0 | Revision | 0 | 0 | 3 | 1 | Revision |
0 | Given Name | 0 | 0 | 1 | 1 | Given Name |
0 | GUID | 0 | 0 | 2 | 1 | GUID |
0 | uniqueID_SS | 0 | 2 | 1 | 1 | uniqueID |
0 | uniqueID | 0 | 0 | 1 | 1 | uniqueID |
0 | dc | 0 | 0 | 1 | 1 | DC |
0 | ldapClassList | 0 | 0 | 1 | 1 | ldapClassList |
0 | indexDefinition | 0 | 0 | 3 | 1 | indexDefinition |
0 | CachedAttrsOnExtRefs | 0 | 0 | 3 | 1 | CachedAttrsOnExtRefs |
0 | extensionInfo | 0 | 0 | 3 | 1 | extensionInfo |
0 | ldapAttributeList | 0 | 0 | 3 | 1 | ldapAttributeList |
0 | Purge Vector | 0 | 0 | 3 | 1 | Purge Vector |
0 | DirXMLIndex | 0 | 0 | 0 | 1 | DirXML-Associations |
0 | Member | 0 | 0 | 2 | 1 | Member |
0 | NSCP:employeeNumber | 0 | 0 | 0 | 1 | NSCP:employeeNumber |
0 | nspmPasswordHistory | 0 | 0 | 3 | 1 | nspmPasswordHistory |
0 | DirXML-PasswordSyncStatus | 0 | 0 | 3 | 1 | DirXML-PasswordSyncStatus |
0 | Passwords Used | 0 | 0 | 3 | 1 | Passwords Used |
0 | pwdFailureTime | 0 | 0 | 3 | 1 | pwdFailureTime |
0 | Object Class | 0 | 0 | 3 | 1 | Object Class |
0 | rbsTaskRights | 0 | 0 | 3 | 1 | rbsTaskRights |
0 | Obituary Notify | 0 | 0 | 3 | 1 | Obituary Notify |
0 | sssActiveServerList | 0 | 0 | 3 | 1 | sssActiveServerList |
0 | nspmAdministratorChangeCount | 0 | 0 | 3 | 1 | nspmAdministratorChangeCount |
0 | DirXML-StatusLog | 0 | 0 | 3 | 1 | DirXML-StatusLog |
0 | DirXML-Policies | 0 | 0 | 3 | 1 | DirXML-Policies |
0 | ndsStatusObituary | 0 | 0 | 3 | 1 | ndsStatusObituary |
0 | Permanent Config Parms | 0 | 0 | 3 | 1 | Permanent Config Parms |
0 | SecurityEquals | 0 | 0 | 0 | 1 | Security Equals |
Novell does suggest, however, that the index name should not contain the '$' character. This character is the delimiter between the 7 strings in the attribute value. If you use the '$' character in one of the strings, you must escape it when trying to work with the indexes via LDAP.
A Best Practice is to identify the index "type' by appending a code to the end of the name. As an example:
We ONLY except in rare circumstances recommend anything but a Value index for eDirectory
NOTE: In eDirectory 8.7 and higher new functionality was added:
Called FLAIM Attribute Containerization If any entry in the tree has an FLAIM Attribute Containerization rules an index for the attribute will be automatically added by the system. The resulting index will be of type "system" and not of type "auto-added" as it may be expected.
Due to the underlying structure of the eDirectory database, system-added indexes provide better access times for LDAP queries.
dn: cn=testServer-NDS,o=Novell changetype: modify add: indexDefinition indexDefinition: 0$indexName$2$2$0$1$attributeName