projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
slapd: Add indexes for cn and gidNumber.
[matthijs/servers/drsnuggles.git]
/
etc
/
ldap
/
slapd.conf
diff --git
a/etc/ldap/slapd.conf
b/etc/ldap/slapd.conf
index 53fd07bdee80d720e4dd9d5c78e87f2b7a84270c..6c55689d29164409946274e4c1b9427591f082e0 100644
(file)
--- a/
etc/ldap/slapd.conf
+++ b/
etc/ldap/slapd.conf
@@
-11,7
+11,10
@@
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
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/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.
# Where the pid file is put. The init.d script
# will not stop the server if you change this.
@@
-41,7
+44,7
@@
database bdb
suffix "dc=drsnuggles,dc=stderr,dc=nl"
# Where the database file are physically stored for database #1
suffix "dc=drsnuggles,dc=stderr,dc=nl"
# Where the database file are physically stored for database #1
-directory "/
var/li
b/ldap"
+directory "/
data/d
b/ldap"
# For the Debian package we use 2MB as default but be sure to update this
# value if you have plenty of RAM
# For the Debian package we use 2MB as default but be sure to update this
# value if you have plenty of RAM
@@
-60,6
+63,10
@@
dbconfig set_lk_max_lockers 1500
# Indexing options for database #1
index objectClass eq
# 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
# Save the time that the entry gets modified, for database #1
lastmod on