6.0.0-beta1
7/4/25

[#9094] Approximate index on ldap
Summary Approximate index on ldap
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester leandro.damascena (at) gmail (dot) com
Created 06/14/2010 (5499 days ago)
Due
Updated 03/26/2014 (4118 days ago)
Assigned 06/15/2010 (5498 days ago)
Resolved 03/26/2014 (4118 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
03/26/2014 01:05:48 PM Jan Schneider Assigned to Jan Schneider
Taken from Ben Klang
State ⇒ Resolved
 
03/26/2014 01:05:44 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git (master):

commit 6a6f2a6c8fb7141574366e663cfba53fe1aa8a04
Author: Jan Schneider <jan@horde.org>
Date:   Wed Mar 26 14:05:29 2014 +0100

     [jan] Fix approximate search operator (Leandro Damascena 
<leandro.damascena@gmail.com>, Bug #9094).

  framework/Ldap/lib/Horde/Ldap.php |    2 +-
  framework/Ldap/package.xml        |    4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/6a6f2a6c8fb7141574366e663cfba53fe1aa8a04
06/15/2010 09:03:33 AM Jan Schneider Assigned to Ben Klang
State ⇒ Assigned
 
06/14/2010 12:22:07 AM leandro (dot) damascena (at) gmail (dot) com Comment #2 Reply to this comment
I'm using Openldap 2.4.21.
Using approximate fields in Turba (turba/config/sources.php) the 
Package LDAP has an error.

Ldap searchs using approximate indexes must be ~= and not =~.. For example:
"(&(cn=~leandro))" wrong
"(&(cn~=leandro))" right
06/14/2010 12:20:54 AM leandro (dot) damascena (at) gmail (dot) com Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Approximate index on ldap
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ Yes
New Attachment: ldap_package.diff Download
State ⇒ Unconfirmed
Reply to this comment
Using approximate fields in Turba (turba/config/sources.php) the 
Package LDAP has an error.

Ldap searchs using approximate indexes must be ~= and not =~.. For example:
"(&(cn=~leandro))" wrong
"(&(cn~=leandro))" right

Saved Queries