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

ldap error #59

Closed minminmsn closed 5 years ago

minminmsn commented 5 years ago

Error while binding as search user: {'desc': 'Invalid credentials'}, server="ldap://10.2.150.11:389"

  proxy_set_header X-Ldap-URL      "ldap://10.2.150.11:389";
    proxy_set_header X-Ldap-BaseDN   "ou=People,dc=che,dc=org";
    proxy_set_header X-Ldap-BindDN   "cn=OPITUser,ou=OuterUser,dc=che,dc=org";
    proxy_set_header X-Ldap-BindPass "sercet";
    proxy_set_header X-Ldap-Template "(sAMAccountName=%(username)s)";