slapd: Add indexes for cn and gidNumber.
[matthijs/servers/drsnuggles.git] / etc / ldap / slapd.conf
index 3a9c2175ebddf5d71f6c803c06779c4222fe18f2..6c55689d29164409946274e4c1b9427591f082e0 100644 (file)
@@ -13,6 +13,8 @@ include         /etc/ldap/schema/cosine.schema
 include         /etc/ldap/schema/nis.schema
 include         /etc/ldap/schema/ldapns.schema
 include         /etc/ldap/schema/inetorgperson.schema
+include         /etc/ldap/schema/qmail-reduced.schema
+include         /etc/ldap/schema/custom.schema
 
 # Where the pid file is put. The init.d script
 # will not stop the server if you change this.
@@ -61,6 +63,10 @@ dbconfig set_lk_max_lockers 1500
 
 # Indexing options for database #1
 index           objectClass eq
+index           cn eq
+index           uniqueMember,memberUid eq
+index           mail,mailAlternateAddress eq
+index           uid,uidNumber,gidNumber eq
 
 # Save the time that the entry gets modified, for database #1
 lastmod         on