Page 1 of 1

SQL Server via Integrated Authentication

Posted: Tue Jun 14, 2011 10:25 am
by Support_Steve
SQL Server supports SQL and Windows based authentication. If Windows (Integrated) authentication is the preferred method to connect to SQL Server then GoAnywhere must be installed on Windows as well.

Follow the instructions below to connect to SQL Server using Windows authentication:
1) Download and locate the sqljdbc_auth.dll file. This file is located in the jdbc driver pack and can be downloaded from Microsoft's website.
2) Place this .dll file in the [installationDirectory]\jre\bin folder. e.g. C:\program files\linoma software\goanywhere\jre\bin.
3) Open up the Windows Services and right click on the 'GoAnywhere' service and view the properties. The credentials that start the Windows service will need to be given permission on the SQL Server for Integrated Authentication.
4) With SQL server permission and the .dll file in the \bin folder you will need to restart the 'GoAnywhere' service.
5) Open an internet browser and login into GoAnywhere.
6) Navigate to Resources -> Database Servers and either add or edit a server.
7) At the end of the JDBC URL field append the following ;integratedSecurity=true. Note: You will need to select the SQL Server - All Versions driver rather than the older 2000 version.

Re: SQL Server via Integrated Authentication

Posted: Fri Jun 27, 2014 4:26 am
by Bjarkisv
Hi

Regarding step #3. GoAnywhere is running as a local system account on a windows server. To give GoAnywhere access to the database I need to run GoAnywhere with some specific system account? Right?

This is the error I get.

2014-6-27 09:18:01 Login failed for user 'Domain\MachineName$'. ClientConnectionId:90ea2ed1-6a7d-47d5-a824-f56502c87b08

Re: SQL Server via Integrated Authentication

Posted: Fri Jun 27, 2014 11:31 am
by Support_Rick
Bjarki,

The common practice is to start GoAnywhere with a Service Account that you give permissions to for access to Servers inside your network.