The Samba-Bugzilla – Attachment 4358 Details for
Bug 6509
passdb:fetch_gid_from_cache() looks into UID cache not GID cache
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.4
0001-s3-passdb-fix-bug-6509-use-gid-not-uid-cache-in.patch (text/plain), 976 bytes, created by
Michael Adam
on 2009-06-26 18:55:01 UTC
(
hide
)
Description:
Patch for 3.4
Filename:
MIME Type:
Creator:
Michael Adam
Created:
2009-06-26 18:55:01 UTC
Size:
976 bytes
patch
obsolete
>From c7941e48925eb59ae682ca3fb4429210277bfcf7 Mon Sep 17 00:00:00 2001 >From: Michael Adam <obnox@samba.org> >Date: Fri, 26 Jun 2009 14:09:10 +0200 >Subject: [PATCH] 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) >--- > source3/passdb/lookup_sid.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >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; >-- >1.6.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6509
: 4358 |
4536