[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-5316-g3815e87
Karolin Seeger
kseeger at samba.org
Fri Jun 19 06:18:04 GMT 2009
The branch, v3-3-test has been updated
via 3815e87f1ffea44c4d76e6c2515ff4894f6896c9 (commit)
from 0cfe59f1b580371f445b50151ceae5aef02bf0c4 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 3815e87f1ffea44c4d76e6c2515ff4894f6896c9
Author: Günther Deschner <gd at samba.org>
Date: Tue May 5 12:54:21 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:
source/nsswitch/pam_winbind.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 26ef1d4..1211ffd 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/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 <= 0) {
+ if ((policy->expire == (int64_t)-1) ||
+ (policy->expire == 0)) {
return;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list