3

I'm currently 'playing' with Plastic and their (brand new) TeamCity integration plugin.

The plugin blurb says "When installing Team City on Windows systems, it normally uses the SYSTEM user account. We recommend changing the user that executes the Team City application."

The thing is, I can't work out what kind of user I should substitute: I would like to be able to access Plastic (on the server) using AD, but wouldn't that mean that TeamCity would also have to run with a network user in order to be able to access Plastic?

An alternative (for me accessing Plastic) would be user/password - but I can't make the TeamCity service run with user/password.

Am I missing something obvious, or is the paint just too wet?

4

1 回答 1

3

我也在使用 PlasticSCM 和 Team city 插件,这是我的配置:

对于服务器:使用 LDAP 身份验证配置您的 PlasticSCM 服务器,并选择“Active Directory”作为服务器类型。

对于客户端:使用 LDAP 身份验证配置您的 PlasticSCM 客户端,使用您的凭据并尝试“测试连接”按钮。

客户端设置将在“C:\Users\your_user\AppData\Local\plastic”中生成一个“client.conf”文件。PlasticSCM 客户端使用此文件向 PlasticSCM 服务器进行身份验证。

因此,如果您的 TeamCity 服务使用管理员帐户运行,您必须将此文件放在管理员“...\AppData\Local\plastic”目录中。如果您将 TeamCity 服务更改为使用您的系统帐户运行,则无需执行任何操作,该文件位于正确的位置。

您还有另一个选择(如果您仍在以管理员身份运行 TeamCity 插件),请将“client.conf”文件放在“cm.exe”文件所在的位置。因为“cm.exe”会先尝试在自己的位置找到这个文件,然后再在当前用户的“AppData\Local\plastic”目录中查找。仅当您是机器中唯一使用 PlasticSCM 的用户时,此选项才有效。

希望能帮助到你!

于 2012-01-16T15:36:49.443 回答