Created
July 4, 2018 14:07
-
-
Save DavidePrincipi/32b58bed46ec4403a632d2d45936e141 to your computer and use it in GitHub Desktop.
The default LDAP ACL for the front DB wasn't set correctly in a system upgraded from sme8-ns6-ns7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dn: olcDatabase={-1}frontend,cn=config | |
changetype: modify | |
replace: olcAccess | |
olcAccess: {0}to attrs=userPassword by | |
dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage by | |
dn.exact="cn=libuser,dc=directory,dc=nh" peername.ip="127.0.0.1" write by self | |
write by * peername.ip="127.0.0.1" auth by * ssf=71 auth by * none | |
olcAccess: {1}to * by | |
dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage by | |
dn.exact="cn=libuser,dc=directory,dc=nh" peername.ip="127.0.0.1" write by * | |
read |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This ACL could be added to https://github.com/NethServer/nethserver-directory/blob/e9bfb1651e81907984aa048f7093e1ab593850aa/root/etc/e-smith/events/actions/nethserver-directory-restore-ldap#L87