I am trying to run a nant build using TeamCity 1.2 and one of the
targets runs osql to initialize a database. The osql command uses the
current running process's NT credentials to authenticate but this
authentication is failing with the following error:
Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
I have tried running both the TeamCity service and the agentd under
credentials that would authenticate with SQL, but I continue to get the
same error. I also can not find any configuration options that would
I can get osql to work if I provide the username and password in the
command line, but this is not a permanent solution since our database
should be setup to accept NT authentication only.
What do I need to do to get this to work properly? Or is there no other