The branch, v3-4-test has been updated
       via  a79ae4e5364fe8e3ec6b451364dc5d861f202528 (commit)
      from  aeb7de50b51840bddcdd4cbe6d96a4066b5116f0 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test


- Log -----------------------------------------------------------------
commit a79ae4e5364fe8e3ec6b451364dc5d861f202528
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
    (cherry picked from commit 290449aeae950d7490cdcf9d601052fc45bb84dd)

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

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