Resend...
 
 
 
Couple of things...
 
1. Listen to Brian
 
2. The RUS is what builds those lists and isn't really doing LDAP queries to
build them. Turn up logging and turn on netmon and watch what happens as
they go through the objects, it is rather startling to watch. 
 
3. You can not set search bases because queries aren't being used. The
objects being compared are coming from the config container and all over the
default container. Again, watch the logging and netmon. Very simple to see
what is happening when watching it. You will note thought that when you test
the "query" in the ESM, it will actually do an LDAP query against AD, again,
look at netmon.
 
4. You have to have some attribute (or group of attributes) that you can key
on that will uniquely "place" that object in an AL.
 
 
   joe
 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Tuesday, May 04, 2004 9:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Simple LDAP Query


You can group contacts.
 
I spent tens of hours with PSS on this - no dice.
 
==Brian

-----Original Message----- 
From: Michael B. Smith [mailto:[EMAIL PROTECTED] 
Sent: Tue 5/4/2004 8:38 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: [ActiveDir] Simple LDAP Query



The problem is with contacts and public folders. I already do the crawl. But
contacts within the OU's are a particular pain.

 

Perhaps I'm wrong, but I figure that there HAS to be a way. :-P

 

(Hope springs eternal...)

 


  _____  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian Desmond
Sent: Tuesday, May 04, 2004 8:33 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] Simple LDAP Query

 

You can't do that with exchg. Get a security group with everybody in the OU,
and search for (memberOf=DNToGroup). I know it's a pain - I do it. If the
OUs are constantly going to change, write an agent to crawl them every night
and update the groups. 

 

--Brian Desmond

-----Original Message----- 
From: Michael B. Smith [mailto:[EMAIL PROTECTED] 
Sent: Tue 5/4/2004 7:27 PM 
To: [EMAIL PROTECTED] 
Cc: 
Subject: RE: [ActiveDir] Simple LDAP Query

Unfortunately, I don't have the luxury of specifying my search base. I need
a query that I can, specifically, place into an "All Address Lists" object
in Exchange System Manager. So effectively I'm limited to a search base of
the domain.

 

But thanks for your response.

 


  _____  


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ulf B.
Simon-Weidner
Sent: Tuesday, May 04, 2004 6:00 PM
To: [EMAIL PROTECTED]
Subject: AW: [ActiveDir] Simple LDAP Query

 

Hi Michael,

 

just define it in the search base, e.g.

LDAP://ou=myou,dc=mydomain,dc=com. You define usually searchbase, filter,
attribues and scope - and searchbase does not need to be the domain, it can
be any LDAP Path.

 

HTH, Ulf

 


  _____  


Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Michael B. Smith
Gesendet: Dienstag, 4. Mai 2004 23:38
An: [EMAIL PROTECTED]
Betreff: [ActiveDir] Simple LDAP Query

I'm obviously missing something simple...

 

How do I construct a query to return all the objects in a particular OU?

 

(To be specific, I want to return everything in an OU that is mail-enabled
-- but I can do the rest given the syntax to search only a particular OU.)

 

Thanks

 

<<attachment: winmail.dat>>

Reply via email to