My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 3226: LDAP login broken
2 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 3201
Owner:  ----
Closed:  Mar 2015


Sign in to add a comment
 
Reported by icee...@googlemail.com, Mar 5, 2015
Affected Version: stable-2.11, master

What steps will reproduce the problem?
1. try to use LDAP login


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

Webinterface: user is unknow or password incorrect

logs/error_log:
2015-03-05 10:05:31,260] INFO  com.google.gerrit.httpd.auth.ldap.LdapLoginServlet : 'pedersen' failed to sign in: No such user: pedersen

Please provide any additional information below.

using git bisect, it seems like
commit c81291fde0fc9f978782c86ea739a1502e6b2f3f
Author: Saša Živkov <sasa.zivkov@sap.com>
Date:   Wed Feb 4 17:19:20 2015 +0100

    Configurable ldap.fetchMemberOfEagerly to optimize LDAP login

is the first commit where I observe this behaviour. 

I kept the config (below) unchanged for git bisect. 


[ldap]
        server = ldap://<...>/
        accountBase = ou=People,dc=<...>,dc=de
        groupBase = ou=Group,dc=<...>,dc=de
        accountPattern = (&(objectClass=posixAccount)(uid=${username}))
        groupMemberPattern = (&(gidNumber=${gidNumber})(|(uid=${username})(memberUid=${username})))
        accountFullName = cn
        accountEmailAddress = ${mail.toLowerCase}
        fetchMemberOfEagerly = true (does not work with and without this setting)


Mar 9, 2015
Project Member #1 David.Os...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 3201
Sign in to add a comment

Powered by Google Project Hosting