ODBC connection from a Linux box to MS SQLServer
1
vote
1
answer
131
views
I need to connect to MS SQLServer from a Linux box using ODBC from a Qt application I am developing.
So far I have installed the ODBC MS SQLServer driver and Kerberos on the Linux box. Using kinit I am able to get a ticket for my windows user (mvincent@mydomain.local).
I am logged into the Linux box as a local user (mvincent@linuxbox).
I am unsure how to get a ticket from windows active directory for my linux box login as mvincent@linuxbox is not in Active Directory.
I am using
Trusted_Connection=yes
in my ODBC connection string. The MS SQLServer instance is configured to only use Windows authentication so I can't use Uid=xxx
and Pwd=ssss
in the connection string.
How can I connect to MS SQLServer in the above scenario?
Asked by Michael Vincent
(111 rep)
Sep 29, 2015, 10:33 AM
Last activity: Mar 9, 2022, 05:27 PM
Last activity: Mar 9, 2022, 05:27 PM