33 lines
783 B
Plaintext
33 lines
783 B
Plaintext
add olcDatabase={2}mdb,cn=config
|
|
objectClass: olcDatabaseConfig
|
|
objectClass: olcMdbConfig
|
|
olcSuffix: o=meta
|
|
olcDbDirectory: /var/lib/ldap/meta/
|
|
# Allow authentication of readers accounts
|
|
olcAccess: {0}to dn.one="ou=readers,o=meta"
|
|
by anonymous auth
|
|
by * break
|
|
# Allow reading meta by readers accounts
|
|
olcAccess: {1}to *
|
|
by dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" write
|
|
by dn.one="ou=readers,o=meta" read
|
|
by * none
|
|
olcLimits: {0}* size.pr=1000 size.prtotal=unlimited
|
|
|
|
add o=meta
|
|
objectClass: organization
|
|
o: meta
|
|
description: Méta-annuaire SUPANN
|
|
|
|
add ou=readers,o=meta
|
|
objectClass: organizationalUnit
|
|
ou: readers
|
|
|
|
add uid=reader,ou=readers,o=meta
|
|
objectClass: inetOrgPerson
|
|
uid: reader
|
|
userPassword: reader
|
|
gn: reader
|
|
sn: reader
|
|
cn: reader
|