[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-1439-g290449a

Günther Deschner gd at samba.org
Tue May 5 10:58:48 GMT 2009


The branch, master has been updated
       via  290449aeae950d7490cdcf9d601052fc45bb84dd (commit)
      from  2c4725462e2251de887e043653aa0ce3eaa9771e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 290449aeae950d7490cdcf9d601052fc45bb84dd
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.
    
    Patch from Blindauer Emmanuel <samba at mooby.net>.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 nsswitch/pam_winbind.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c
index 0d33f59..545c87d 100644
--- 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;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list