Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » Active Directory and PowerShell

Thread: Managing Trusted Domains

This question is not answered. Helpful answers available: 2. Answered answers available: 1.


Permlink Replies: 0 - Pages: 1
darkmule

Posts: 2
Registered: 11/30/09
Managing Trusted Domains
Posted: Nov 30, 2009 9:17 AM
 
  Click to reply to this thread Reply

I have three domains, Domain A, Domain B, Domain C

I am running the powershell cmd-lets from Domain B to manage groups in domain C. This works well if I use a credential from domain C. However, I need to add users from domain A to the groups in Domain C.
Both domains B and C trust domain A (one way trust).
Whenever I try to use the add-qadgroupmember command to add an account from domain A to a group in domain C I get an error saying

Add-QADGroupMember : Cannot resolve DN for the given identity: domainA\username'

I guess this is because I am connecting to an AD server in domain C from a shell running in domain B and it needs to connect to domain A.

Does anyone have any ideas?




Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums