Ian, I tried the following filter and it returned results similar to
what you were wanting:
"(&(objectCategory=person)(!(memberOf=CN=grp
Vpn,OU=Groups,DC=evansville,DC=edu)))"

You need to specify the entire DN of the group that you want to exclude
from the results.  In this example, the DN is:
"CN=grp Vpn,OU=Groups,DC=evansville,DC=edu"

I didn't know if you had already solved this, but I had to try it myself
and satisfy my own curiosity.  ;-)

M!ke

-----Original Message-----
From: Dawson, Michael [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 14, 2006 7:28 PM
To: CF-Talk
Subject: RE: CFLdap

Boy, that's a tough one.  You might try the same concept with:

(!(&(mail=*)(memberOf=domain admins)))

But, I'm not sure that will really work the way you need.

A quick way to do this is to retrieve the "memberOf" attribute, then use
a QoQ to filter out those records.

M!ke

-----Original Message-----
From: Ian Skinner [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 14, 2006 5:54 PM
To: CF-Talk
Subject: RE: CFLdap

filter="(!(mail=*))"

M!ke

Thanks Mike, that worked great.

Now I'm trying to figure out how to filter to all users that have a
mail, but are not a memberOf a specific group.  Can you do that one for
me just as fast? :-)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:253223
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to