nginxinc / nginx-ldap-auth

Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
678 stars 202 forks source link

Stopped working with Actve Directory #88

Open alexeyostrovsky-rabove opened 2 years ago

alexeyostrovsky-rabove commented 2 years ago

Recently that module stopped working And bind stage with user DN/pass start failing with error

192.168.0.1 - USER [18/Aug/2021 16:41:58] "GET / HTTP/1.1" 401 - 192.168.0.1 - - [18/Aug/2021 16:43:17] using username/password from authorization header 192.168.0.1 - USER [18/Aug/2021 16:43:17] searching on server "ldap://10.50.0.12" with base dn "***" with filter "(sAMAccountName=USER)" 192.168.0.1 - USER [18/Aug/2021 16:43:17] Error while running search query: {'info': u'000004DC: LdapErr: DSID-0C09075A, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v1db1', 'msgid': 2, 'msgtype': 100, 'result': 1, 'desc': u'Operations error', 'ctrls': []}, server="ldap://10.50.0.12", login="USER"

jphustman commented 2 years ago

Are you still having issues? I'm authenticating against Active Directory fine.