In 10 steps
1. Use the stop-slapd command to stop the Directory Server.
# <server-root>/slapd-<hostname>-users/stop-slapd
2. Use a text editor to open up and edit slapd.ldbm.conf. The path of this file is: <server-root>/slapd-<hostname>-users/config/slapd.ldbm.conf
3. Enable the Class of Service plug-in. Locate the two lines that include Class of Service slapd.ldbm.conf in text editor:
#plugin postoperation on "Class of Service" <server-root>/lib/cos-plugin.so cos_init o=isp
#plugin preoperation on "Class of Service init" <server-root>/lib/cos-plugin.so cos_preop_init
Delete the "#" from these two lines.
4. Comment out UID uniqueness
Insert a "#" character if necessary in front of the line that begins plugin preoperation on "uid uniqueness".
# plugin preoperation on "uid uniqueness" <server-root>/lib/uid-plugin.so NSUniqueAttr_Init uid o=isp plugin preoperation on "7-bit check"
5. Add memberof attribute (1 line)
plugin postoperation on "referential integrity postoperation" <server-root>/lib/referint-plugin.so referint_postop_init 0 <server-root>/slapd-<hostname>/logs/referint 0 member uniquemember owner seeAlso memberof
6. Create indexes
Add the following lines to create pres, eq and sub indexes for the nsdadomain and memberof attributes. Type in the lines as they appear below on a new line within the document.
index nsdadomain pres,eq,sub
index memberof pres,eq,sub
7. Add the pres index to the uid attribute
Type in the 4 letters "pres" after eq. You will also want to add a comma after so that the line reads
index uid eq,pres
8. Change the lookthroughlimit setting
Change the lookthroughlimit setting to a value greater than the number of anticipated messaging user entries in the directory. The default value is 5,000. Change the setting to 10,000 to allow for 10,000 messaging users
lookthroughlimit 10000
9. Open the counters.ldbm.conf file in a new text editor window and copy its contents in slapd.ldbm.conf before that line:
#include "<server-root>/slapd-<hostname>-users/config/counters.ldbm.conf"
10. Restart your server with the previously modified slapd.ldbm.conf
# <server-root>/slapd-<hostname>-users/start-slapd