Problems connecting Rancher to Active Directory (Simple AD)

Hi everyone!

I have Rancher (v2.8.5) which I’m trying to connect to Active Directory (Simple AD).

I have the following problem:

  • This Rancher installation is deployed on a single server using Docker;
  • Access from the Rancher server to Active Directory (Simple AD) is available on port 636;
  • The DNS name Active Directory (Simple AD) is also resolved from the Rancher server.

Also my configuration looks like this in Rancher:

In the certificate section I use server.crt which was generated for the domain Active Directory (Simple AD).

After connecting, I receive the following error:

2024/12/26 13:56:41 [ERROR] API error response 401 for POST /v3/activeDirectoryConfigs/activedirectory?action=testAndApply. Cause: LDAP Result Code 49 "Invalid Credentials": 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1

In this case, the login data for the user rancher and test.user are valid.

If anyone has set up this integration and has an understanding of how to fix it, I would be very grateful!