By default, it is installed into /usr/ldaptools/bin. The syntax for NDSIndex is:
# ./ndsindex [command] [options] [index]
NDSIndex uses LDAP to manipulate indexDefinition on the NCP server object. This means that LDAP must be working correctly. Once modified, indexDefinition kicks off the Limber process.
./ndsindex list ?D cn=admin,o=novell ?w password ?s cn=SVR01,o=novell CNThe results will look similar to this:
Index Version: 0
Index Name: CN
Index State: Online
Index Rule: Value
Index Type: Added on attribute creation
Index State Value: Added from server
NDS Attribute: CN
# /usr/ldaptools/bin/ndsindex add -D cn=admin,o=novell -w novell -s cn=SVR01,o=novell "uid;uid;VALUE?The results: Result Index(es) addition successful.
# /usr/ldaptools/bin/ndsindex suspend -D cn=admin,o=novell -w novell -s cn=SVR01,o=novell uidThe results: Index(es) suspension successful.
To list the uid index, use:
# /usr/ldaptools/bin/ndsindex list -D cn=admin,o=novell -w novell -s cn=SVR01,o=novell uid
The results will look similar to this:
Index Version: 0
Index Name: uid
Index State: Suspended
Index Rule: Value
Index Type: User defined
Index State Value: Added from server
NDS Attribute: uid
#