-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
401 unauthorized #99
Comments
Can you share the log output please? It should print the result of your LDAP Query. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. If i use ldapsearch all requests are successful. But
curl --location --request GET 'http://localhost:8888' --header 'X-Ldap-URL: ldap://test.local:389' --header 'X-Ldap-BaseDN: DC=test,DC=local' --header 'X-Ldap-BindDN: nginx_ldap' --header 'X-Ldap-BindPass: ' --header 'X-Ldap-Template: (sAMAccountName=%(username)s)' -vv -u nginx_ldap:
returned 401 aunauthorized
< HTTP/1.0 401 Unauthorized
< Server: BaseHTTP/0.3 Python/2.7.18
< Date: Tue, 05 Jul 2022 14:58:49 GMT
< WWW-Authenticate: Basic realm="Restricted"
< Cache-Control: no-cache
<
Can somebody help please?
The text was updated successfully, but these errors were encountered: