My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1667: Redirect loop after login using Ldap
2 people starred this issue and may be notified of changes. Back to list
Status:  Invalid
Owner:  ----
Closed:  Nov 2012


Sign in to add a comment
 
Reported by josedes...@gmail.com, Nov 19, 2012
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version: 2.5

What steps will reproduce the problem?
1. Default installation with ldap login (java -jar gerrit-full-2.5.war init -d new_review)
2. Access with the browser localhost:8080
3. Click in Login and introduce a right user and password

What is the expected output? What do you see instead?
The expected output is you previous web page or gerrit home page
The behaviour we have is too many redirects, with a error in the browser


Please provide any additional information below.

I have install gerrit with the default installation and using as well Apache to proxy (proxy-https). In both situation, after login I am getting a loop, giving me error in the browser. I am using LDAP for authentication. I have made the installation in:

Debian 6: Tested with Chrome 18.0 and Firefox 16.0.2
Ubuntu 11.10: Tested with Chrome 18.0 and Firefox 16.0.2


[gerrit]
        basePath = git
[database]
        type = H2
        database = db/ReviewDB
[auth]
        type = LDAP
[ldap]
        server = ldaps://localhost
        accountBase = ou=XX,dc=XX,dc=com
        groupBase = cn=XX,cn=XX,dc=XX,dc=com
        accountFullName = cn

[sendemail]
        smtpServer = localhost
[container]
        user = gerrit
        javaHome = /usr/lib/jvm/java-6-openjdk/jre
[sshd]
        listenAddress = *:29418
[httpd]
        listenUrl = http://*:8080/
[cache]
        directory = cache


Nov 19, 2012
#1 sop@google.com
Set gerrit.canonicalWebUrl to your server's address in gerrit.config and restart the server.
Status: Invalid
Nov 20, 2012
Project Member #2 bklarson@gmail.com
 Issue 1671  has been merged into this issue.
Nov 25, 2012
#3 josedes...@gmail.com
working fine with this configuration:

[gerrit]
        basePath = git
        canonicalWebUrl=http://localhost:8080

Many thanks!!!!
Sign in to add a comment

Powered by Google Project Hosting