Closed
Bug 393892
Opened 17 years ago
Closed 17 years ago
LDAP directories "Download Now" function doesn't bind properly (and fails)
Categories
(Thunderbird :: Address Book, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 316170
People
(Reporter: tguyot, Unassigned)
Details
User-Agent: Opera/9.23 (Windows NT 5.1; U; en) Build Identifier: version 2.0.0.6 (20070728) I set up AD-based LDAP directories in Mozilla Thunderbird. I can search trough them but when I go in the directory properties, under the "Offline" tab the "Download Now" button doesn't work. I enabled LDAP logging and the problem is obvious: Thunderbird uses an empty username for binding, and so access is denied. Reproducible: Always Steps to Reproduce: For this to work the LDAP server must refuse access to unauthenticated users. 1. Create a new LDAP directory and verify it's working by searching it. 2. In the directory properties, click on "Offline" then "Download Now" Actual Results: "Replication failed" gets printed under the button Expected Results: Directory gets downloaded Here the edited log with comments (prefixed by '***'): *** I try downloading the address book... 0[274c10]: nsLDAPOperation::SimpleBind(): called; bindName = ''; *** Notice the bindName = '' 3252[329f948]: nsLDAPConnection::Run() entered 0[274c10]: pending operation added; total pending operations now = 1 0[274c10]: nsLDAPOperation::SearchExt(): called with aBaseDn = 'OU=Users,DC=example,DC=com'; aFilter = '(objectclass=*)', aAttrCounts = 0, aSizeLimit = 0 0[274c10]: pending operation added; total pending operations now = 2 3252[329f948]: pending operation removed; total pending operations now = 1 3252[329f948]: pending operation removed; total pending operations now = 0 3252[329f948]: unbinding 3252[329f948]: unbound *** Not very verbose, but in the application I get "Replication failed". Now I try searching my name: 0[274c10]: nsLDAPOperation::SimpleBind(): called; bindName = 'me@example.com'; *** Notice the bindName = 'me@example.com' (address edited for privacy) 3752[32b3b50]: nsLDAPConnection::Run() entered 0[274c10]: pending operation added; total pending operations now = 1 0[274c10]: nsLDAPOperation::SearchExt(): called with aBaseDn = 'OU=Users,DC=example,DC=com'; aFilter = '(|(mail=*me*)(cn=*me*)(givenName=*me*)(sn=*me*))', aAttrCounts = 64, aSizeLimit = 100 0[274c10]: pending operation added; total pending operations now = 2 3752[32b3b50]: pending operation removed; total pending operations now = 1 *** Now I get a bunch of these (edited)...: 0[274c10]: nsLDAPMessage::GetDn(): dn = 'CN=Some User,OU=Some Group,OU=Users,DC=example,DC=com' *** And Thunderbird hapilly prints the results. 3752[32b3b50]: pending operation removed; total pending operations now = 0 3752[32b3b50]: unbinding 3752[32b3b50]: unbound
Reporter | ||
Updated•17 years ago
|
Summary: LDAP directories "Download Now" funclion doesn't bind properly (and fails) → LDAP directories "Download Now" function doesn't bind properly (and fails)
Comment 1•17 years ago
|
||
Duplicate of bug 316170. Note that this will be fixed in Thunderbird 3. The changes it requires are too significant for the Thunderbird 2 branch.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•