My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3208: Accessing Repo with HTTP_LDAP doesn't use LDAP password any more
6 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 2209
Owner:  ----
Closed:  Aug 4


Sign in to add a comment
 
Reported by wid...@chemmedia.de, Feb 25, 2015
Affected Version: 2.10

What steps will reproduce the problem?
1. auth.type = HTTP_LDAP
2. gitBasicAuth = true
3. Updated gerrit from 2.8.1 to 2.10
4. Access a repository stored in gerrit with a git client.

With version 2.8.1 I was able to authenticate with my credentials from ldap (username and password) when using a git client for e.g. cloning a repository.

Since the update I'm not able any more to do so. The ldap password works still when accessing the Web UI, but not when accessing a repository with a git client by http(s). Only the password in the user settings password tab works.

But I want the ldap password to be used for git access, like in version 2.8.1.

In version 2.8.1 there was no option displayed in the user settings for "http password" and everything was working fine and as expected.
In version 2.10 the tab is shown.





gerrit-2.8.1.jpg
13.9 KB   View   Download
gerrit-2.10.jpg
10.1 KB   View   Download
May 4, 2015
#1 anders.e...@gmail.com
I just upgraded from 2.9 to 2.11 and experienced similar problems ...
Jul 27, 2015
#2 geekmug
This functionality was broken in 2.10 by https://gerrit-review.googlesource.com/#/c/54985

It's in the 2.10 release notes as "Enforce HTTP password checking on gitBasicAuth."

What you probably want is trustContainerAuth, which isn't confused with the HTTP Password stuff and treats your proxy as authoritative. However, it's broken in 2.11. There is a changeset that landed in master that fixes this bug:

https://gerrit-review.googlesource.com/#/c/65541/

It would be great if this was merged into the next 2.11 release.
Aug 2, 2015
#3 anders.e...@gmail.com
Perfect! I am awaiting the new release!
Aug 4, 2015
Project Member #4 edwin.ke...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 2209
Sign in to add a comment

Powered by Google Project Hosting