Skip to content
GitLab
Next
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    Projects Groups Snippets
  • Sign up now
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #13440
Closed
Open
Issue created Feb 15, 2016 by Sergei Antipov@UnderGreen

Can't clone repo over HTTP with LDAP authorization

Hello.

I have installed Gitlab server 8.2.3. It is connected with AD over LDAP. Authentication in browser works perfectly. bundle exec rake gitlab:ldap:check RAILS_ENV=production say - All OK. Cloning with 'internal' user like root works fine. But when I try to clone over http I have problem with authorization:

git clone http://gitlab.xxx.ru/bizaccount/bizaccount-deploy.git
Cloning into 'bizaccount-deploy'...
Username for 'http://gitlab.xxx.ru': s.antipov
Password for 'http://s.antipov@gitlab.xxx.ru': 
fatal: Authentication failed for 'http://gitlab.xxx.ru/bizaccount/bizaccount-deploy.git/'
System information
System:		Ubuntu 14.04
Current User:	git
Using RVM:	no
Ruby Version:	2.1.7p400
Gem Version:	2.2.5
Bundler Version:1.7.9
Rake Version:	10.4.2
Sidekiq Version:3.3.0

GitLab information
Version:	8.2.3
Revision:	1322bd7
Directory:	/var/www/git/gitlab
DB Adapter:	postgresql
URL:		https://gitlab.xxx.ru
HTTP Clone URL:	https://gitlab.xxx.ru/some-group/some-project.git
SSH Clone URL:	git@gitlab.xxx.ru:some-group/some-project.git
Using LDAP:	yes
Using Omniauth:	no

GitLab Shell
Version:	2.6.8
Repositories:	/var/www/git/repositories/
Hooks:		/var/www/git/gitlab-shell/hooks/
Git:		/usr/bin/git
Assignee
Assign to
Time tracking