Dear RC devs,

I have a weird problem with searching my LDAP addressbook...

A search results in displaying 'display name' in either the result list, or
in the detail iframe??? 

In my main.inc.php I've defined the display name:
'name_field' => 'displayName',

Changing it to 'displayname' will result in a correct display in the
details iframe, but the names don't show up in the result list anymore...
:(



I've patched program/include/rcube_ldap.inc to be case-insensitive, but
that's a really bad way to tackle this...

Index: program/include/rcube_ldap.inc
===================================================================
--- program/include/rcube_ldap.inc      (revision 903)
+++ program/include/rcube_ldap.inc      (working copy)
@@ -428,6 +428,8 @@
     {
       if ($rec[$lf]['count'])
         $out[$rf] = $rec[$lf][0];
+      if ($rec[strtolower($lf)]['count'])
+        $out[$rf] = $rec[strtolower($lf)][0];
     }
     
     return $out;


Does anybody else have the same weird bug or is it only me???


-H-

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to