1 | # |
---|
2 | # Syn-3 LDAP configuration for standalone mode (single master) |
---|
3 | |
---|
4 | #Automaticly created on ldap-restart: |
---|
5 | include /etc/openldap/schemas.conf |
---|
6 | |
---|
7 | # Define global ACLs to disable default read access. |
---|
8 | |
---|
9 | # Do not enable referrals until AFTER you have a working directory |
---|
10 | # service AND an understanding of referrals. |
---|
11 | #referral ldap://root.openldap.org |
---|
12 | |
---|
13 | #only error logging |
---|
14 | loglevel none |
---|
15 | sizelimit unlimited |
---|
16 | |
---|
17 | |
---|
18 | ####################################################################### |
---|
19 | # BDB database definitions |
---|
20 | ####################################################################### |
---|
21 | |
---|
22 | database bdb |
---|
23 | cachesize 1000 |
---|
24 | idlcachesize 1000 |
---|
25 | dncachesize 1000 |
---|
26 | |
---|
27 | monitoring off |
---|
28 | suffix "dc=syn-3" |
---|
29 | rootdn "cn=Manager,dc=syn-3" |
---|
30 | rootpw %ldap_passwd% |
---|
31 | |
---|
32 | # The database directory MUST exist prior to running slapd AND |
---|
33 | # should only be accessible by the slapd and slap tools. |
---|
34 | # Mode 700 recommended. |
---|
35 | directory /home/system/openldap/openldap-master |
---|
36 | # Indices to maintain |
---|
37 | index sambaSID eq |
---|
38 | index sambaPrimaryGroupSID eq |
---|
39 | index sambaDomainName eq |
---|
40 | index objectClass,uid,uidNumber,gidNumber,memberUid eq |
---|
41 | index cn,mail,surname,givenname eq,subinitial |
---|
42 | index entryCSN,entryUUID eq |
---|
43 | index sambaSIDList eq |
---|
44 | index sambaGroupType eq |
---|
45 | index alias eq |
---|
46 | index ou eq |
---|
47 | index dc eq |
---|
48 | index zarafaAliases eq |
---|
49 | |
---|
50 | |
---|
51 | #gebruikers kunnen zich authentificeren en hun paswoord verranderen en hun mail attribute setten |
---|
52 | access to attrs=userPassword,sambaNTPassword,sambaLMPassword |
---|
53 | by self write |
---|
54 | by anonymous auth |
---|
55 | by * none |
---|
56 | |
---|
57 | #openxchange addressbook |
---|
58 | access to dn.regex="ou=addr,uid=(.*),ou=Users,dc=syn-3" |
---|
59 | by dn.regex="uid=$1,ou=Users,dc=syn-3" write |
---|
60 | by * none break |
---|
61 | |
---|
62 | access to dn.subtree="o=AddressBook,dc=syn-3" |
---|
63 | by group="cn=AddressAdmins,o=AddressBook,dc=syn-3" write |
---|
64 | by users read |
---|
65 | by * none |
---|
66 | |
---|
67 | access to dn.subtree="ou=Users,dc=syn-3" by self write |
---|
68 | by * read |
---|
69 | |
---|
70 | access to * |
---|
71 | by * read |
---|