Home > Archive > microsoft.public.exchange2000.admin > October 2002 > Adresslistproblems





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Adresslistproblems
Michael Lechtenboerger

2002-10-05, 8:42 pm

Dear all,

in an exchange addresslist I'd like to search for all the objects (e.g.
person)
which are in a specific OU in Active Directory.

When using a userdefined LDAP query like

(& (objectCategory=Person)(distin
guishedName=*"OU=test,DC=domain,DC=de"))

the result is nothing (this is ok because the distinguishedName is somehow
the 'primary key' and does not allow wildcards by definition).

Trying
(|(objectCategory=Person)(dist
inguishedName=*"OU=test,DC=domain,DC=de"))

the result is all persons but no filtering on the OU (also ok because of
mistake mentioned above and the logic 'or' operator)

I searched everything in SDK and Technet. There is mentioned to set the base
for the search first like:
<LDAP://OU=Home,DC=domain,DC=de> ;(objectCategory=Person);cn;Su
bTree
Trying the examples with VB works fine.

But how to do it in an addresslist??

Someone should have done this already I think.

Please help

Michael


Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net