Move our sample schema/data into a tests/server, we'll use osixia/openldap for the demo/testing
This commit is contained in:
9
tests/server/openldap/schema/02-security
Normal file
9
tests/server/openldap/schema/02-security
Normal file
@@ -0,0 +1,9 @@
|
||||
# At the moment we want to override osixia/ldap to enable anonymous reads
|
||||
dn: olcDatabase={1}{{ LDAP_BACKEND }},cn=config
|
||||
changetype: modify
|
||||
delete: olcAccess
|
||||
-
|
||||
add: olcAccess
|
||||
olcAccess: to * by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth manage by * break
|
||||
olcAccess: to attrs=userPassword,shadowLastChange by self write by dn="cn=admin,{{ LDAP_BASE_DN }}" write by anonymous auth by * none
|
||||
olcAccess: to * by self read by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * read
|
Reference in New Issue
Block a user