From: Jeffrey P. C. <jpc...@ya...> - 2001-02-25 18:55:01
|
This fiter works perfectly with the OpenLDAP tools but in order to make it work with the Net::LDAP modules I had to formulate the filter as follows: "(|(uid=x)|((uid=y)(uid=z)))". Thanks for the validity confirmation though because I thought I had it right the first time. jpcarter --- "Kurt D. Zeilenga" <Ku...@Op...> wrote: > At 05:44 PM 2/22/01 -0800, Jeffrey P. Carter wrote: > >I'm trying to write an or'd search filter for a > list > >of uid values something like: > > > >"(|(uid=x)(uid=y)(uid=z))" > > > >This works perfectly with the openldap tools > against > >the Netscape 4.12 directory but I get a 'Bad > filter' > >error with Net::LDAP. It seems to me that this > filter > >is valid but clearly it's not. > > The above filter is valid. OR and AND operators act > upon non-empty sets of filters. > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ |