[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1159-g410fa82

Karolin Seeger kseeger at samba.org
Sat Jun 27 07:53:31 GMT 2009


The branch, v3-4-test has been updated
       via  410fa8258169bc9b4a61164cd893746d3e6abfae (commit)
      from  35c8019db31ccb673498b32134944d8acac6ffa9 (commit)

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


- Log -----------------------------------------------------------------
commit 410fa8258169bc9b4a61164cd893746d3e6abfae
Author: Michael Adam <obnox at samba.org>
Date:   Fri Jun 26 14:09:10 2009 +0200

    s3:passdb: fix bug #6509: use gid (not uid) cache in fetch_gid_from_cache().
    
    With the previous code, the cache can never have been hit at all.
    
    Michael
    (cherry picked from commit a4bc5bfa95be242fe1c8e0cd520a8f1e3d2a67f5)

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

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


Changeset truncated at 500 lines:

diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index 3a03cfe..112225d 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -1085,7 +1085,7 @@ static bool fetch_gid_from_cache(gid_t *pgid, const DOM_SID *psid)
 {
 	DATA_BLOB cache_value;
 
-	if (!memcache_lookup(NULL, SID_UID_CACHE,
+	if (!memcache_lookup(NULL, SID_GID_CACHE,
 			     data_blob_const(psid, ndr_size_dom_sid(psid, NULL, 0)),
 			     &cache_value)) {
 		return false;


-- 
Samba Shared Repository


More information about the samba-cvs mailing list