2007-05-29 05:20:47 +04:00
loglevel 0
include ${LDAPDIR}/backend-schema.schema
pidfile ${LDAPDIR}/slapd.pid
argsfile ${LDAPDIR}/slapd.args
sasl-realm ${DNSDOMAIN}
access to * by * write
allow update_anon
authz-regexp
uid=([^,]*),cn=${DNSDOMAIN},cn=digest-md5,cn=auth
ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
authz-regexp
uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
2007-05-29 16:18:41 +04:00
include ${LDAPDIR}/modules.conf
2007-05-29 05:20:47 +04:00
2007-05-29 16:18:41 +04:00
defaultsearchbase ${DOMAINDN}
2007-05-29 05:20:47 +04:00
2008-01-01 13:01:07 +03:00
include ${LDAPDIR}/memberof.conf
2007-12-13 11:46:41 +03:00
database hdb
2007-05-29 16:18:41 +04:00
suffix ${SCHEMADN}
2007-05-29 05:20:47 +04:00
directory ${LDAPDIR}/db/schema
index objectClass eq
index samAccountName eq
index name eq
index objectCategory eq
index lDAPDisplayName eq
index subClassOf eq
2007-12-27 13:18:54 +03:00
index cn eq
2007-05-29 05:20:47 +04:00
2007-10-02 01:07:07 +04:00
database hdb
2007-05-29 16:18:41 +04:00
suffix ${CONFIGDN}
2007-05-29 05:20:47 +04:00
directory ${LDAPDIR}/db/config
index objectClass eq
index samAccountName eq
index name eq
index objectSid eq
index objectCategory eq
2007-12-05 06:26:28 +03:00
index nCName eq
2007-05-29 05:20:47 +04:00
index subClassOf eq
index dnsRoot eq
2007-12-05 06:26:28 +03:00
index nETBIOSName eq
2007-12-27 13:18:54 +03:00
index cn eq
2007-05-29 05:20:47 +04:00
2007-10-02 01:07:07 +04:00
database hdb
2007-05-29 16:18:41 +04:00
suffix ${DOMAINDN}
2007-07-05 06:52:58 +04:00
rootdn ${LDAPMANAGERDN}
rootpw ${LDAPMANAGERPASS}
2007-05-29 05:20:47 +04:00
directory ${LDAPDIR}/db/user
index objectClass eq
index samAccountName eq
index name eq
index objectSid eq
index objectCategory eq
index member eq
index uidNumber eq
index gidNumber eq
index unixName eq
index privilege eq
2007-12-05 06:26:28 +03:00
index nCName eq
2007-05-29 05:20:47 +04:00
index lDAPDisplayName eq
index subClassOf eq
index dnsRoot eq
2007-12-05 06:26:28 +03:00
index nETBIOSName eq
2007-12-27 13:18:54 +03:00
index cn eq
2007-05-29 05:20:47 +04:00
#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
#We only need this for the contextCSN attribute anyway....
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100