SSH push as LDAP user doesnt work.
Created by: rexcze
Hello, I installed gitlab-6.6.5_omnibus-1.el6.x86_64.rpm on Centos 6.5 and when I enable LDAP and want to push by LDAP user to repository via SSH I get:
Access denied.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
In logs:
==> /var/log/gitlab/gitlab-rails/production.log <==
Started GET "/api/v3/internal/allowed?key_id=1&action=git-receive-pack&ref=_any&project=user1/test" for 127.0.0.1 at 2014-03-21 08:45:30 +0100
==> /var/log/gitlab/gitlab-shell/gitlab-shell.log <==
W, [2014-03-21T08:45:30.748537 #25291] WARN -- : gitlab-shell: Access denied for git command <git-receive-pack 'user1/test.git'> by user with key key-1.
When I go to
in Firefox I get "false". It is ok with non LDAP user...
Thanks for hints ;-)