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
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
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
20 olcDbIndex: uidNumber,gidNumber eq
21 olcDbIndex: member,memberUid eq
22 olcAccess: to attrs=userPassword
26 olcAccess: to attrs=shadowLastChange
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