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
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