Query Based Diostribution Group/LDAP Query

Query Based Diostribution Group/LDAP Query

Post by PatK10 » Wed, 08 Aug 2007 21:31:16


Help Clever People,

I want to run a query based Distribution group based on an LDAP
Custom
query that selects all users that have not been disabled for a
particular location, these will be in different OU's within the AD.


Does anyone know the correct parameters to enter to select a given
location, the LDAP query below selects users from a specific OU that
are live - can anyone assist me with the rest please


(&(!cn=SystemMailbox{*})(&(&(&(&(& (mailnickname=*) (|
(&(msExchUserAccountControl=0)(objectCategory=person)
(objectClass=user)
(|(homeMDB=*)(msExchHomeServerName=*))) )))))))


Thanking you in anticipation of your help