Bug 8045 - re-connect too often on bad password error
Summary: re-connect too often on bad password error
Status: NEW
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Steve French
QA Contact: cifs QA contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-28 23:06 UTC by Andrew Tridgell
Modified: 2020-08-13 15:05 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Tridgell 2011-03-28 23:06:07 UTC
when a session drops after a password change, the client tries to reconnect every couple of seconds, which causes the bad password counter to go up rapidly, and could lock the account.

I think this needs throttling, or possibly just unmount on bad password errors.
Comment 1 Jeff Layton 2012-05-01 11:24:40 UTC
Well, we can't really unmount at that point -- mounting is controlled at a
different layer. Throttling is probably doable -- the reconnect behavior of
cifs.ko in general needs some work.