--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools



Would you like to sponsor this site?
Or buy me a beer?:

Recently Changed Pages:

View All Pages
View All Q Pages

View All Tags

Sign up for Q to post comments.

WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.

Terms And Conditions for Q users

Pages with comments

2019/06/22 10:36 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments


OpenDS LDAP Indexes


To be able to create indexes on openDS LDAP you need X11 access to the application. To check how to set this up check CygWin - X op Windows and ssh_x11_forwarding_and_su.

Create Indexes

Indexes are created using the control-panel which is part of the installation.

Start the control-panel like this:


Go to “INDEXES” → “New Index”

Create these indexes:

  • Create an index on “AccountID” as index type “Equality” and “Presence”
  • Create an index on “uid” with as index type “Equality” and “Presence”
  • Create an index on attribute “objectClass” as index type “Equality”
  • Create an index on attribute “aci” as index type “Presence”
  • Create a VLV index on whole subtree with filter:
    • (&(|(objectClass=groupOfNames)(objectClass=groupOfUniqueNames)(objectClass=groupOfEntries))(!(objectClass=ds-virtual-static-group)))
    • Sort order: uid (ascending) and AccountID (ascending)
Note: whenever you save an index you'll get a message stating that you should rebuild the index. This will take the backend offline, so click No. We'll rebuild the index in the next step.

When done, exit the control-panel.

Rebuild Index

To rebuild the index on the command line issue these commands:

./rebuild-index -b o=company.local -rebuildAll

Check Index

When the indexes have been rebuild results should show up within 1 second:

root@ldapbox:/opt/OpenDS-2.2.0/bin>/opt/IBM/ldap/V6.2/bin/ldapsearch -h localhost -p 389 -b o=company.local -D cn=manager -w xxxxxxxx uid=000018615777
You could leave a comment if you were logged in.
opendsindexes.txt · Last modified: 2013/05/01 10:49 by sjoerd