6.0.0-beta1
7/5/25

[#8265] KOLAB backend: listUsers fails due to new LDAP2_Filter buildSearchQuery
Summary KOLAB backend: listUsers fails due to new LDAP2_Filter buildSearchQuery
Queue Kolab
Type Bug
State Resolved
Priority 1. Low
Owners wrobel (at) horde (dot) org
Requester m.gabriel (at) das-netzwerkteam (dot) de
Created 05/12/2009 (5898 days ago)
Due
Updated 03/26/2014 (4119 days ago)
Assigned 05/12/2009 (5898 days ago)
Resolved 03/26/2014 (4119 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/26/2014 01:09:11 PM Jan Schneider Comment #2
State ⇒ Resolved
Reply to this comment
This code doesn't even exist anymore. Assume that it has been resolved.
05/12/2009 02:40:09 PM Jan Schneider Assigned to Gunnar Wrobel
State ⇒ Assigned
 
05/12/2009 02:39:40 PM Jan Schneider Version ⇒
Queue ⇒ Kolab
 
05/12/2009 12:34:23 PM m (dot) gabriel (at) das-netzwerkteam (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: 20090512_Kolab_Server_ldap-search.patch Download
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ KOLAB backend: listUsers fails due to new LDAP2_Filter buildSearchQuery
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Horde Groupware Webmail Edition
Reply to this comment
with my upgrade from horde-webmail-1.2.3-rc1 to 1.2.3-final (KOLAB 
backend usage) listing users was not possible any more. further code 
inspection showed a last minute introduction of PEAR's LDAP2 usage 
with the current KolabLDAP code.



applied you find a patch the renders user listing functional again, 
the problem probably can be traced back to some encoding issue / 
charset transformation (though i could not find, where):



horde-webmail-1.2.3-final with patch (note the values for '_filter'):

----------------------------------------------------

Net_LDAP2_Filter::__set_state(array(    '_subfilters' =>    array (     
  0 =>      Net_LDAP2_Filter::__set_state(array(        '_subfilters' 
=>        array (       ),        '_match' => NULL,        '_filter' 
=> '(sn=*)',        '_debug' => false,        '_default_error_mode' => 
NULL,        '_default_error_options' => NULL,         
'_default_error_handler' => '',        '_error_class' => 'PEAR_Error', 
        '_expected_errors' =>        array (       ),     )),     1 => 
      Net_LDAP2_Filter::__set_state(array(        '_subfilters' =>     
    array (       ),        '_match' => NULL,        '_filter' => 
'(mail=*)',        '_debug' => false,        '_default_error_mode' => 
NULL,        '_default_error_options' => NULL,         
'_default_error_handler' => '',        '_error_class' => 'PEAR_Error', 
        '_expected_errors' =>        array (       ),     )),     2 => 
      Net_LDAP2_Filter::__set_state(array(        '_subfilters' =>     
    array (       ),  ... etc.



horde-webmail-1.2.3-final without patch (note the values for '_filter'):

----------------------------------------------------

Net_LDAP2_Filter::__set_state(array(    '_subfilters' =>    array (     
  0 =>      Net_LDAP2_Filter::__set_state(array(        '_subfilters' 
=>        array (       ),        '_match' => NULL,        '_filter' 
=> '(sn=\\2a)',        '_debug' => false,        '_default_error_mode' 
=> NULL,        '_default_error_options' => NULL,         
'_default_error_handler' => '',        '_error_class' => 'PEAR_Error', 
        '_expected_errors' =>        array (       ),     )),     1 => 
      Net_LDAP2_Filter::__set_state(array(        '_subfilters' =>     
    array (       ),        '_match' => NULL,        '_filter' => 
'(mail=\\2a)',        '_debug' => false,        '_default_error_mode' 
=> NULL,        '_default_error_options' => NULL,         
'_default_error_handler' => '',        '_error_class' => 'PEAR_Error', 
        '_expected_errors' =>        array (       ),     )),     2 => 
      Net_LDAP2_Filter::__set_state(array(        '_subfilters' =>     
    array (       ), ... etc.


Saved Queries