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

Add X-Ldap-GroupDN for search user in group without memberOf. #78

Open SlavaRejik opened 3 years ago

SlavaRejik commented 3 years ago

Not all ldap servers have memberOf attribute. If you need to check that the user is in the group, you need to search by filter (memberUid=user) in this groupDN. I add optional X-Ldap-GroupDN parameter for this.

schittli commented 2 years ago

Does nginx inc. really need years to merge this great merge request?

Or does nginx inc. expects that customers merge this request in their own fork??

LDAP Auth is a basic and sometimes very useful feature.