[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Sat Oct 15 11:46:13 MDT 2011


The branch, v3-6-test has been updated
       via  78c8a1f Fix bug #8521 - winbindd cache timeout expiry test was reversed
      from  095a8c2 s3: Fix bug 8455 -- Samba PDC is looking up only primary user group

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


- Log -----------------------------------------------------------------
commit 78c8a1f74042738d6028636902cdb575a4359443
Author: Jeremy Allison <jra at samba.org>
Date:   Wed Oct 12 09:43:18 2011 -0700

    Fix bug #8521 - winbindd cache timeout expiry test was reversed
    
    Found and fix reported by Micha Lenk <micha at lenk.info>. Thanks !
    (cherry picked from commit 1e4761d05978b7a495d121acc1deaa7049f3911c)

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

Summary of changes:
 source3/winbindd/winbindd_cache.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 4f902b5..4b0c35b 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -4803,7 +4803,7 @@ bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,
 			goto fail;
 		}
 		entry_timeout = BVAL(data.dptr, 4);
-		if (entry_timeout > time(NULL)) {
+		if (time(NULL) > entry_timeout) {
 			DEBUG(10, ("Entry has timed out\n"));
 			goto fail;
 		}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list