slapd: Add indexes for host and mailHost.
[matthijs/servers/drsnuggles.git] / etc / ldap / slapd.conf
index a2a4955695875e8372ffe434aabad43321e5b5ab..34fbcf1f8028655743c493253ab4c55f7adf04f6 100644 (file)
 include         /etc/ldap/schema/core.schema
 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.
@@ -60,6 +63,11 @@ 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
+index          mailHost,host eq
 
 # Save the time that the entry gets modified, for database #1
 lastmod         on