Task #81082

Task #81081: Gerrit-LDAP: Switch Gerrit to LDAP auth

Gerrit-LDAP: Configure Gerrit to use LDAP

Added by Steffen Gebert over 2 years ago. Updated 11 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Target version:
-
Start date:
2017-04-29
Due date:
% Done:

0%


Description

I just gave Gerrit 2.14 a try locally and used the following config successfully against our LDAP server:

[auth]
    type = LDAP
[ldap]
    server = ldaps://ldap.typo3.org
    accountBase = ou=people,dc=typo3,dc=org
    accountPattern = (&(objectClass=inetOrgPerson)(uid=${username}))
    accountFullName = cn
    accountEmailAddress = mail
    username = cn=XXX.typo3.org,ou=services,dc=typo3,dc=org
    password = "123#456" # in quotes because of special characters; better put it into etc/secure.config

History

#1 Updated by Steffen Gebert over 2 years ago

btw I've verified that this config also works with version 2.12, which we are running currently.

#2 Updated by Steffen Gebert over 2 years ago

  • Subject changed from Configure Gerrit to use LDAP to Gerrit-LDAP: Configure Gerrit to use LDAP

#3 Updated by Michael Stucki about 2 years ago

  • Status changed from New to Accepted

#4 Updated by Steffen Gebert almost 2 years ago

The following two settings in addition might make sense:

    connectTimeout = 10s
    accountScope = one

#5 Updated by Steffen Gebert almost 2 years ago

Added users for review and review-dev to LDAP and Keepass

#6 Updated by Steffen Gebert almost 2 years ago

  • Status changed from Accepted to In Progress

#7 Updated by Stephan GroƟberndt over 1 year ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF