I am trying to setup a LDAP connection in Django. Does anyone have any sample code? I need to know what information I need to p开发者_如何转开发lace inside of the settings.py
.
I keep getting the following error message:
AUTH_LDAP_USER_SEARCH must be an LDAPSearch instance.
Are you using a specific backend?
Assuming you are using django-auth-ldap
the docs are quite detailed.
精彩评论