[OSUSER-6] LDAP credential provider Created: 22/Dec/04  Updated: 22/Dec/04

Status: Open
Project: osuser
Component/s: www
Affects Version/s: current
Fix Version/s: milestone 1

Type: Bug Priority: Major
Reporter: amichalec Assignee: osuser-issues
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: All
Platform: All

Issuezilla Id: 6


LDAPCredentialsProvider class has two logical flaws:
1. Walking through matching results (and switching credentials) can cause an
exception that skip that loop (and any left potentially correct entries) trying
at once other credentials providers.
2. dnBuffer is not cleaned in loop causing incorrect DN construction.

Also for Lotus Domino R5 it causes problems (Domino LDAP server drops connection
when attempt to switch credentials for bound context).

I have changed all these problems and tested with Lotus Domino R5 LDAP server.
Check this code with other LDAP servers and include into OSUser latest release,

Generated at Sun May 01 09:40:49 UTC 2016 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.