[SCM] Samba Shared Repository - branch v3-4-test updated -
release-4-0-0alpha7-1150-ge77355f
Karolin Seeger
kseeger at samba.org
Fri Jun 19 06:17:46 GMT 2009
The branch, v3-4-test has been updated
via e77355fec0f3b30cadcefc106c4f7957bf763c6b (commit)
from eadbd85b2797683b3a17a1919c4aea28d6519a01 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit e77355fec0f3b30cadcefc106c4f7957bf763c6b
Author: Günther Deschner <gd at samba.org>
Date: Fri Jun 19 01:52:11 2009 +0200
s3-pam_winbind: Fix Bug 6253: Use correct value for password expiry calculation.
Based on patch from Blindauer Emmanuel <samba at mooby.net>.
Guenther
-----------------------------------------------------------------------
Summary of changes:
nsswitch/pam_winbind.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 545c87d..e90f1b7 100644
--- a/nsswitch/pam_winbind.c
+++ b/nsswitch/pam_winbind.c
@@ -914,7 +914,8 @@ 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 == -1) {
+ if ((policy->expire == (int64_t)-1) ||
+ (policy->expire == 0)) {
return;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list