Example of LDAP authentication using ngx_http_auth_request_module
BSD 2-Clause "Simplified" License
681
stars
202
forks
source link
LDAP connection always has user/password pair. For the anonymous access, use 'anonymous' login with empty password, if your server is configured to allow it. #53
There is no "anonymous user." The LDAP server supports anonymous bind, which means you don't bind as a user. Most software allows you to supply empty strings for DN and password to do this.
https://ldap.com/the-ldap-bind-operation/
I am only providing this :
url ldap://nsp-openldap-local:389;
binddn ou=people,dc=odc,dc=im;
binddn_passwd ;
require valid_user;
Originally posted by @vl-homutov in https://github.com/nginxinc/nginx-ldap-auth/issues/52#issuecomment-422722501
There is no "anonymous user." The LDAP server supports anonymous bind, which means you don't bind as a user. Most software allows you to supply empty strings for DN and password to do this. https://ldap.com/the-ldap-bind-operation/
I am only providing this : url ldap://nsp-openldap-local:389; binddn ou=people,dc=odc,dc=im; binddn_passwd ; require valid_user;