This page (revision-1) was last changed on 29-Nov-2024 16:16 by UnknownAuthor

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 added 66 lines
!!!NDSIndex
The NDSIndex utility can create, list, delete, suspend, and resume [Edirectory Indexes].
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.
!!List an Index
To list the CN index, use:
{{{
./ndsindex list ?D cn=admin,o=novell ?w password ?s cn=SVR01,o=novell CN
}}}
The 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
}}}
!!Add an Index
To add a VALUE index to the uid attribute, use:
{{{
# /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.
!!Suspend an Index
To suspend the uid attribute index, use:
{{{
# /usr/ldaptools/bin/ndsindex suspend -D cn=admin,o=novell -w novell -s cn=SVR01,o=novell uid
}}}
The 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
}}}
!![Novell's Docs on NDSIndex|http://www.novell.com/documentation/edir88/edir88/index.html?page=/documentation/edir88/edir88/data/a6qjdjx.html]
!! More Information
There might be more information for this subject on one of the following:
[{ReferringPagesPlugin before='*' after='\n' }]