在TFS中,当用户名不同时,如何将用户从一个域移动到另一个域?

时间:2022-08-23 10:54:21

I'm in the process of moving users from an "old" Windows domain to a "new" one and need to reflect these changes in TFS permissions.

我正在将用户从“旧”Windows域移动到“新”域,并且需要在TFS权限中反映这些更改。

I've been successfully following the instruction in this MSDN article: http://msdn.microsoft.com/en-us/library/ms404883.aspx

我已经成功地遵循了这篇MSDN文章中的说明:http://msdn.microsoft.com/en-us/library/ms404883.aspx

But I've stumbled into an end-case that the article does not cover. For some of the users, the username in the old domain is different from the username in the new domain and it seems that the TfsAdmin.exe Sid command does not know how to address this issue.

但我偶然发现了一篇文章未涵盖的最终案例。对于某些用户,旧域中的用户名与新域中的用户名不同,似乎TfsAdmin.exe Sid命令不知道如何解决此问题。

Does anybody know how to reassign the TFS sid from domainA\usernameA to domainB\usernameB?

有谁知道如何将TFS sid从domainA \ usernameA重新分配到domainB \ usernameB?

Thanks.

1 个解决方案

#1


I'm not an IT guy but asking our resident god says that if you add the old SID to the new user in their SID history attribute then the the rights should resolve backwards. I know this is not TFS specific but I hope it gives you some clue to solving your problem.

我不是一个IT人员,但问我们的居民上帝说,如果你在他们的SID历史属性中将旧SID添加到新用户,那么权利应该向后解决。我知道这不是特定于TFS的,但我希望它能为您解决问题提供一些线索。

He also said you need to ensure a trust relationship between the domains also.

他还说你需要确保域之间的信任关系。

#1


I'm not an IT guy but asking our resident god says that if you add the old SID to the new user in their SID history attribute then the the rights should resolve backwards. I know this is not TFS specific but I hope it gives you some clue to solving your problem.

我不是一个IT人员,但问我们的居民上帝说,如果你在他们的SID历史属性中将旧SID添加到新用户,那么权利应该向后解决。我知道这不是特定于TFS的,但我希望它能为您解决问题提供一些线索。

He also said you need to ensure a trust relationship between the domains also.

他还说你需要确保域之间的信任关系。