Closed Bug 480931 Opened 15 years ago Closed 15 years ago

Thunderbird fails to bind on OpenLDAP 2.4

Categories

(Thunderbird :: Address Book, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 316170

People

(Reporter: Ikonta, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.6) Gecko/2009021612 Gentoo Firefox/3.0.6
Build Identifier: версия 2.0.0.19 (20090112)

After upgrade our LDAP server from OpenLDAP 2.3.43 on FreeBSD 6.2 to
OpenLDAP 2.4.14 on FreeBSD 7.1, my e-mail client Thunderbird
(mail-client/mozilla-thunderbird Installed versions:  2.0.0.19 on Gentoo Linux) 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


This problem was also reported in Gentoo Bugzilla: http://bugs.gentoo.org/show_bug.cgi?id=260833
My guess is your 2.4 installation doesn't allow anonymous binding. There is a bug in Thunderbird 2.x that means downloading for offline use will only work if you are able to bind anonymously.

If this is what you are seeing then this is a duplicate of bug 316170 which has already been fixed for the Thunderbird 3.x builds (but is too much work/risk to back-port to the 2.x builds).
Yes, it duplicates that bug (first time I've thought that not).

I've checked, Thunderbird fails to bind only when replication is requested.
Simple search works normally.

I'll wait the Thunderbird 3.x release :)
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Resolution: WONTFIX → DUPLICATE
You need to log in before you can comment on or make changes to this bug.