Category : active-directory

I am trying to configure Jenkins Active directory plugin using JCasC (Jenkins Configuration as Code). In order to configure the Active Directory plugin, I need to provide Bind Password in a secure way. I am using the Jenkins Credential plugin to provide the Bind password, but it is not working as expected. Source: Docker..

Read more

I’m trying to connect to SQL Server in docker window container through an Active Directory. I have found that I need to create an gMSA (group Managed Service Account): https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/manage-serviceaccounts https://www.youtube.com/watch?v=qiV_2mWgjUY&ab_channel=JacobAaronson On the AD server I have done: Add-KdsRootKey -EffectiveTime (Get-Date).AddHours(-10) New-ADGroup -Name "Docker Authorized Hosts" -SamAccountName "docker" -GroupScope DomainLocal New-ADServiceAccount -Name "docker" -DnsHostName "docker.gptest.local" ..

Read more

I am working on being able to connect services hosted within a Windows container to SQL Server using Integrated Security. As per the Microsoft documentation, I have created a grouped managed service account (gMSA), credentials spec and my container hosts have access to the gMSA – https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/manage-serviceaccounts I have been testing the connection by using ..

Read more

I have multiple docker linux containers working in Docker Swarm with ASP .NET Core 3.1 web applications. I need to configure Windows Authentication (SSO) for them. It was described here https://github.com/dotnet/aspnetcore/issues/19397 but there is not more information if it is possible at all. Because of that i’m thinking about some alternatives to achieve that. For ..

Read more

I want to use the docker image univention/ucs-generic-amd64 but I cannot find an example for a docker-compose.yml file. The container will run on a dedicated server at Strato (a German hosting company). Which volumes do I have to mount to store important data outside of the container? Which ports do I minimally have to bind ..

Read more

I have web api implemented in .NET Core 2.0 with Basic Auth & Active Directory implemented. we are using docker for deployment. Following code I’ve written for Active Directory Authentication: using (PrincipalContext pContext = new PrincipalContext(ContextType.Domain, “xyz”)) { try { // validate the credentials bool isValid = pContext.ValidateCredentials(userName, password, ContextOptions.Negotiate | ContextOptions.Signing | ContextOptions.Sealing); if ..

Read more