Hi, the syntax is very weird, it works with : filter="(&(sn=#var1#*)(givenName=#var2#))" cheers Johnny Vrijens European Commission SCR > > Date: Mon, 29 May 2000 13:06:48 -0400 > From: "Lanny R. Udey" <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Multiple attributes in an LDAP Filter > Message-ID: <[EMAIL PROTECTED]> > > This is a MIME message. If you are reading this text, you may want to > consider changing to a mail reader or gateway that understands how to > properly handle MIME multipart messages. > > --Boundary_(ID_J308I14lNzfbT64WoFqDOA) > Content-type: text/plain; charset=US-ASCII > Content-disposition: inline > Content-transfer-encoding: 7BIT > > Hi, > > I have an LDAP query and want to filter on two attributes; sn and > givenName. I can get each to work seperately but when I combine then as > per the documentation, I get no results at all even though both worked > alone and retreived the same record. > > The syntax I am using is: > > filter="sn=#var1#,givenName=#var2#" > > I have tried different combinations of attributes but whenever I have > two I get no results returned. > > Does anyone know if this is a bug? > > Thanks > > > > Lanny Udey > Associate Dean > Learning and Information Technology > Hofstra University > (516)463-5163 > [EMAIL PROTECTED] > ------------------------------------------------------------------------------ Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

