您的位置:首页 > 其它

TFS用户域名被改变,服务器登录不上

2006-11-17 10:01 211 查看
昨天晚上, IT对全公司的所有用户都改变了域名,导致TFS服务器无法登录。

我在TFS服务器上,查看Computer Management->Local Users and Gruoups,发现里面的用户域名已经更改。我记得在安装TFS时要三个域账号,其中一个Report Serive的域名用户比较容易更改,而另外两个用户的域名该从什么更改呢?

1. 在google里输入key: TFS Change domain,找到在msdn forum上有个thead:

What happens if user change of domain ? - MSDN Forums
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=796223&SiteID=1
after migrating all the users, you should be able to "TfsAdminUtil Sid/Change OldDomainName NewDomainName" and it'll go through the users from the old domain name and update those entries.

里面说可以用TFS自带的工具TfsAdminUtil中的Sid/Change可以解决这个问题:

在MSDN中有Sid如何使用的文章:

Visual Studio Team System -- Sid Command
http://msdn2.microsoft.com/en-us/library/ms253054(VS.80).aspx
Visual Studio Team System -- Using Team Foundation Server Command-Line Tools
http://msdn2.microsoft.com/en-us/library/ms253088(VS.80).aspx
The TFSAdminUtil command-line utility is located in <drive>:\Program Files\Microsoft Visual Studio 2005 Team Foundation Server\Tools on Team Foundation Server application tier.

执行 > TFSAdminUtil sid 命令Fail, 重新启动TFS服务器,然后尝试连接TFS服务器出现以下错误:

---------------------------

Microsoft Visual Studio

---------------------------

Microsoft Visual Studio

TF31002: Unable to connect to this Team Foundation Server: TFSServer01.

Team Foundation Server Url: http://TFSServer01:8080.

Possible reasons for failure include:

- The Team Foundation Server name, port number or protocol is incorrect.

- The Team Foundation Server is offline.

- Password is expired or incorrect.

For further information, contact the Team Foundation Server administrator.

---------------------------

OK Help

---------------------------

经过一上午的折腾后,没能解决问题,所以就想看一下是否可以升级,我的TFS的版本号8.0.50727.83, 不支持到RTM升级。我不想在这个问题再花时间了,于是只能请求IT把用户域暂时改过来。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐