activerecord-jdbc-adapter icon indicating copy to clipboard operation
activerecord-jdbc-adapter copied to clipboard

Add authenticationScheme support for MSSQL adapter when using official driver

Open Ultimation opened this issue 8 years ago • 1 comments

This will allow for using windows auth via kerberos on linux machines,

A work around is to simply specific the path instead of passing the parameters.

Some more information: https://docs.microsoft.com/en-us/sql/connect/jdbc/using-kerberos-integrated-authentication-to-connect-to-sql-server


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Ultimation avatar Aug 02 '17 15:08 Ultimation

if you're using the correct driver, just specify the required properties: under your configuration and it will work e.g.

production:
  adapter: mssql
  properties: 
    authenticationScheme: JavaKerberos
    ...

kares avatar Aug 03 '17 09:08 kares