Re: Adding user from child domain to Local domain group
From: Nick G. (G._at_discussions.microsoft.com)
Date: 10/12/04
- Next message: Chriss3 [MVP]: "Re: Server 2003 Local Login"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: ADAM - Performance Testing"
- In reply to: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Next in thread: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Reply: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 12 Oct 2004 09:37:03 -0700
I am using port 389 to read the primary domain and create group,
and port 3268 to get user account info from the child domain.
Can there be a permissions issue for the ID I use ? It has read/write
permission in OU where I created the group, but I am not sure
about its authority in child domains.
Paul, thanks a lot for your help.
Nick
"ptwilliams" wrote:
> What port are you using for the sub-domain?
>
> I think (I'm new to this scripting lark too) that you'll need to contact the
> GC for partitions other than the local domain, and will therefore need to
> use 3268 not 389.
>
> --
>
> Paul Williams
>
> http://www.msresource.net
> http://forums.msresource.net
> ______________________________________
> "Nick G." <Nick G.@discussions.microsoft.com> wrote in message
> news:74D18241-30C5-4069-99FA-7EE36CEAE521@microsoft.com...
> I have a local domain group in Active directory.
> Using VB code users from the primary domain can be added to the group,
> however when trying to add user from child domain I am getting
> Automation Error 80005008.
>
> Dim objGroup As IADsGroup
> Dim objUser As IADsUser
>
> Set objGroup =
> GetObject("LDAP://IPAddressHere:Port/CN=GroupNamehere,OU=OUName,DC=DC1,DC=DC2,DC=DC3")
>
> 'When adding this user automation error is generated
> Set objUser =
> GetObject("LDAP://OtherIPAddress:DifferentPort/CN=UsernameHere,CN=Users,DC=ChildDomain,DC=dc1,DC=dc2,DC=dc3")
>
> objGroup.Add (objUser.ADsPath)
> objGroup.SetInfo
>
> '-------------------------------------------------------------
> I am able to read child domain, LDAP for the user is correct.
>
> Thanks for any help !
>
>
>
- Next message: Chriss3 [MVP]: "Re: Server 2003 Local Login"
- Previous message: Dmitri Gavrilov [MSFT]: "Re: ADAM - Performance Testing"
- In reply to: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Next in thread: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Reply: ptwilliams: "Re: Adding user from child domain to Local domain group"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|