Summary | Problems with Ldap preference |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Duplicate |
Priority | 1. Low |
Owners | |
Requester | leandro.damascena (at) gmail (dot) com |
Created | 02/06/2013 (4554 days ago) |
Due | |
Updated | 02/06/2013 (4554 days ago) |
Assigned | |
Resolved | 02/06/2013 (4554 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Duplicate
Priority ⇒ 1. Low
Bug #11697State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Problems with Ldap preference
Queue ⇒ Horde Framework Packages
Milestone ⇒
Patch ⇒ No
working. Seems to be a problem in the builder filter.. Basedn
attribute is being ignored and filter is wrong..
Follow the error, my configure and my LDAP
Configure:
$conf['prefs']['params']['hostspec'] = '127.0.0.1';
$conf['prefs']['params']['port'] = 389;
$conf['prefs']['params']['tls'] = false;
$conf['prefs']['params']['version'] = 3;
$conf['prefs']['params']['binddn'] = 'cn=Admin,o=EMP';
$conf['prefs']['params']['bindpw'] = 'mypass';
$conf['prefs']['params']['bindas'] = 'admin';
$conf['prefs']['params']['basedn'] = 'o=EMP';
$conf['prefs']['params']['scope'] = 'sub';
$conf['prefs']['params']['uid'] = 'uid';
$conf['prefs']['params']['driverconfig'] = 'custom';
$conf['prefs']['driver'] = 'Ldap';
LDAP ENTRY:
dn: uid=mail9@mylocal.com,ou=mylocal.com,o=EMP
uid: mail9@mylocal.com
userPassword:: e01ENX00UXJjT1VtNldhdStWdUJYOGcrSVBnPT0=
A lot of others attributes
Horde ERROR:
2013-02-06T13:44:44-02:00 ERR: HORDE [horde] Bad search filter
Parameters:
Base:
Filter: (&(objectclass=)(=mail9@mylocal.com))
Scope: sub
LDAP command line search (same filter as horde use)
ldapsearch -x -LLL -D "cn=Admin,o=EMP" -w mypass
'(&(objectclass=)(=mail9@mylocal.com))'
ldapsearch: ldap_search_ext: Bad search filter (-7)
LDAP command line search (using correct filter)
ldapsearch -x -D "cn=Admin,o=EMP" -w mypass -b o=EMP
'(&(objectclass=*)(mail=mail9@mylocal.com))'
# extended LDIF
#
# LDAPv3
# base <o=EMP> with scope subtree
# filter: (&(objectclass=*)(mail=mail9@mylocal.com)
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1