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

Re: filters





--On Monday, January 05, 2004 3:02 PM -0400 Ace Suares <ace@suares.nl> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi,

is

	(&(dc=com)(dc=org)(dc=net))

a valid filter ?

I'd think so, but I'd also think that it would be fairly useless... How many entries are of the form:


cn=joe,dc=com,dc=org,dc=net
with:
cn: joe
dc: com
dc: org
dc:net

?

You may want an OR instead:

(|(dc=com)(dc=org)(dc=net))

If you are using a unix command line, make sure you put ""'s around it

"(|(dc=com)(dc=org)(dc=net))"

Note that the entry would still need to have dc bits that correspond.

--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