It's a webpage ASP, since we are only reading, permissions shouldn't be a
problem.

jb 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mulnick, Al
Sent: Wednesday, January 26, 2005 2:39 PM
To: [email protected]
Subject: RE: [ActiveDir] OT: limiting ldap query to single domain

Sure.  Is this VBSCRIPT?  What about permissions?  Do you have to worry
about that? 

Al 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Benway
Sent: Wednesday, January 26, 2005 2:20 PM
To: '[email protected]'
Subject: RE: [ActiveDir] OT: limiting ldap query to single domain

We are working on a phonelist using AD.
Because we have multiple domains and domain name spaces, I want to be able
to filter each search request by the domain.

I want to have drop down the list the domains(a.com,b.com,c.com) they are
not subdomains it is a flat forest.

Right now we can use the GC and pull information from the entire forest, but
we cannot get ldap to work for each domain.

A quick domain list

A.com
Server1.a.com (DC)
Server2.a.com (GC)


B.com
Server1.b.com (DC)
Server2.b.com (GC)


I need to be able to list users from each domain seperately for the phone
list.

Hope this clears things up a little.

jb


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mulnick, Al
Sent: Wednesday, January 26, 2005 1:50 PM
To: [email protected]
Subject: RE: [ActiveDir] OT: limiting ldap query to single domain

It would probably be better if you'd tell us what information you're after
and how you're going about getting it in your script.  If you can post the
logic or the whole script that would be helpful.

Keep in mind that the GC has a subset of information in it, so there are
times when you may need to go to the individual DC's to get the necessary
information.  

al 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason Benway
Sent: Wednesday, January 26, 2005 1:36 PM
To: '[email protected]'
Subject: [ActiveDir] OT: limiting ldap query to single domain

We have a large flat AD forest, with separate name spaces
(a.com,b.com,c.com,etc)

I have a few script questions.
First is there a way to retrieve each domain name, using winnt: doesn't work
Second, if I use GC, I can read information on all objects, but how can I
limit it so I can query only 1 domain at a time. If I use DC I have to query
a different DC for each domain.

Thanks,jb
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/List.aspx
List FAQ    : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to