My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2275: Login loop with LDAP
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by halcyon1...@gmail.com, Nov 25, 2013
************************************************************
***** 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.8-rc3

What steps will reproduce the problem?
1. Go to the root URL of Gerrit
2. Click login
3. Enter credentials

What is the expected output? What do you see instead?

I would expect to be logged in and returned to the page from whence I came, however I keep repeatedly asked to log in in a never ending loop.  After entering my credentials once if I clear the URL and enter the base URL to Gerrit I will show up as logged in.

Please provide any additional information below.

My Gerrit config file:

[gerrit]
	basePath = git
	
[database]
	url = jdbc:mysql://localhost:3306/gerrit?useUnicode=false&characterEncoding=latin1
	type = mysql
	username = gerrit
	password = *snip*
[auth]
	type = LDAP
[ldap]
	server = ldaps://*snip*
	accountBase = DC=*snip*
	groupBase = DC=*snip*
[sendemail]
	smtpServer = smtp-relay.gmail.com
	smtpServerPort = 465
	smtpEncryption = TLS
[container]
	user = gerrit
	javaHome = /usr/lib/jvm/java-7-openjdk-amd64/jre
[sshd]
	listenAddress = *:29418
[httpd]
	listenUrl = http://*:8085
[cache]
	directory = cache


The URL for the login form and the form action is changing every time, losing characters:
Initial URL: /login/q/status:open,n,z form action: /login/q/status:open,n,z
Next URL: /login/q/status:op/#/q/status:open,n,z form action: /login/q/status:op/  
Next URL: /login/q/stat/#/q/status:op/ form action: /login/q/stat/
Next URL: /login/q/#/q/stat/ form action: /login/q/
Feb 6, 2015
#1 ikojba
I have this issue with HTTP Auth, in version 2.9.1
Sign in to add a comment

Powered by Google Project Hosting