Bug 8045 - re-connect too often on bad password error
re-connect too often on bad password error
Status: NEW
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
All All
: P5 normal
: ---
Assigned To: Steve French
Depends on:
  Show dependency treegraph
Reported: 2011-03-28 23:06 UTC by Andrew Tridgell
Modified: 2012-05-01 11:24 UTC (History)
0 users

See Also:


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.