Windows 帐户更改将如何影响 TFS 帐户? [英] How will Windows Account Change Affect TFS Accounts?

查看:26
本文介绍了Windows 帐户更改将如何影响 TFS 帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在运行 TFS 2012.我们的组织目前正在为每个人创建新帐户,作为迁移的一部分.

We are running TFS 2012. Our organization is currently creating new accounts for everyone as part of a migration.

我所知道的是,每个人都会在 AD 中列出两个帐户一段时间:旧域\DoeJ新域\DoeJ

What I know is that everyone will have two accounts listed in AD for a while: OldDomain\DoeJ NewDomain\DoeJ

这让我相信 SID 会有所不同,等等.

This brings me to believe that SID will be different, among other things.

我的问题是,这会如何影响我们的 TFS 环境?我们会丢失与特定用户相关的任何历史记录吗?我是否必须检查每个工作项并将其重新分配给新的 Windows 帐户?有什么办法可以保留这些数据吗?

My question is, how would this affect our TFS environment? Will we lose any history associated with particular users? Will I have to go through each work item and reassign it to the new Windows account? Is there any way I can preserve this data?

谢谢

推荐答案

您可以使用 Identities 命令,用于列出或更改 TFS 部署中用户和组的安全标识符 (SID).在以下情况之一中,您可能需要更改或更新用户和组的 SID:

You could use Identities Command which lists or changes the security identifier (SID) of users and groups in your deployment of TFS. You might need to change or update the SID for users and groups in one of the following scenarios:

  • 更改部署域
  • 从工作组更改为域或从域更改为工作组
  • 在 Active Directory 中跨域迁移帐户

尽管它是一个强大的工具,但它也有一定的局限性.为帮助确保迁移成功,请确保您了解以下要求:

Even though it's a powerful tool, but it has certain limitations. To help ensure a successful move, make sure that you understand the following requirements:

  • 一旦用户帐户出现在 TFS 中,就无法将其删除或将另一个帐户映射到它.例如,如果您要移动DomainA/UserA 到 DomainB/UserB,Identities 命令只会
    如果 DomainB/UserB 不存在,则迁移用户TFS.
  • 由于本地管理员组的成员会自动添加到 TFS,因此请确保删除您添加的所有帐户在更改域或
    之前希望从该组迁移环境.
  • Once a user account is present in TFS, it cannot be removed or have another account mapped to it. For example, if you are moving DomainA/UserA to DomainB/UserB, the Identities command would only
    work to migrate the user if DomainB/UserB is not already present in TFS.
  • Because the members of the local Administrators group are automatically added to TFS, make sure to remove any accounts that you want migrated from that group before you change the domain or
    environment.

建议您阅读有关此教程 作为计划搬家的一部分.你也可以看看这个博客:将 TFS 服务器或集合迁移到另一个域.注意不要先将NewDomain\DoeJ等用户添加到TFS,升级SID后,历史将保持没有任何问题.

Suggest you read up about this tutorial as part of planning your move. You could also take a look at this blog : Migrating TFS Server or Collection to another domain. Be careful do not add the user such as NewDomain\DoeJ to TFS first, after upgrade SID, the history will keep without any problem.

此外,TFS 使用后台同步作业,每小时安排一次,以查找 Active Directory(或本地计算机工作组,如果服务器未加入域)中的更改.您可以使用任何 这些技巧.

Moreover, TFS use a background synchronization job, scheduled every hour, to look for changes in Active Directory (or the local machine workgroup if the server is not domain joined). You can force the job to run using any of these techniques.

这篇关于Windows 帐户更改将如何影响 TFS 帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆