[RCD] weird LDAP addressbook behaviour
alec at alec.pl
Sat Aug 1 08:28:33 CEST 2009
Terminal Addict wrote:
> The problem was in 'name_field'. If I specified 'displayname' for
> 'name_field', the list following a search would show names, but if you
> click on a name in the list, the name would be empty in the details. If
> I specified 'displayName' for 'name_field', then the list would have
> empty entries, but clicking on one of those empty entries would show the
> full contact details including the name.
> I did try strtolower in __construct(), but that only replicated one of
> the issues described above (I can't remember for sure which one now).
This will probably work if we rewrite rcube_ldap::get_record() function
for use ldap_get_entries() instead of ldap_get_attributes(). I don't use
LDAP so I cannot test this idea.
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Developer http://roundcube.net
List info: http://lists.roundcube.net/dev/
More information about the Dev