kvspb/nginx-auth-ldap

Valid user with mail (or username)

Frikitrok opened this issue · 0 comments

Is it possible to do smthing like this?
So that can validate user with username OR mail OR smthing else?
url ldap://host:389/dc=example,dc=com?uid,mail?sub?(&(objectClass=posixAccount)(|(uid=%u)(mail=%u)));