Git Push error - Authentication Failed

2,494 views
Skip to first unread message

venkata prasad

unread,
Jan 10, 2013, 5:02:34 PM1/10/13
to repo-d...@googlegroups.com
Hello Everybody,
 
I have installed latest version of Gerrit 2.5.1 and configured it using H2 db and LDAP authentication. I am able to sucesfully authenticate gerrit site using my domain credentails and able to add Groups and Members.
But When I am trying to clone repo All-projects.git , make some changes,commit and trying to Push it the origin repo, I am getting below error.
 
fatal: Authentication failed
 
Can you someone please help me out on how to resolve this issues.
 
Thanks in Advance...
 
- Ulli

Matthias Sohn

unread,
Jan 11, 2013, 1:23:31 AM1/11/13
to venkata prasad, Repo and Gerrit Discussion
2013/1/10 venkata prasad <prasade...@gmail.com>
which protocol do you use to push ?

--
Matthias 

venkata prasad

unread,
Jan 11, 2013, 5:04:33 PM1/11/13
to repo-d...@googlegroups.com, venkata prasad
I am using HTTP.

venkata prasad

unread,
Jan 11, 2013, 5:04:48 PM1/11/13
to repo-d...@googlegroups.com

venkata prasad

unread,
Jan 11, 2013, 5:05:23 PM1/11/13
to repo-d...@googlegroups.com
I am using HTTP.

On Thursday, January 10, 2013 5:02:34 PM UTC-5, venkata prasad wrote:

Matthias Sohn

unread,
Jan 11, 2013, 5:07:16 PM1/11/13
to venkata prasad, Repo and Gerrit Discussion
2013/1/11 venkata prasad <prasade...@gmail.com>
I am using HTTP.

did you use the HTTP credentials defined here ?

Gerrit uses different credentials for the Web UI and for git commands over http

--
Matthias

venkata prasad

unread,
Jan 14, 2013, 11:19:25 AM1/14/13
to repo-d...@googlegroups.com, venkata prasad
Thanks Matthias...
Yes, I have generated http Password and try to clone and Push. In both the cases I am getting AUthentication failed message.

Reinhard Nägele

unread,
Jan 22, 2013, 4:21:18 AM1/22/13
to repo-d...@googlegroups.com
You probably need this in your gerrit.config so your LDAP credentials are used:

auth.gitBasicAuth = true
Reply all
Reply to author
Forward
0 new messages