3 ### needed for initial content load ###
6 ### Multimaster-ServerIDs and URLs ###
8 ${MMR_SERVERIDS_CONFIG}
10 include ${LDAPDIR}/backend-schema.schema
12 pidfile ${LDAPDIR}/slapd.pid
13 argsfile ${LDAPDIR}/slapd.args
14 sasl-realm ${DNSDOMAIN}
17 # uid=([^,]*),cn=${DNSDOMAIN},cn=digest-md5,cn=auth
18 # ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
21 # uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
22 # ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
25 uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
26 ldap:///cn=samba??one?(cn=\$1)
29 uid=([^,]*),cn=([^,]*),cn=ntlm,cn=auth
30 ldap:///cn=samba??one?(cn=\$1)
33 by dn=cn=samba-admin,cn=samba manage
37 access to dn.subtree="cn=samba"
40 access to dn.subtree="${DOMAINDN}"
41 by dn=cn=samba-admin,cn=samba manage${REPLICATOR_ACL}
42 by dn=cn=manager manage
45 password-hash {CLEARTEXT}
47 include ${LDAPDIR}/modules.conf
49 defaultsearchbase ${DOMAINDN}
61 directory ${LDAPDIR}/db/samba
62 rootdn cn=Manager,cn=Samba
64 ########################################
65 ## olc - configuration ###
67 ${OLC_SYNCREPL_CONFIG}
71 ########################################
75 rootdn cn=Manager,${SCHEMADN}
76 directory ${LDAPDIR}/db/schema
78 index samAccountName eq
80 index objectCategory eq
81 index lDAPDisplayName eq
84 index entryUUID,entryCSN eq
86 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
87 #We need this for the contextCSN attribute and mmr.
89 syncprov-sessionlog 100
90 syncprov-checkpoint 100 10
93 ### Multimaster-Replication of cn=schema Subcontext ###
94 ${MMR_SYNCREPL_SCHEMA_CONFIG}
97 #########################################
101 rootdn cn=Manager,${CONFIGDN}
102 directory ${LDAPDIR}/db/config
104 index samAccountName eq
107 index objectCategory eq
113 index entryUUID,entryCSN eq
115 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
116 #We need this for the contextCSN attribute and mmr.
118 syncprov-sessionlog 100
119 syncprov-checkpoint 100 10
121 ### Multimaster-Replication of cn=config Subcontext ###
122 ${MMR_SYNCREPL_CONFIG_CONFIG}
125 ########################################
126 ### cn=users /base-dn ###
129 rootdn cn=Manager,${DOMAINDN}
130 directory ${LDAPDIR}/db/user
132 index samAccountName eq
135 index objectCategory eq
140 index lDAPDisplayName eq
145 index entryUUID,entryCSN eq
147 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
148 #We need this for the contextCSN attribute and mmr.
150 syncprov-sessionlog 100
151 syncprov-checkpoint 100 10
153 ### Multimaster-Replication of cn=user/base-dn context ###
154 ${MMR_SYNCREPL_USER_CONFIG}