•  
      request #23500 Search users as you type no more retrieve cn LDAP attribute
    Infos
    #23500
    Aurélien Tisné (atisne)
    2021-11-09 13:41
    2021-11-09 11:15
    25044
    Details
    Search users as you type no more retrieve cn LDAP attribute

    Using an LDAP, without setting a specific value for the parameter sys_ldap_tooltip_search_attrs, for users not yet added in the Tuleap DB, when I search a user to add as a new member to my team, only the uid of found users are displayed. (Please see attachment.) The common name should also be displayed.

    Authentication & LDAP
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2021-11-09
    Attachments
    User common name is missing
    References
    Referenced by request #23500

    Follow-ups

    User avatar

    You must update, 1/2 of the LDAP configuration is not properly imported, risk is major

    User avatar

    Hi. We are using the version 13.1 (Community Edition). (Sorry to miss the artefact 23477 despite my search.)

    Do you know the level of risk to used Tuleap 13.1 without the fix?

    User avatar

    Which version of Tuleap are you using ? If you are running 13.1-1 you should update on dev ASAP, there is a important fix on LDAP with art #23477

    User avatar
    last edited by: Aurélien Tisné (atisne) 2021-11-09 11:21

    In function searchUserAsYouType in plugins/ldap/include/LDAP.class.php, L515, $this->ldapParams['tooltip_search_user'] is set but empty.

    Testing if the value is not empty fix the issue. But I'm not sure it's the best way to fix. May others LDAP parameters have the same issue?