GitLab does not support Microsoft Active Directory Trusts - workarounds

Problem to solve

I am using self hosted Gitlab 17.3.
I have working integration with LDAP.
Now my company would like to give access to some external consultants, which are in a different AD domain.
My primary base domain:
base: ‘OU=XXX,DC=baz,DC=foo, DC=bar’

My other domain which is configured with MS AD trust:
base: ‘OU=XXX,DC=baz,DC=foo2, DC=bar’

I see Gitlab documentation
Integrate LDAP with GitLab | GitLab
where is says: GitLab does not support [Microsoft Active Directory Trusts]

My question is, if there is some good workaround for this situation.
For example I see that in Premium, there is possibility of Secondary Ldap server:
Integrate LDAP with GitLab | GitLab

Could this secondary server use this other domain as base parameter?

Versions

  • Self-managed

Versions
Gitlab Ver 17.3

Yes, the premium version would allow you to configure both domains. Your other alternative, would be to add them to a group on the first server that is already configured rather than use the second domain, but obviously you have a reason for not configuring external users in that first domain.

1 Like