Closed Bug 35512 Opened 25 years ago Closed 23 years ago

[LDAP] LDAP doesn't bind correctly when using authentication

Categories

(MailNews Core :: Backend, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: phil, Unassigned)

References

(Blocks 1 open bug)

Details

This is really a 4.x bug, but I'm entering it in bugzilla in case we ever get around to porting msglsrch.cpp into mozilla. When we bind to an LDAP server, we're supposed to issue the bind request, and then wait until the LDAP server returns LDAP_RES_BIND before beginning the search operation. This is what we do when we bind anonymously to the server. However, when we bind using LDAP authentication (DN and password), we move on to the search state before the bind is done. This is a bug in msg_SearchLdap::PreAuthBindResponse()
Blocks: 36557
Summary: LDAP doesn't bind correctly when using authentication → [LDAP] LDAP doesn't bind correctly when using authentication
This seems unlikely to be compatible with the XPCOM wrapper approach for the LDAP C SDK that we've got in use now. Is there anything in particular that porting the old code would buy us? i.e. I'd be a little surprised if it actually saved time, but I could well be wrong. :-)
Marking INVALID; the current Mozilla code does not have this problem.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.