Demo environment reconfigure.

It is now possible to login with admin@test/password and update entries in dc=example.com
This commit is contained in:
Deon George 2023-03-31 15:57:12 +11:00
parent c36383b0fc
commit dcb0269fc5
4 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# LDIF Export for o=Test
# LDIF Export for dc=Test
#version: 1

View File

@ -5,5 +5,5 @@ 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 attrs=userPassword,shadowLastChange by self read by dn="cn=admin,{{ LDAP_BASE_DN }}" write by anonymous read by * read
olcAccess: to * by self read by dn="cn=admin,{{ LDAP_BASE_DN }}" write by * read

View File

@ -6,6 +6,6 @@ olcLastMod: TRUE
olcMonitoring: TRUE
olcSuffix: dc=example.com
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
olcAccess: to * by dn="cn=admin,dc=example.com" write by dn="cn=admin,dc=Test" write by * read
olcAccess: to * by dn="cn=AdminUser,dc=Test" write by anonymous write by * write
olcRootDN: cn=admin,dc=example.com
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq

View File

@ -6,6 +6,8 @@ olcLastMod: TRUE
olcMonitoring: TRUE
olcSuffix: o=Simpsons
olcAccess: to dn.base="" by dn="cn=admin,dc=Test" write by * read
#olcAccess: to attrs=userPassword,shadowLastChange by dn="cn=admin,dc=Test" write by anonymous auth by self =xw by * none
olcAccess: to attrs=userPassword,shadowLastChange by dn="cn=admin,dc=Test" write by anonymous auth by self write by * none
olcAccess: to * by dn="cn=admin,o=Simpsons" write by dn="cn=admin,dc=Test" write by * read
olcRootDN: cn=admin,o=Simpsons
olcRootPW: {SSHA}e8xGdXmL+mSD3u/389YHeM+dpqFCUSyq