Closed Bug 634418 Opened 13 years ago Closed 13 years ago

The ldappool needs to be purged on credentials changes

Categories

(Cloud Services :: Server: Core, defect)

x86_64
Linux
defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tarek, Assigned: tarek)

Details

Attachments

(1 file)

ldapsql needs to purge any active connector in the pool when these APIs are called:

- delete_user
- update_password

I'll add a purge(bind) in the pool, and call it in these apis + tests
extra note: we need to protect the purge from concurrent accesses in case a syncing is going on.
Adding Pete since he is wise in the ways of LDAP
Attached patch Purges the poolSplinter Review
Fixes the bug and also clean up the ldap tests: the fake connectors are now also pooled so we have a similar behavior in the tests
Assignee: nobody → tarek
Status: NEW → ASSIGNED
Attachment #512768 - Flags: review?(telliott)
Added in http://hg.mozilla.org/services/server-core/rev/09e09069478c
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Sorry, forgot my latest comment that was for another bug :)
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attachment #512768 - Flags: review?(telliott) → review+
Commited in http://hg.mozilla.org/services/server-core/rev/db4f9400966d
Status: REOPENED → RESOLVED
Closed: 13 years ago13 years ago
Resolution: --- → FIXED
verified, no longer able to change PW, then log in with original. Only login with new.
Status: RESOLVED → VERIFIED
(In reply to comment #7)
> verified, no longer able to change PW, then log in with original. Only login
> with new.

Missing from this bug is a note that ldappool is now disabled by default.  If the above "verified" note applies to the staging or prod account portal, you may wish to coordinate with ops to repeat the tests with connection pooling enabled, so as to test the new ldappool code.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: