diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-24 03:13:43 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-24 03:13:43 +0000 |
commit | fc6ae0994d6038f5b292007fe508af0c892a6f7f (patch) | |
tree | 29042ee48e37db094a08afe575b3fc192c72fed3 | |
parent | abb45ccfa02e4bedccaf10b8ae9e8d264163b026 (diff) | |
download | samba-fc6ae0994d6038f5b292007fe508af0c892a6f7f.tar.gz samba-fc6ae0994d6038f5b292007fe508af0c892a6f7f.tar.bz2 samba-fc6ae0994d6038f5b292007fe508af0c892a6f7f.zip |
Add another message rather than 'internal module error'
Andrew Bartlett
(This used to be commit e09c4bd69aaec0dc43b5bf69f651cbfad3c5f4ad)
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index a8754d1710..29ceca4e79 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/nsswitch/pam_winbind.c @@ -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) |