Create Address list from OU
Posted on 2005-05-16
The goal is to create and address list that contains all of the contacts contained within and AD OU object.
We have seggregated our AD environment so that contacts are in their own OU. I have now recognized that i cannot create an address list from an OU by pointing to it. Even though the ldap query returns the OU in its search, it does not grab the contents.
From my research, i gather that this is because the OU is not a property of the contact. so, i thought i may try to do a search using the distinguished name property of the contact:
from the ado and other queries i have written, this should be a <distinguishedName> ends with search. However it does not like this operator.
I can do a search with the full OU (and get the OU object back), or do a search with just the * (as in exists), but cannot use the ends with syntax.
The one work around that has been proposed is to create a group and make each of these contacts a member of that group. Fine idea, but i have 76,000 contacts and add more every day.
Is there no simpler way to accomplish this?