Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260833 - Thunderbird fails to bind on OpenLDAP 2.4
Summary: Thunderbird fails to bind on OpenLDAP 2.4
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-02 08:41 UTC by Sergey S. Starikoff
Modified: 2011-10-30 23:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2009-03-02 08:41:07 UTC
After upgrade our LDAP server from OpenLDAP 2.3.43 on FreeBSD 6.2 to OpenLDAP2.4.14 on FreeBSD 7.1, my e-mail client Thunderbird (mail-client/mozilla-thunderbird Installed versions:  2.0.0.19) fails to read from Adressbook on LDAP-server (authorization is required).

Reproducible: Always

Steps to Reproduce:
1. Setup nearly standard openldap24-server on FreeBSD 7.1
2. Build Thunderbird with LDAP-support on Gentoo.
3. Create some users accounts in ou=Users,dc=mydomain,dc=com
4. Create some adressbook entries in ou=Adressbook,dc=mydomain,dc=com
5. Ensure, that everythink is OK by executing:
$ ldapsearch -x -h ldap.mydomain.com -D "uid=user,ou=Users,dc=mydomain,dc=com" -W -b "ou=Adressbook,dc=mydomain,dc=com"
6. Add LDAP directory in Thunderbird and try to make replication.
Actual Results:  
Replication error.

Expected Results:  
Success search and some adressbook entries, as it was, when I've used OpenLDAP 2.3

When LDAP server is started with loglevel 256 success search in slapd.log look like:

Mar  2 11:24:04 mx4 slapd[975]: conn=0 fd=10 ACCEPT from IP=192.168.1.16:50524 (IP=192.168.1.1:389)
Mar  2 11:24:04 mx4 slapd[975]: conn=0 op=0 BIND dn="uid=user,ou=Users,dc=mydomain,dc=com" method=128
Mar  2 11:24:04 mx4 slapd[975]: conn=0 op=0 BIND dn="uid=user,ou=Users,dc=mydomain,dc=com" mech=SIMPLE ssf=0
Mar  2 11:24:04 mx4 slapd[975]: conn=0 op=0 RESULT tag=97 err=0 text=
Mar  2 11:24:04 mx4 slapd[975]: conn=0 op=1 SRCH base="ou=Adressbook,dc=mydomain,dc=com" scope=2 deref=0 filter="(objectClass=*)"
Mar  2 11:24:04 mx4 slapd[975]: conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=85 text=
Mar  2 11:24:05 mx4 slapd[975]: conn=0 op=2 UNBIND
Mar  2 11:24:05 mx4 slapd[975]: conn=0 fd=10 closed

And when I'm trying to make replication from Thunderbird I get:

Mar  2 11:24:43 mx4 slapd[975]: conn=1 fd=10 ACCEPT from IP=192.168.1.16:50590 (IP=192.168.1.1:389)
Mar  2 11:24:43 mx4 slapd[975]: conn=1 op=0 BIND dn="" method=128
Mar  2 11:24:43 mx4 slapd[975]: conn=1 op=0 RESULT tag=97 err=0 text=
Mar  2 11:24:43 mx4 slapd[975]: conn=1 op=1 SRCH base="ou=Adressbook,dc=mydomain,c=com" scope=2 deref=0 filter="(objectClass=*)"
Mar  2 11:24:43 mx4 slapd[975]: conn=1 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Mar  2 11:24:43 mx4 slapd[975]: conn=1 op=2 UNBIND
Mar  2 11:24:43 mx4 slapd[975]: conn=1 fd=10 closed
Comment 1 Sergey S. Starikoff 2009-03-03 06:28:47 UTC
Thunderburd fails to authorise only when replication is requested.
Simple search works normailly.
It's fixed in 3.x branch.

OK. Let's wait the Thunderbird 3.0 release :)