~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source4/setup/slapd.conf

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
loglevel 0
 
2
 
 
3
### needed for initial content load ###
 
4
sizelimit unlimited
 
5
 
 
6
### Multimaster-ServerIDs and URLs ###
 
7
 
 
8
${MMR_SERVERIDS_CONFIG}
 
9
 
 
10
include ${LDAPDIR}/backend-schema.schema
 
11
 
 
12
pidfile         ${LDAPDIR}/slapd.pid
 
13
argsfile        ${LDAPDIR}/slapd.args
 
14
sasl-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
 
 
24
authz-regexp
 
25
          uid=([^,]*),cn=([^,]*),cn=digest-md5,cn=auth
 
26
          ldap:///cn=samba??one?(cn=\$1)
 
27
 
 
28
authz-regexp
 
29
          uid=([^,]*),cn=([^,]*),cn=ntlm,cn=auth
 
30
          ldap:///cn=samba??one?(cn=\$1)
 
31
 
 
32
access to dn.base="" 
 
33
       by dn=cn=samba-admin,cn=samba manage
 
34
       by anonymous read
 
35
       by * read
 
36
 
 
37
access to dn.subtree="cn=samba"
 
38
       by anonymous auth
 
39
 
 
40
access 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
 
 
45
password-hash   {CLEARTEXT}
 
46
 
 
47
include ${LDAPDIR}/modules.conf
 
48
 
 
49
defaultsearchbase ${DOMAINDN}
 
50
 
 
51
rootdn cn=Manager
 
52
 
 
53
overlay deref
 
54
 
 
55
${REFINT_CONFIG}
 
56
 
 
57
${MEMBEROF_CONFIG}
 
58
 
 
59
database        ldif
 
60
suffix          cn=Samba
 
61
directory       ${LDAPDIR}/db/samba
 
62
rootdn          cn=Manager,cn=Samba
 
63
 
 
64
########################################
 
65
## olc - configuration ###
 
66
${OLC_CONFIG_PASS}
 
67
${OLC_SYNCREPL_CONFIG}
 
68
${OLC_MMR_CONFIG}
 
69
${OLC_CONFIG_ACL}
 
70
 
 
71
########################################
 
72
### cn=schema ###
 
73
database        hdb
 
74
suffix          ${SCHEMADN}
 
75
rootdn          cn=Manager,${SCHEMADN}
 
76
directory       ${LDAPDIR}/db/schema
 
77
index           objectClass eq
 
78
index           samAccountName eq
 
79
index name eq
 
80
index objectCategory eq
 
81
index lDAPDisplayName eq
 
82
index subClassOf eq
 
83
index cn eq
 
84
index entryUUID,entryCSN eq
 
85
 
 
86
#syncprov is stable in OpenLDAP 2.3, and available in 2.2.  
 
87
#We need this for the contextCSN attribute and mmr.
 
88
overlay syncprov
 
89
syncprov-sessionlog 100
 
90
syncprov-checkpoint 100 10
 
91
 
 
92
 
 
93
### Multimaster-Replication of cn=schema Subcontext ###
 
94
${MMR_SYNCREPL_SCHEMA_CONFIG}
 
95
${MIRRORMODE}
 
96
 
 
97
#########################################
 
98
### cn=config ###
 
99
database        hdb
 
100
suffix          ${CONFIGDN}
 
101
rootdn          cn=Manager,${CONFIGDN}
 
102
directory       ${LDAPDIR}/db/config
 
103
index           objectClass eq
 
104
index           samAccountName eq
 
105
index name eq
 
106
index objectSid eq
 
107
index objectCategory eq
 
108
index nCName eq
 
109
index subClassOf eq
 
110
index dnsRoot eq
 
111
index nETBIOSName eq
 
112
index cn eq
 
113
index entryUUID,entryCSN eq
 
114
 
 
115
#syncprov is stable in OpenLDAP 2.3, and available in 2.2.  
 
116
#We need this for the contextCSN attribute and mmr.
 
117
overlay syncprov
 
118
syncprov-sessionlog 100
 
119
syncprov-checkpoint 100 10
 
120
 
 
121
### Multimaster-Replication of cn=config Subcontext ###
 
122
${MMR_SYNCREPL_CONFIG_CONFIG}
 
123
${MIRRORMODE}
 
124
 
 
125
########################################
 
126
### cn=users /base-dn  ###
 
127
database        hdb
 
128
suffix          ${DOMAINDN}
 
129
rootdn          cn=Manager,${DOMAINDN}
 
130
directory       ${LDAPDIR}/db/user
 
131
index           objectClass eq
 
132
index           samAccountName eq
 
133
index name eq
 
134
index objectSid eq
 
135
index objectCategory eq
 
136
index member eq
 
137
index uidNumber eq
 
138
index gidNumber eq
 
139
index nCName eq
 
140
index lDAPDisplayName eq
 
141
index subClassOf eq
 
142
index dnsRoot eq
 
143
index nETBIOSName eq
 
144
index cn eq
 
145
index entryUUID,entryCSN eq
 
146
 
 
147
#syncprov is stable in OpenLDAP 2.3, and available in 2.2.  
 
148
#We need this for the contextCSN attribute and mmr.
 
149
overlay syncprov
 
150
syncprov-sessionlog 100
 
151
syncprov-checkpoint 100 10
 
152
 
 
153
### Multimaster-Replication of cn=user/base-dn context ###
 
154
${MMR_SYNCREPL_USER_CONFIG}
 
155
${MIRRORMODE}