Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Server Containers domain account auth

Is it possible to logon to, for example, a SQL server database using a domain account from a windows server container (either hyper-v or regular container)? As I understand you can't domain join the container itself (neither server Core nor server Nano base image). Does it matter if the host is domain joined?

like image 331
Thomas Avatar asked Oct 29 '16 07:10

Thomas


People also ask

What Windows Server role handles authentication within a domain?

The Local Security Authority (LSA) is a protected system process that authenticates and logs users on to the local computer.

Can you run Active Directory in a container?

Windows containers cannot be domain joined, but many Windows applications that run in Windows containers still need AD Authentication. To use AD Authentication, you can configure a Windows container to run with a group Managed Service Account (gMSA).

Is Windows authentication the same as Active Directory?

Windows authentication means the account resides in Active Directory for the Domain.


1 Answers

For those that really need domain authentication in SQL Server containers, There is a solution from Windocks that has domain authentication by default. The SQL Server containers use the domain accounts specified in the default instance in each container. So if you had an account named \ that had access to the default SQL Server instance, then will also have access to the container. Sa specific to each container is also available. See the Windocks site about Docker SQL Server containers for more information.

like image 190
rameshpa Avatar answered Oct 02 '22 20:10

rameshpa