]> Git — Sourcephile - sourcephile-nix.git/blob - install/logical/friot/sldapd/olcDatabase={1}mdb,cn=config.ldif
postfix: fix LDAP SASL
[sourcephile-nix.git] / install / logical / friot / sldapd / olcDatabase={1}mdb,cn=config.ldif
1 # ldapsearch -LLL -D cn=admin,cn=config -Y EXTERNAL -b 'olcDatabase={1}mdb,cn=config' -s sub
2 dn: olcDatabase={1}mdb,cn=config
3 olcDatabase: {1}mdb
4 objectClass: olcDatabaseConfig
5 objectClass: olcMdbConfig
6 # Checkpoint the database periodically in case of system
7 # failure and to speed slapd shutdown.
8 olcDbCheckpoint: 512 30
9 # Database max size is 1G
10 olcDbMaxSize: 1073741824
11 olcLastMod: TRUE
12 olcSuffix: dc=commonsoft
13 olcDbDirectory: /var/lib/ldap
14 # Database superuser. Needed for syncrepl.
15 olcRootDN: cn=admin,dc=commonsoft
16 # superuser password, generated with slappasswd -s SECRET
17 #olcRootPW: e1NTSEF9dXRrNkF0NjZZc29RNWVCcGpwMmZUUW1NWGNwemVwTFg=
18 olcDbIndex: objectClass eq
19 olcDbIndex: cn,uid eq
20 olcDbIndex: uidNumber,gidNumber eq
21 olcDbIndex: member,memberUid eq
22 olcAccess: to attrs=userPassword
23 by self write
24 by anonymous auth
25 by * none
26 olcAccess: to attrs=shadowLastChange
27 by self write
28 by * read
29 olcAccess: to dn.sub="dc=commonsoft"
30 by dn="gidNumber=154+uidNumber=146,cn=peercred,cn=external,cn=auth" read
31 by dn="gidNumber=1000+uidNumber=1000,cn=peercred,cn=external,cn=auth" read
32 olcAccess: to *
33 by self read
34 by * none