source: npl/commonservers/openldap_conf/root/etc/openldap/slapd.conf.master.new @ 128fde4

gcc484perl-5.22
Last change on this file since 128fde4 was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#
2# Syn-3 LDAP configuration for standalone mode (single master)
3
4#Automaticly created on ldap-restart:
5include         /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
14loglevel none
15sizelimit unlimited
16
17
18#######################################################################
19# BDB database definitions
20#######################################################################
21
22database        bdb
23cachesize 1000
24idlcachesize 1000
25dncachesize 1000
26
27monitoring off
28suffix          "dc=syn-3"
29rootdn          "cn=Manager,dc=syn-3"
30rootpw  %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.
35directory       /home/system/openldap/openldap-master
36# Indices to maintain
37index   sambaSID        eq
38index   sambaPrimaryGroupSID    eq
39index   sambaDomainName eq
40index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
41index   cn,mail,surname,givenname       eq,subinitial
42index   entryCSN,entryUUID      eq
43index   sambaSIDList     eq
44index   sambaGroupType     eq
45index   alias     eq
46index   ou     eq
47index   dc     eq
48index zarafaAliases eq
49
50
51#gebruikers kunnen zich authentificeren en hun paswoord verranderen en hun mail attribute setten
52access to attrs=userPassword,sambaNTPassword,sambaLMPassword
53    by self write
54    by anonymous auth
55    by * none
56
57#openxchange addressbook
58access 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
62access 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
67access to dn.subtree="ou=Users,dc=syn-3" by self write
68    by * read
69
70access to *
71    by * read
Note: See TracBrowser for help on using the repository browser.