Documentation update.

This commit is contained in:
Antoine Nguyen
2011-08-24 17:47:56 +02:00
parent aabfa1a5e8
commit 34c2e4227a
3 changed files with 61 additions and 3 deletions
+11
View File
@@ -131,3 +131,14 @@ AUTHENTICATION_BACKENDS = (
#SESSION_COOKIE_AGE = 300
#CACHE_BACKEND = 'file://'
#
# External LDAP authentication (optional)
#
# import ldap
# from django_auth_ldap.config import LDAPSearch
# AUTH_LDAP_BIND_DN = ""
# AUTH_LDAP_BIND_PASSWORD = ""
# AUTH_LDAP_USER_SEARCH = LDAPSearch("ou=users,dc=example,dc=com",
# ldap.SCOPE_SUBTREE, "(uid=%(user)s)")