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 gidNumber=.*\\\+uidNumber=${ADMIN_UID},cn=peercred,cn=external,cn=auth
34 cn=samba-admin,cn=samba
37 by dn=cn=samba-admin,cn=samba manage
41 access to dn.subtree="cn=samba"
44 access to dn.subtree="${DOMAINDN}"
45 by dn=cn=samba-admin,cn=samba manage${REPLICATOR_ACL}
46 by dn=cn=manager manage
49 password-hash {CLEARTEXT}
51 defaultsearchbase ${DOMAINDN}
70 directory ${LDAPDIR}/db/samba
71 rootdn cn=Manager,cn=Samba
73 ########################################
74 ## olc - configuration ###
78 ${OLC_SYNCREPL_CONFIG}
81 access to dn.sub="cn=config"
82 by dn="cn=samba-admin,cn=samba" write
83 by dn="cn=replicator,cn=samba" read
86 ########################################
90 rootdn cn=Manager,${SCHEMADN}
91 directory ${LDAPDIR}/db/schema
96 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
97 #We need this for the contextCSN attribute and mmr.
99 syncprov-sessionlog 100
100 syncprov-checkpoint 100 10
104 ### Multimaster-Replication of cn=schema Subcontext ###
105 ${MMR_SYNCREPL_SCHEMA_CONFIG}
108 #########################################
112 rootdn cn=Manager,${CONFIGDN}
113 directory ${LDAPDIR}/db/config
118 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
119 #We need this for the contextCSN attribute and mmr.
121 syncprov-sessionlog 100
122 syncprov-checkpoint 100 10
126 ### Multimaster-Replication of cn=config Subcontext ###
127 ${MMR_SYNCREPL_CONFIG_CONFIG}
130 ########################################
133 suffix dc=domaindnszones,${DOMAINDN}
134 rootdn cn=Manager,${DOMAINDN}
135 directory ${LDAPDIR}/db/domaindns
140 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
141 #We need this for the contextCSN attribute and mmr.
143 syncprov-sessionlog 100
144 syncprov-checkpoint 100 10
148 ### Multimaster-Replication of domainDNS context ###
149 ${MMR_SYNCREPL_DOMAINDNS_CONFIG}
152 ########################################
155 suffix dc=forestdnszones,${DOMAINDN}
156 rootdn cn=Manager,${DOMAINDN}
157 directory ${LDAPDIR}/db/forestdns
162 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
163 #We need this for the contextCSN attribute and mmr.
165 syncprov-sessionlog 100
166 syncprov-checkpoint 100 10
170 ### Multimaster-Replication of forestDNS context ###
171 ${MMR_SYNCREPL_FORESTDNS_CONFIG}
174 ########################################
175 ### cn=users /base-dn ###
178 rootdn cn=Manager,${DOMAINDN}
179 directory ${LDAPDIR}/db/user
184 #syncprov is stable in OpenLDAP 2.3, and available in 2.2.
185 #We need this for the contextCSN attribute and mmr.
187 syncprov-sessionlog 100
188 syncprov-checkpoint 100 10
192 ### Multimaster-Replication of cn=user/base-dn context ###
193 ${MMR_SYNCREPL_USER_CONFIG}