[Tickets #6789] Re: Search problem for ldap backend
bugs at horde.org
bugs at horde.org
Mon Jun 2 03:58:02 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/6789
-----------------------------------------------------------------------
Ticket | 6789
Updated By | david at tmv.gov.tw
Summary | Search problem for ldap backend
Queue | Turba
Version | 2.2
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
-----------------------------------------------------------------------
david at tmv.gov.tw (2008-06-01 23:58) wrote:
>> Jun 01 07:50:58 HORDE [debug] [turba] LDAP query by
>> Turba_Driver_ldap::_search(): user = txg16, root =
>> ou=people,dc=mks,dc=example (ldap.tmv.gov.tw); filter =
>> "(&(maillocaladdress=*david*))"; attributes = "dn, uid, cn,
>> maillocaladdress, roomnumber, homephone, telephonenumber, mobile,
>> homepostaladdress, sn"; deref = "0" ; sizelimit = 1200 [pid 9584 on
>> line 186 of "/usr/local/apache/horde-rc/turba/lib/Driver/ldap.php"]
>
> And does this ldap query work in your directory? Looks perfectly fine
> to me? Does it return results when running directly in ldap?
Hello jan,
I found that is because of maillocaladdress has no equality rule on it.
The original misc.schema for maillocaladdress:
attributetype ( 2.16.840.1.113730.3.1.13
NAME 'mailLocalAddress'
DESC 'RFC822 email address of this recipient'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )
I add line " SUBSTR caseIgnoreSubstringsMatch" to it ,and fixed.
Thank you,jan.
david
More information about the bugs
mailing list