ldap_server: Allow everyone to read root object

This commit is contained in:
Timo Makinen 2025-02-02 15:21:59 +00:00
parent b3ebfa71e7
commit 1ae9d88346

View file

@ -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