It depends on how the ldap server handles these fields. 

Active Directory's will removes empty fields from the entry. 

So 

The filter would be: 

!(mailLocalAddress=*)

Or "where not (mailLocalAddress is any value)"

Assuming your ldap server has a field named "mailLocalAddress" and it is the 
one that you would use to determine if the item is mail enabled.

Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology
E-mail:         [EMAIL PROTECTED]
 

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

What would one put into a filter to select all ldap entities that do not have 
an mail object?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:253194
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