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 <[email protected]>
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 <[email protected]>.
    
    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

Reply via email to