•  
      request #10146 LDAP Groups and Common Name
    Infos
    #10146
    Patrick Pogscheba (patrock)
    2018-08-09 10:37
    2017-04-13 12:36
    10421
    Details
    LDAP Groups and Common Name
    When using different CN-Attributes for users and groups (e.g. displayname for users, cn for groups), the groups aren't rendered right when adding Enterprise groups to project (list with no names is shown).

    My current workaround in LDAP Plugin:

    www/autocomplete.php (line 45):
    change
    $groupList[] = $lr->getCommonName();
    to
    $groupList[] = $lr->getGroupCommonName();

    include/LDAPResult.class.php:
    add function
    function getGroupCommonName() {
    return $this->get($this->ldapParams['grp_cn']);
    }

    Authentication & LDAP
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2018-08-09
    Attachments
    Empty
    References
    Referencing request #10146
    Referenced by request #10146

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2018-08-09 10:37
    Closing this, a proper way to deal with this scenario has been added in request #11621.

    • Status changed from Acknowledged to Closed
    • Close date set to 2018-08-09
    User avatar
    Thomas Gerbet (tgerbet)2017-04-13 13:27
    • Status changed from New to Acknowledged
    • Reported in version changed from 9.6 to All