[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP Filter





--On Friday, May 21, 2004 11:47 AM -0700 ms419@freezone.co.uk wrote:

I am trying to define an LDAP filter which matches entries with
attributes a: x, b: y, c: z; AND, if no entries have these attributes,
entries with attributes a: x, b: y, and no attribute c.


"(&(&(a=x)(b=y)(c=z))(&(a=x)(b=y)(!(c=*))))"

I think is what you are looking for. That should give you the general idea at least.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/TSS/Computing Systems
ITSS/TSS/Infrastructure Operations
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html