Skip to content

SQL Server with extended protection #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
aangelisc opened this issue Mar 24, 2025 · 1 comment
Open

SQL Server with extended protection #245

aangelisc opened this issue Mar 24, 2025 · 1 comment

Comments

@aangelisc
Copy link

Does this driver support connecting to SQL server instances with extended protection enabled? Are any modifications required to the connection string or should this work out of the box?

@apoorvdeshmukh
Copy link

@aangelisc curious to know if you have run into any issues with go-mssqldb while establishing connection to Sql Server with extended protection on.
Based on the available documentation, the driver does have support for TDS 8.0 through connection property encrypt and for providing SPN through ServerSPN.
https://github.com/microsoft/go-mssqldb?tab=readme-ov-file#common-parameters
https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/connect-to-the-database-engine-using-extended-protection?view=sql-server-ver16
Protocols for MSSQLSERVER Properties (Advanced Tab) - SQL Server | Microsoft Learn
However, I am not aware if any additional changes are needed in driver to support Sql Server enabled with extended protection.
Do mention the error you are getting when connecting with this driver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants