On Wed, 2009-10-14 at 16:00 -0400, Mark Schaub wrote:
> user_filter = 
> (&(objectclass=person)(|(sAMAccountName=%n)([email protected])([email protected])))

My LDAP knowledge isn't that great, but does | accept more than one
parameter? Try changing this to:

user_filter = 
(&(objectclass=person)(|(sAMAccountName=%n)(|([email protected])([email protected]))))

Other than that, I don't really have much ideas. Does the same filter
work with e.g. ldapsearch?

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to