Justin

Can you be a little more specific - which part do you need more information on?

The object(s) you are interested in are in a different domain to the DC to which you 
have bound.  The information is not available from (or via) this server.  It is 
possible to bind to a server in a different domain, but you need to specify the domain 
information (using the DNS name of the target domain) in the bind string.

Some more information is available here, but it really just re-iterates what Gil has 
already said:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netdir/ad/binding.asp

Tony

-----Original Message-----
From: Salandra, Justin A. [mailto:[EMAIL PROTECTED]]
Sent: Mittwoch, 22. Januar 2003 18:55
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Child Domains Programming
Importance: High


Does anyone else have any information on this

Justin A. Salandra, MCSE
Senior Network Engineer
Catholic Healthcare System
914.681.8117 office
646.483.3325 cell
[EMAIL PROTECTED]


 -----Original Message-----
From:   Gil Kirkpatrick [mailto:[EMAIL PROTECTED]] 
Sent:   Tuesday, January 21, 2003 3:08 PM
To:     '[EMAIL PROTECTED]'
Subject:        RE: [ActiveDir] Child Domains Programming

Its binding to a DC in the domain of the current security context, probably
something in the root domain? So you're getting the domainDNS object from a
replica of the root domain NC, and there are no subordinate objects in that
NC. If you specify the DN of the object you *really* want to bind to, the
LDAP client will chase referrals to an appropriate DC.

Use "LDAP://child.domain.com/DC=Child,DC=Domain,DC=com"; to bind to the
domainDNS object on a DC in that domain.

-gil


-----Original Message-----
From: Salandra, Justin A. [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, January 21, 2003 1:01 PM
To: ActiveDir (E-mail)
Subject: [ActiveDir] Child Domains Programming


Me and my web administrator who is the programmer around here needs your
held.

If I specify the child domain: 
set ADS = getObject("LDAP://DC=Child,DC=Domain,DC=Com";) 
It only returns the object as domainDNS and will not list any child
objects.. 
If I bind to the child using the Global Catalog: 
set ADS = getObject("GC://DC=Child,DC=Domain,DC=Com") 
I can read any properties or child objects, but this is read-only. 
So how do I bind to a child DC to modify users?


Justin A. Salandra, MCSE
Senior Network Engineer
Catholic Healthcare System
914.681.8117 office
646.483.3325 cell
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to