ldap -> enabled: false is not being respected
Created by: izreal
In the default gitlab.yml (verified in 6.3 and 6.4), the ldap configuration seems to be used/consumed even when enabled: false
is set.
The symptoms are that everything appears to be working correctly, but git commands over SSH fail with "Access denied.", even though I can successfully ssh directly with the git user.
In the production.log, you will see a line like
URI::InvalidURIError (the scheme ldaps does not accept registry part: _your_ldap_server:636 (or bad hostname?))
The fix for me was to configure real LDAP configuration but keep enabled: false
because I didn't actually want LDAP integration at this time.