Multiple User Filters

Robert Duncan Robert.Duncan at
Fri Apr 15 08:14:36 EDT 2016

..of course, thanks Peter, it works as expected now

-----Original Message-----
From: users [mailto:users-bounces at] On Behalf Of Peter Schober
Sent: Friday, April 15, 2016 1:08 PM
To: users at
Subject: Re: Multiple User Filters

* Robert Duncan <Robert.Duncan at> [2016-04-15 14:02]:
> I want to do the same for 3.4.1 in
> idp.authn.LDAP.userFilter= (sAMAccountName={user},
> userPrincipalName=(user))
> but I get - failed using
> filter=[org.ldaptive.SearchFilter at -1949206318::filter=(sAMAccountName=
> {user}, userPrincipalName=(user)), parameters={user=the_user
> probably I need a logical OR in the userFilter has anyone configured
> this?

If what you enter into the properties file becomes an LDAP search filter you'd need to enter a valid ldap search filter string. The spec
(RFC4515) has examples:
So from your use-case something like:

Note that you had "{user}" once, and "(user)" the second time.
To unsubscribe from this list send an email to users-unsubscribe at

The information contained and transmitted in this e-mail is confidential information, and is intended only for the named recipient to which it is addressed. The content of this e-mail may not have been sent with the authority of National College of Ireland. Any views or opinions presented are solely those of the author and do not necessarily represent those of National College of Ireland. If the reader of this message is not the named recipient or a person responsible for delivering it to the named recipient, you are notified that the review, dissemination, distribution, transmission, printing or copying, forwarding, or any other use of this message or any part of it, including any attachments, is strictly prohibited. If you have received this communication in error, please delete the e-mail and destroy all record of this communication. Thank you for your assistance.

More information about the users mailing list