Created
February 3, 2015 19:53
-
-
Save shichao-an/d327006a9bed25fcfed4 to your computer and use it in GitHub Desktop.
Ubuntu and LDAP: force authentication during a bind request
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
# ldapadd -Y EXTERNAL -H ldapi:/// -f ldap_disable_bind_anon.ldif | |
dn: cn=config | |
changetype: modify | |
add: olcDisallows | |
olcDisallows: bind_anon | |
dn: cn=config | |
changetype: modify | |
add: olcRequires | |
olcRequires: authc | |
dn: olcDatabase={-1}frontend,cn=config | |
changetype: modify | |
add: olcRequires | |
olcRequires: authc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment