mirror of
https://github.com/samba-team/samba.git
synced 2025-03-07 00:58:40 +03:00
Add another message rather than 'internal module error'
Andrew Bartlett (This used to be commit e09c4bd69aaec0dc43b5bf69f651cbfad3c5f4ad)
This commit is contained in:
parent
abb45ccfa0
commit
fc6ae0994d
@ -163,6 +163,10 @@ static int winbind_auth_request(const char *user, const char *pass, int ctrl)
|
||||
/* password expired */
|
||||
_pam_log(LOG_WARNING, "user `%s' password expired", user);
|
||||
return retval;
|
||||
case PAM_NEW_AUTHTOK_REQD:
|
||||
/* password expired */
|
||||
_pam_log(LOG_WARNING, "user `%s' new password required", user);
|
||||
return retval;
|
||||
case PAM_USER_UNKNOWN:
|
||||
/* the user does not exist */
|
||||
if (ctrl & WINBIND_DEBUG_ARG)
|
||||
|
Loading…
x
Reference in New Issue
Block a user