6.0.0-beta1
7/7/25

[#378] No encoding of 'dn' for openldap
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

History
09/27/2004 10:11:04 AM Jan Schneider Comment #5
State ⇒ Resolved
Reply to this comment
Committed, at a slightly different place though.
07/14/2004 03:37:23 PM kurre (at) sovereign (dot) se Comment #4 Reply to this comment
Skip the last one.

It don't work well.

I can live without rereading.



/Kurre
07/14/2004 11:41:04 AM kurre (at) sovereign (dot) se Comment #3 Reply to this comment
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

07/14/2004 09:24:58 AM kurre (at) sovereign (dot) se Comment #2 Reply to this comment
Works now.
Added some code in lib/Drivers/ldap.php
After row 288.

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


/Kurre
07/13/2004 08:40:19 PM Chuck Hagenbuch State ⇒ Assigned
Priority ⇒ 3. High
Assigned to Horde DevelopersHorde Developers
 
07/13/2004 02:09:56 AM kurre (at) sovereign (dot) se Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Queue ⇒ Turba
Reply to this comment
There is no encoding (utf8) of dn resulting in 'invalid dn'.

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




Saved Queries