Displaying 1 result from an estimated 1 matches for "auth_reason".
2010 Mar 05
2
Bug in driver-mysql.c + fix
...k''.
password_check would NOT return a password, but would be given %o and determine
itself if the password is correct.
It would return the other values (user, userdb_home, ...) and auth_result
that would encode success/retry/fail (0, 1, 2 - or maybe more structured [**])
and auth_reason some human readable reason.
The ''nologin'' value encodes some of this.
The motivation for this is that my stored procedure will record the number of successive
login failures and lock the account after 3 of them. It would also be possible to
do time based restrictions & the...