[turba] LDAP Search

Haaino reddwarf at surifriends.com
Fri Feb 4 04:57:03 PST 2005


Hi everybody,

When I do a LDAP search with Turba 2.0/Horde 3.0 via the direct 
interface I do not get a result back. If I do the same search via the 
'address book' interface in IMAP I do get a result back. If I compare 
both search command's in the log file I see a slide difference:

Search command via Turba:
-----
Feb 04 13:38:19 HORDE [debug] [turba] LDAP query by 
Turba_Driver_ldap::_search(): user = beljaars,
  root = dc=imap,dc=aeteurope,dc=nl (localhost); filter = 
"(&(cn=*beljaars*))";
attributes = "dn, cn, mail, homephone, telephonenumber, 
mobiletelephonenumber, homepostaladdress, sn"; sizelimit = 0
[on line 134 of "/var/www/html/horde/turba/lib/Driver/ldap.php"]
------

Search via IMAP:
------
Feb 04 13:40:17 HORDE [debug] [turba] LDAP query by 
Turba_Driver_ldap::_search(): user = beljaars,
root = dc=imap,dc=aeteurope,dc=nl (localhost); filter = 
"(|(cn=*beljaars*))";
attributes = "dn, cn, mail, homephone, telephonenumber, 
mobiletelephonenumber, homepostaladdress, sn"; sizelimit = 0
[on line 134 of "/var/www/html/horde/turba/lib/Driver/ldap.php"]
-------

As you can see: the search command via Turba is '"(&(cn=*beljaars*))"' 
and the search command via IMAP address book is '"(|(cn=*beljaars*))"'. 
Where can I set the search paradigma's?

Best regards,
Haaino



More information about the turba mailing list