[Tickets #378] No encoding of 'dn' for openldap

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Jul 14 04:41:04 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

-Ticket 378
-Queue: Turba
-Added By: kurre at sovereign.se

>From kurre at sovereign.se (Wed Jul 14 04:41:04 2004):
One more.
Fixes the reread after a add.

in lib/Driver/ldap.php
around row 204.

        if (!in_array('sn', $attr)) $attr[] = 'sn';

+        if ($this->encoding == 'utf8') {
+           $dn = utf8_encode($dn);
         }

        $res = @ldap_read($this->ds, $dn, $filter, $attr);

/Kurre





https://dev.horde.org/horde/whups/details.php?id=378

-- 


More information about the bugs mailing list