TeamCity 和 Plastic SCM 的用户配置
我目前正在“玩”Plastic 及其(全新的)TeamCity 集成插件。
插件简介说“在 Windows 系统上安装 Team City 时,通常使用 SYSTEM 用户帐户。我们建议更改执行 Team City 应用程序的用户。”
事实是,我无法工作找出我应该替换的用户类型:我希望能够使用 AD 访问 Plastic(在服务器上),但这是否意味着 TeamCity 还必须与网络用户一起运行才能访问塑料?
另一种选择(对于我访问 Plastic 而言)是用户/密码 - 但我无法使 TeamCity 服务使用用户/密码运行。
我是否遗漏了一些明显的东西,或者油漆太湿了?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还使用 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 的用户时,此选项才有效。
希望有帮助!
I'm also using PlasticSCM and the Team city plugin, this is my configuration:
For the server: configure your PlasticSCM server with LDAP authentification and select "Active Directory" as the server type.
For the client: configure your PlasticSCM client with LDAP authentification, use your credentials and try the "Test connection" button.
The client setup will generate a "client.conf" file at "C:\Users\your_user\AppData\Local\plastic". This file is used by PlasticSCM client to authenticate with the PlasticSCM server.
So, if your TeamCity service is running with the administrator account you have to place this file in your Administrator "...\AppData\Local\plastic" directory. If you change your TeamCity service to be run with your system account you don't need to do anything, the file is in the right place.
You have another option (if you are still running the TeamCity plugin as Admin), place the "client.conf" file where your "cm.exe" file is. Because the "cm.exe" is going to try to find this file first on its own location and then in the current user "AppData\Local\plastic" directory. This option is only valid if you are the only user working with PlasticSCM in the machine.
Hope it helps!