Menu

#274 Display Name LDAP auth

open
nobody
None
1
2019-12-08
2014-07-21
Anonymous
No

Hi
We need help in order to show the display name instead of the user name, I'm using version, 1.4.11 with LDAP authentication

Regards
Alejandro

Discussion

  • Anonymous

    Anonymous - 2014-07-24

    I have the same problem (the same MRBS version, LDAP authentication).

    It has to be changed somewhere in getUserName function I think, but it is really difficult to trace the calls across the modules and functions ...

    What the matter: if my login for AD is a123456, I want to see the logged name as (i.e.) John Smith, entry created by John Smith, and not login: a123456, entry created by a123456 (nobody knows who is it) ...

    Regards
    Jan

     

    Last edit: Anonymous 2014-07-24
  • Anonymous

    Anonymous - 2016-02-23

    For email id instead if username i don ebelow changes

    file: functions_view.inc
    line: 149 ..

    // This was the original code
    // $tbody .= create_details_row(get_vocab("createdby"), $data['create_by'], $as_html, $class);
    // This is what I made out of it
    $mail = authLdapGetEmail($data['create_by']);
    $tbody .= create_details_row(get_vocab("createdby"), $mail, $as_html, $class);