Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #6585

Closed
Open
Created Mar 21, 2014 by Administrator@rootOwner

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

http://gitlab.example.com/api/v3/internal/allowed?key_id=1&action=git-receive-pack&ref=_any&project=user1/test

in Firefox I get "false". It is ok with non LDAP user...

Thanks for hints ;-)

Assignee
Assign to
Time tracking