Multiple username attribute

Morgan, Andrew Jason morgan at
Wed Mar 25 13:10:30 EDT 2020

You can do something like this in

idp.authn.LDAP.userFilter                       = (|(cn={user})(mail={user}))


From: users <users-bounces at> on behalf of Peter Schober <peter.schober at>
Sent: Wednesday, March 25, 2020 2:03 AM
To: users at <users at>
Subject: Re: Multiple username attribute

* Kicic Sakib <Sakib.Kicic at> [2020-03-25 09:07]:
> > * Kicic Sakib <Sakib.Kicic at> [2020-03-24 13:42]:
> > > Is it possible to configure multiple "username"  attributes for authentication in
> > > idp.authn.LDAP.userFilter = cn, mail
> >
> > Yes, by using a valid LDAP search filter.
> Do you have any example of that?

Besides searching the web for "LDAP search filters", you mean?

LDAP is defined in RFC 4510 and that tells you that search filters are
defined in RFC 4515 and that actually has examples:

For Consortium Member technical support, see
To unsubscribe from this list send an email to users-unsubscribe at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list