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 |
State ⇒ Resolved
State ⇒ Assigned
Queue ⇒ Kolab
Priority ⇒ 1. Low
New Attachment: 20090512_Kolab_Server_ldap-search.patch
Patch ⇒ Yes
Milestone ⇒
Summary ⇒ KOLAB backend: listUsers fails due to new LDAP2_Filter buildSearchQuery
Type ⇒ Bug
State ⇒ Unconfirmed
Queue ⇒ Horde Groupware Webmail Edition
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.