SQL Server 2017 on Linux: Support for third-party AD providers
Published Mar 23 2019 06:02 PM 1,426 Views
Microsoft
First published on MSDN on Nov 26, 2018
In the past, SQL Server on Linux has required SSSD to be configured for AD Authentication to work. SSSD is a very powerful service which provides support AD authentication and integration. However, there are some third-party AD providers (such as Centrify, PBIS, and VAS) which provide additional value-added services (such as auditing) on top of basic AD authentication. These third-party AD providers do not configure SSSD when joining the AD domain.



There are many customers which depend on these third-party AD providers to provide single “trusted zone” for all users to access resources regardless of the host OS of said resources. In today’s hybrid environments which uses Windows server, Linux servers and Windows AD to provide authentication, ease of configuration and audit capability among others, are often highly preferred. Listening to the demand from such customers, SQL Server now supports AD authentication without SSSD.



To support these third-party AD providers which do not configure SSSD, SQL Server performs its own LDAP queries when looking up AD accounts. For this to work successfully, several extra configuration checks must be done, and these can be found here: https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-active-directory-third-party-provide... . This functionality was made available in SQL Server 2017 CU10 first. But it is highly recommended to use it with SQL Server 2017 CU12 onwards.



Additionally, if your domain controller supports LDAPS, you can force all connections from SQL Server to the domain controllers to be over LDAPS. To check your client can contact the domain controller over ldaps, run the following bash command, “ldapsearch -H ldaps://contoso.com:3269”. To set SQL Server to only use LDAPS, run the following:

  • sudo mssql-conf set network.disablesssd true

  • sudo mssql-conf set network.forceldaps true

  • systemctl restart mssql-server


Tejas Shah - Senior Program Manager

Dylan Gray - Senior Software Engineer
4 Comments
Copper Contributor

Is SQL Server supporting AD/Windows Logins, when is inside a container in a Linux host? @Tejas Shah 

Microsoft
SQL Server currently does not have AD authentication support when running inside a container, though it is in our future plans. Adding @Vin Yu for visibility into the request.
Copper Contributor

Thanks @Tejas Shah & @SQL-Server-Team 

But you mean for any container, or just for the Linux ones?



Microsoft

We currently have production support for SQL on Linux containers only. If you are interested in using SQL on Windows containers, please do reach out to @Vin Yu with your scenario. 

Version history
Last update:
‎Mar 23 2019 06:02 PM
Updated by: