2008-06-05 15:21:18 +02:00
|
|
|
# LSexample - Config
|
2008-02-12 18:59:44 +01:00
|
|
|
include /etc/ldap/schema/ls.schema
|
|
|
|
|
|
|
|
|
|
|
|
database bdb
|
|
|
|
suffix "o=ls"
|
|
|
|
|
|
|
|
# The database directory MUST exist prior to running slapd AND
|
|
|
|
# should only be accessible by the slapd and slap tools.
|
|
|
|
# Mode 700 recommended.
|
|
|
|
directory /var/lib/ldap/ls
|
|
|
|
|
|
|
|
# Indices to maintain
|
|
|
|
index objectClass eq
|
|
|
|
index uidNumber eq
|
|
|
|
index gidNumber eq
|
2008-06-05 15:21:18 +02:00
|
|
|
index lsallowedservices eq
|
2008-02-12 18:59:44 +01:00
|
|
|
index sambasid eq
|
|
|
|
index sambaDomainName eq
|
|
|
|
index memberUid eq
|
2009-01-25 18:55:48 +01:00
|
|
|
index givenname,cn,sn,mail,uid sub,eq,approx
|
2008-02-12 18:59:44 +01:00
|
|
|
|
|
|
|
# Save the time that the entry gets modified, for database #1
|
|
|
|
lastmod on
|
|
|
|
|
|
|
|
include /etc/ldap/permissions-ls.conf
|