I'm trying to setup a query to get all of the users with an e-mail addres from all of my OU's and containers EXCEPT for one of them...the Irregulars OU.
my filter is formed thusly:
(&(mail=*)(objectClass=person)(!(distinguishedName=*Irregulars*)))
but is not working. How should I be doing it?
TIA,
my filter is formed thusly:
(&(mail=*)(objectClass=person)(!(distinguishedName=*Irregulars*)))
but is not working. How should I be doing it?
TIA,