[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-5340-gc70d545
Karolin Seeger
kseeger at samba.org
Tue Aug 11 07:01:47 MDT 2009
The branch, v3-3-test has been updated
via c70d54508e1cb8f5edbad02a632dfd52d65fd699 (commit)
from 40da23b6a7dc7acfbdf76a6808b7e50c6c39093e (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit c70d54508e1cb8f5edbad02a632dfd52d65fd699
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
-----------------------------------------------------------------------
Summary of changes:
source/passdb/lookup_sid.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/passdb/lookup_sid.c b/source/passdb/lookup_sid.c
index 25dd73e..10f6cc6 100644
--- a/source/passdb/lookup_sid.c
+++ b/source/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, 0)),
&cache_value)) {
return false;
--
Samba Shared Repository
More information about the samba-cvs
mailing list