Should the TeamCity server be part of domain for Windows Domain Authentication?

To use Windows Domain Authentication, should the TeamCity server be part of the domain?
If so, is there a way I can do this TeamCity server not being part of domain?

5 comments
Comment actions Permalink

Hello, Teamcity server doesn't have to be a part of domain to use this authentification type.

As mentioned here: http://confluence.jetbrains.com/display/TCD8/Configuring+Authentication+Settings, it can be a Linux computer. But server should be able to find domain controller.

0
Comment actions Permalink

Is there a property I can set for Domain Controller?

Domain Authentication: If this works right, I should be able to login to TeamCity with my doamin user account?

0
Comment actions Permalink

Yes, you should be able to log-in with your domain credentials. If you experience problems with authentification, you can look into teamcity-auth.log for details.

0
Comment actions Permalink

Thank you Sergey, Here is the error message that was in the log, I am not sure about this message, Not a special user or login as special user is not allowed but the last one is wired because my user name and password works fine in other places.
Any thoughts?

[2014-04-09 08:50:13,759]   INFO [168.3.117 ; http-nio-80-exec-1] - Login for user "myDomain\myUserName" failed, see details below
[2014-04-09 08:50:13,759]   INFO [168.3.117 ; http-nio-80-exec-1] - Login for user "myDomain\myUserName" failed for module "jetbrains.buildServer.serverSide.impl.auth.SpecialUsersLoginModule": jetbrains.buildServer.serverSide.auth.TeamCityFailedLoginException: Not a special user or login as special user is not allowed
[2014-04-09 08:50:13,759]   INFO [168.3.117 ; http-nio-80-exec-1] - Login for user "myDomain\myUserName" failed for module "jetbrains.buildServer.serverSide.impl.auth.NTDomainLoginModule": com.sun.jna.platform.win32.Win32Exception: The user name or password is incorrect.

0
Comment actions Permalink

There are several authentification modules. Teamcity tries to authentificate user using each of them. SpecialUsersLoginModule is for special (super) user, which is required when peforming special actions like DB update or viewing logs, when startup fails. You can just ignore that message.

What you need to pay attention to is NTDomainLoginModule. it replied "The user name or password is incorrect"

0

Please sign in to leave a comment.