Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#1488079 closed Bugs (fixed)

LDAP Adress Book problem 'contact not found'

Reported by: KulakovAD Owned by:
Priority: 3 Milestone: 0.6-stable
Component: LDAP connection Version: 0.6-RC
Severity: normal Keywords: LDAP, AdressBook
Cc:

Description

Can't get info from some contacts that visible in LDAP Adress Book (error 'contact not found'). May be problem with base64_encode/decode.

Change History (7)

comment:1 Changed 21 months ago by alec

Works for me. We need more info, e.g. ldap_debug log and or $_POST/$_GET data. Try also with disabled plugins.

comment:2 Changed 21 months ago by KulakovAD

Add ldap debug to ticket

comment:3 Changed 21 months ago by alec

So, DN is broken. Give as an example of real DN for the broken entry. You could go to rcube_ldap.php file and add

console($rec);

on the beggining of _ldap2result() function. Then attach logs/console file here (from the moment of addressboook listing).

comment:4 Changed 21 months ago by KulakovAD

add log

comment:5 Changed 21 months ago by alec

Ok. The problem is with the "+" character in base64_encoded DN. We need to provide better encoding method, compatible with urls and html identifiers. I'll work on a patch.

comment:6 Changed 21 months ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [c3ba0e54].

comment:7 Changed 21 months ago by KulakovAD

All work. Please del my attachments from ticket.

Note: See TracTickets for help on using tickets.