source: trunk/server/source4/setup/slapd.conf@ 689

Last change on this file since 689 was 414, checked in by Herwig Bauernfeind, 16 years ago

Samba 3.5.0: Initial import

File size: 2.9 KB
Line 
1loglevel 0
2
3### needed for initial content load ###
4sizelimit unlimited
5
6### Multimaster-ServerIDs and URLs ###
7
8${MMR_SERVERIDS_CONFIG}
9
10include ${LDAPDIR}/backend-schema.schema
11
12pidfile ${LDAPDIR}/slapd.pid
13argsfile ${LDAPDIR}/slapd.args
14sasl-realm ${DNSDOMAIN}
15
16#authz-regexp
17# uid=([^,]*),cn=${DNSDOMAIN},cn=digest-md5,cn=auth
18# ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
19
20#authz-regexp
21# uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
22# ldap:///${DOMAINDN}??sub?(samAccountName=\$1)
23
24authz-regexp
25 uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
26 ldap:///cn=samba??one?(cn=\$1)
27
28authz-regexp
29 uid=([^,]*),cn=([^,]*),cn=ntlm,cn=auth
30 ldap:///cn=samba??one?(cn=\$1)
31
32access to dn.base=""
33 by dn=cn=samba-admin,cn=samba manage
34 by anonymous read
35 by * read
36
37access to dn.subtree="cn=samba"
38 by anonymous auth
39
40access to dn.subtree="${DOMAINDN}"
41 by dn=cn=samba-admin,cn=samba manage${REPLICATOR_ACL}
42 by dn=cn=manager manage
43 by * none
44
45password-hash {CLEARTEXT}
46
47defaultsearchbase ${DOMAINDN}
48
49rootdn cn=Manager
50
51overlay deref
52
53${REFINT_CONFIG}
54
55${MEMBEROF_CONFIG}
56
57database ldif
58suffix cn=Samba
59directory ${LDAPDIR}/db/samba
60rootdn cn=Manager,cn=Samba
61
62########################################
63## olc - configuration ###
64database config
65rootdn cn=config
66
67${OLC_SYNCREPL_CONFIG}
68${OLC_MMR_CONFIG}
69
70access to dn.sub="cn=config"
71 by dn="cn=samba-admin,cn=samba" write
72 by dn="cn=replicator,cn=samba" read
73
74
75########################################
76### cn=schema ###
77database hdb
78suffix ${SCHEMADN}
79rootdn cn=Manager,${SCHEMADN}
80directory ${LDAPDIR}/db/schema
81${NOSYNC}
82${INDEX_CONFIG}
83
84#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
85#We need this for the contextCSN attribute and mmr.
86overlay syncprov
87syncprov-sessionlog 100
88syncprov-checkpoint 100 10
89
90
91### Multimaster-Replication of cn=schema Subcontext ###
92${MMR_SYNCREPL_SCHEMA_CONFIG}
93${MIRRORMODE}
94
95#########################################
96### cn=config ###
97database hdb
98suffix ${CONFIGDN}
99rootdn cn=Manager,${CONFIGDN}
100directory ${LDAPDIR}/db/config
101${NOSYNC}
102${INDEX_CONFIG}
103
104#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
105#We need this for the contextCSN attribute and mmr.
106overlay syncprov
107syncprov-sessionlog 100
108syncprov-checkpoint 100 10
109
110### Multimaster-Replication of cn=config Subcontext ###
111${MMR_SYNCREPL_CONFIG_CONFIG}
112${MIRRORMODE}
113
114########################################
115### cn=users /base-dn ###
116database hdb
117suffix ${DOMAINDN}
118rootdn cn=Manager,${DOMAINDN}
119directory ${LDAPDIR}/db/user
120${NOSYNC}
121${INDEX_CONFIG}
122
123#syncprov is stable in OpenLDAP 2.3, and available in 2.2.
124#We need this for the contextCSN attribute and mmr.
125overlay syncprov
126syncprov-sessionlog 100
127syncprov-checkpoint 100 10
128
129### Multimaster-Replication of cn=user/base-dn context ###
130${MMR_SYNCREPL_USER_CONFIG}
131${MIRRORMODE}
Note: See TracBrowser for help on using the repository browser.