Skip to content

Instantly share code, notes, and snippets.

@francescm
Created July 10, 2013 09:43
Show Gist options
  • Save francescm/5964944 to your computer and use it in GitHub Desktop.
Save francescm/5964944 to your computer and use it in GitHub Desktop.
acl to force TLS on authentication only
dn: olcDatabase={1}hdb,cn=config
changetype: modify
delete: olcAccess
olcAccess: {1}to attrs=userPassword,shadowLastChange by self write by anonymou
s auth by dn="cn=admin,dc=example,dc=org" write by * none
-
add: olcAccess
olcAccess: {1}to attrs=userPassword,shadowLastChange by ssf=128 break by pee
rname.ip="127.0.0.1" break by * none
olcAccess: {2}to attrs=userPassword,shadowLastChange by self write by anonymou
s auth by dn="cn=admin,dc=example,dc=org" write by * none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment