开发者

Django Ldap Connection Setup

开发者 https://www.devze.com 2023-03-06 01:52 出处:网络
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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消