Skip to content

Instantly share code, notes, and snippets.

@YorikSar
Created May 27, 2011 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YorikSar/995111 to your computer and use it in GitHub Desktop.
Save YorikSar/995111 to your computer and use it in GitHub Desktop.
AUTH_LDAP_SERVER_URI = "ldap://ldap.example.com"
AUTH_LDAP_USER_DN_TEMPLATE = "uid=%(user)s,ou=people,o=exampleorg,dc=example,dc=com"
AUTHENTICATION_BACKENDS = (
'django_auth_ldap.backend.LDAPBackend',
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment