Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have 2 domains (A,B) in our environment.

Whenever someone joins the company, his account will be created in domain A. If someone has to work in a particular department, an account will be created for him in domain B. Both accounts have same username and domain B has a trust relationship with Domain A.

The department using domain B has many applications/software/servers (300+ Windows and Linux machines) and around 150 active users. Now the company wants us to make users use their Domain A account in all the domain B servers.

Is there a way to achieve this?

share|improve this question
You should consider bringing in either some Microsoft support personnel or consultants to help you manage your AD environment. It doesn't seem like you know what you're doing and if you get some good advice now it can help make your infrastructure much more scalable. – bobmagoo Aug 23 '12 at 11:06
Are domains A and B in the same AD forest? It doesn't sound like it but I want to make sure. – joeqwerty Aug 23 '12 at 14:36

That's what a domain trust is for - it allows you to add users from domain A to security groups in domain B.

Just add the relevant users to the departmental groups they need to be in.

share|improve this answer

You can use a trust relationship (either forest or domain trust) to allow access to resources in domain B to domain A accounts. With a forest trust, you can allow all accounts to authenticate from A into B, or you can enable selective authentication, which will require each resource server in domain B to specifically allow accounts from domain A to be able to authenticate.

If your organization is talking about actually moving to domain B as the primary account location, you would find the Active Directory Migration Tool (ADMT) to be useful because it can actually migrate user accounts from one domain (or forest) to another. On top of that, it can merge accounts if they exist for the same user in both forest and it can even preserve the SID history of these users, which makes managing ACL's on shared resources (share permissions, NTFS permissions, etc) much easier to continue managing.

As stated in one of the comments above, it sounds like you may want to get some additional input from a local resource. This isn't an extremely complicated setup, but certainly is more advanced than a typical AD environment.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.