Menu

#103 LDAP displayName is empty

open
nobody
None
1
2020-09-16
2020-09-15
No

Hi,

the displayName of LDAP is empty. I think the bug is fixed with the patch.

1 Attachments

Discussion

  • Gino Naumann

    Gino Naumann - 2020-09-15
    diff --git a/web/lib/MRBS/Auth/AuthLdap.php b/web/lib/MRBS/Auth/AuthLdap.php
    index 2b50aacb..fcf99ed5 100644
    --- a/web/lib/MRBS/Auth/AuthLdap.php
    +++ b/web/lib/MRBS/Auth/AuthLdap.php
    @@ -693,7 +693,7 @@ class AuthLdap extends Auth
    
             self::debug("name is '" . $object['name'] . "'");
    
    -        return true;
    +        return $object['name'];
           }
         }
         return false;
    
     
  • Campbell Morrison

    I can't reproduce this problem. I think return true; is correct.

     
  • Gino Naumann

    Gino Naumann - 2020-09-16

    Im sorry!

    Set
    $ldap_name_attrib = "fullName";
    in confic.inc.php

    worked for me after a new login. Please ignore this issue.