kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
731 stars 251 forks source link

Valid user with mail (or username) #210

Open Frikitrok opened 5 years ago

Frikitrok commented 5 years ago

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