X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;ds=sidebyside;f=etc%2Fldap%2Fslapd.conf;h=6c55689d29164409946274e4c1b9427591f082e0;hb=5549e84a2a6ddaf6f0a9d70db2584ece9a53420c;hp=53fd07bdee80d720e4dd9d5c78e87f2b7a84270c;hpb=01d7db4e6e94e8452e5a9dbbbb966dcbb333a51a;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/ldap/slapd.conf b/etc/ldap/slapd.conf index 53fd07b..6c55689 100644 --- 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/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. @@ -41,7 +44,7 @@ database bdb suffix "dc=drsnuggles,dc=stderr,dc=nl" # Where the database file are physically stored for database #1 -directory "/var/lib/ldap" +directory "/data/db/ldap" # 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 +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