git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c47254
)
s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.
author
Günther Deschner
<gd@samba.org>
Tue, 5 May 2009 10:54:21 +0000
(12:54 +0200)
committer
Günther Deschner
<gd@samba.org>
Tue, 5 May 2009 10:54:21 +0000
(12:54 +0200)
Patch from Blindauer Emmanuel <samba@mooby.net>.
Guenther
nsswitch/pam_winbind.c
patch
|
blob
|
history
diff --git
a/nsswitch/pam_winbind.c
b/nsswitch/pam_winbind.c
index 0d33f59a23c62b50e53b3bdddd5d29e4fe8f4aa1..545c87d0c4b811b168b0e76bafa1dd0da17484b3 100644
(file)
--- a/
nsswitch/pam_winbind.c
+++ b/
nsswitch/pam_winbind.c
@@
-914,7
+914,7
@@
static void _pam_warn_password_expiry(struct pwb_context *ctx,
/* now check for the global password policy */
/* good catch from Ralf Haferkamp: an expiry of "never" is translated
* to -1 */
- if (policy->expire
<= 0
) {
+ if (policy->expire
== -1
) {
return;
}