Skip to content

Instantly share code, notes, and snippets.

@DavidePrincipi
Created July 4, 2018 14:07
Show Gist options
  • Save DavidePrincipi/32b58bed46ec4403a632d2d45936e141 to your computer and use it in GitHub Desktop.
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
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