ldap_server: Allow everyone to read root object
This commit is contained in:
parent
b3ebfa71e7
commit
1ae9d88346
1 changed files with 4 additions and 0 deletions
|
@ -139,6 +139,10 @@ authz-regexp
|
|||
"uid=([^.]\+),cn=login,cn=auth"
|
||||
"ldap:///{{ ldap_basedn }}??sub?(&(uid=$1)(objectClass=posixAccount))"
|
||||
|
||||
# allow everyone to read root object
|
||||
access to dn.base={{ ldap_basedn }}
|
||||
by * read
|
||||
|
||||
# require authentication for authenticated users that don't match above
|
||||
access to *
|
||||
by dn.children="cn=peercred,cn=external,cn=auth" auth
|
||||
|
|
Loading…
Add table
Reference in a new issue