prisma-engines icon indicating copy to clipboard operation
prisma-engines copied to clipboard

Support SQL Server integrated security on *nix by enabling integrated-auth-gssapi feature in tiberius

Open andrew-dias opened this issue 6 months ago • 0 comments

I would like to use SQL Server's "integrated security" authentication when running Prisma on a Linux machine, but Prisma only supports this mode on Windows.

The SQL Server driver used by Prisma is https://github.com/prisma/tiberius, and this library can apparently support integrated authentication on *nix by enabling the integrated-auth-gssapi feature (see https://github.com/prisma/tiberius#integrated-authentication-trustedconnection-on-nix).

Would it be possible to enable this flag? I am guessing this would be done in quaint/Cargo.toml. Would that actually give Prisma the ability to use SQL Server integrated security from Linux?

Apologies if this request doesn't make sense, since I don't have any real Rust knowledge or real understanding of how all these projects work together in Prisma.

andrew-dias avatar Aug 08 '24 14:08 andrew-dias