July 8, 2019 at 8:18 pm
ISO way to setup a connection string to connect from Linux to SQL Server using an A/D group name. (we do NOT want to use a SQL Login!)
- this link details the setup for a Linux connection to a SQL Server database: https://github.com/mkleehammer/pyodbc/wiki/Connecting-to-SQL-Server-from-Linux
- one of the final instructions during setup is to add a connection string which appears to be using a SQL Login which we do NOT want to use as it violates our companies security policy. We're trying to omit all SQL Logins and utilize Active Directory security in connection strings
July 9, 2019 at 9:27 am
You can't use AD group name , you can connect under AD account which is a member of AD group which does have access to SQL server.
If you specify anything like username & password in the connection string, SQL server thinks it's SQL account.
So, in case of AD authentication, in your connection string should be "Trusted_Connection=yes" clause.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy