Summary | No encoding of 'dn' for openldap |
Queue | Turba |
Queue Version | 1.2.2 |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | Horde Developers (at) |
Requester | kurre (at) sovereign (dot) se |
Created | 07/13/2004 (7664 days ago) |
Due | |
Updated | 09/27/2004 (7588 days ago) |
Assigned | 07/13/2004 (7664 days ago) |
Resolved | 09/27/2004 (7588 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
It don't work well.
I can live without rereading.
/Kurre
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
Added some code in lib/Drivers/ldap.php
After row 288.
if ($this->encoding == 'utf8') {
$dn = utf8_encode($dn);
}
/Kurre
Priority ⇒ 3. High
Assigned to
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Queue ⇒ Turba
Must use ldap to have a common addressbook for horde and outlook.
I can use the LDAP Browser/Editor by Jarek Gawor but the users can't.
/Kurre