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
  • #6630

Closed
Open
Created Mar 26, 2014 by Administrator@rootOwner

Can't push after upgrading to 6.7 (LDAP)

Created by: mkerins

I recently upgraded to gitlabs 6.7 and have been unable to push since. I'm using LDAP and can log in to the web interface using my LDAP credentials and can see all my repos. When I try to push I get the following:

remote: GitLab: You are not allowed to access master!
remote: error: hook declined to update refs/heads/master
To https://<host>/<user>/some_repo.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'https://<host>/<user>/some_repo.git'

I also cannot make changes to files using the web interface. I get "Your changes could not be committed, because the file has been changed." even though it has not been changed. My LDAP settings:

  ldap:
    enabled: true
    host: 'ldap.example.com'
    base: 'ou=people,ou=auth,dc=example,dc=com'
    port: 636
    uid: 'uid'
    method: 'ssl' # "ssl" or "plain"
    bind_dn: 'ou=people,ou=auth,dc=example,dc=com'
    password: ''
    allow_username_or_email_login: true

It was suggested in #6585 (closed) to wrap the strings in double quotes but that didn't help. I also looked at #6623 (closed) but that submitter isn't using LDAP. Any help will be appreciated, thank you.

Assignee
Assign to
Time tracking