etianen / django-python3-ldap

Django LDAP user authentication backend for Python 3.
BSD 3-Clause "New" or "Revised" License
411 stars 120 forks source link

ad域同步数据报错, #232

Open caomeinana opened 2 years ago

caomeinana commented 2 years ago

LDAP bind failed: LDAPOperationsErrorResult - 1 - operationsError - None - 000004DC: LdapErr: DSID-0C090A22, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v3839 - searchResDone - None

nickshmalik commented 2 years ago

hi, correct settings in settings.py LDAP_AUTH_CONNECTION_USERNAME = "user" LDAP_AUTH_CONNECTION_PASSWORD = "password"