I've Apache 2.2 and Gitlab 6 running. After installing OpenLDAP on Debian Wheezy and setting up Gitlab I can login to Gitlab with LDAP credentials. But I wonder if there is a way to provide LDAP login credentials from Apache 2.2 Basic Auth to Gitlab. When enabled in Apache and in Gitlab I have to login twice, nevertheless. (I will need this behaviour also for Mantis)
I made a wrong assumption. When authenticating to Apache with LDAP, this is a HTTP Basic Auth, nevertheless. So Gitlab has to accept Basic Auth credentials (
HTTP_REMOTE_USER) from Apache to login user based on Gitlabs own user database. As far as I've seen, there are some efforts, but this patch is only for Gitlab 6 (I'm using version 6.2). And as you can read in next-to-last comment here, it seems, that Gitlab will develop such a function for Enterprise version.