•  
      request #3482 Gerrit integration doesn't support user with space in ldap uid
    Infos
    #3482
    Manuel Vacelet (vaceletm)
    2013-05-30 09:03
    2013-05-23 12:24
    2289
    Details
    Gerrit integration doesn't support user with space in ldap uid
    If someone has a space in its login (e.g. I login with "john doe") the gerrit integration doesn't work.

    This is because Gerrit need hacks to support this config.

    Alternatives: use "accountsSshUserName = mail.localpart" in gerrit ldap config.

    for provisionning, we might need to create users directly in db:
    insert into ACCOUNTS(REGISTERED_ON, FULL_NAME, PREFERRED_EMAIL, INACTIVE, ACCOUNT_ID, MAXIMUM_PAGE_SIZE)
    select '2013-05-23 05:56:27.815', 'Joey Star', 'joey.star@cro.enalean.com', 'N', MAX(ACCOUNT_ID)+1, 25
    from ACCOUNTS

    insert into ACCOUNT_EXTERNAL_IDS (ACCOUNT_ID, EMAIL_ADDRESS, EXTERNAL_ID) values (1000021, 'joey.star@cro.enalean.com', 'gerrit:joey star');
    insert into ACCOUNT_EXTERNAL_IDS (ACCOUNT_ID, EXTERNAL_ID) values (1000021, 'username:joey.star');
    SCM/Gerrit
    6.0
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Manuel Vacelet (vaceletm)
    Declined
    2013-05-30
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    After discussions, Tuleap will not attempt to workaround this.
    The official solution is to ask for people not to have spaces in their uid (that sounds reasonable)

    • Status changed from New to Declined
    • Assigned to changed from None to Manuel Vacelet (vaceletm)
    • Close date set to 2013-05-30