Hello, I have been trying to fix this for these last couple of hours but without any success. I have Gitlab 6.5.0 installed on Ubuntu. I logged in on GitLab using the credentials of an account defined in LDAP. This created an account on GitLab automatically. I created a new project (Private). I created an SSH public and private key and imported the public key in GitLab for this account. I then executed the following command:
git clone [email protected]:mygroup/testing.git The response I got was the following: ----- Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ----- I logged in on the machine where GitLab is installed using root account. I generated an SSH public and private key for root. I imported the public key of root in my account (LDAP based) on GitLab. I then executed the following command: git clone git@localhost:mygroup/testing.git The response I got was the same as before, i.e. - ----- Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. ----- I removed the public key of root from my LDAP based account on GitLab. I then created a new account in GitLab not LDAP based. I imported the public key of root in this account. I then executed the same command as before: git clone git@localhost:mygroup/testing.git This time it worked fine and the repository was cloned without any problem. In other words it seems like I cannot SSH for accounts that have been created from LDAP! I did found some material on the internet which made reference to the file lib/gitlab/ldap/user.rb. However I checked my version with the latest version in git and it looks the same! Does anyone know what the problem might be? -- You received this message because you are subscribed to the Google Groups "GitLab" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
