git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abb45cc
)
Add another message rather than 'internal module error'
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 24 Jul 2002 03:13:43 +0000
(
03:13
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 24 Jul 2002 03:13:43 +0000
(
03:13
+0000)
Andrew Bartlett
(This used to be commit
e09c4bd69aaec0dc43b5bf69f651cbfad3c5f4ad
)
source3/nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/pam_winbind.c
b/source3/nsswitch/pam_winbind.c
index a8754d1710db7befcc8c2ab3ba09858091d767a9..29ceca4e79ef877e2aede66a4a70af7ffef3fb01 100644
(file)
--- 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)