slapd: Add indexes for cn and gidNumber.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Jul 2009 13:03:57 +0000 (15:03 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Jul 2009 13:03:57 +0000 (15:03 +0200)
etc/ldap/slapd.conf

index 1e673928efbdfa8f2fae6399b6edf9977d5d5cd0..6c55689d29164409946274e4c1b9427591f082e0 100644 (file)
@@ -63,9 +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 eq
+index           uid,uidNumber,gidNumber eq
 
 # Save the time that the entry gets modified, for database #1
 lastmod         on