[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3809-g0efe7e5

Jeremy Allison jra at samba.org
Fri Aug 22 20:56:35 GMT 2008


The branch, v3-3-test has been updated
       via  0efe7e5e95497def1b75ceb8ba84b45d118e7746 (commit)
      from  0ca3ad6520778d78eeecfd78cd5036abd268e1b9 (commit)

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


- Log -----------------------------------------------------------------
commit 0efe7e5e95497def1b75ceb8ba84b45d118e7746
Author: Gerald (Jerry) Carter <jerry at samba.org>
Date:   Fri Aug 22 14:54:50 2008 -0500

    idmap_gid_to_sid: Fix a cut-a-npaste error.
    
    The call was looking up a uid and not gid in the cache.

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

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


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap_util.c b/source/winbindd/idmap_util.c
index 2a6beca..b10a1a4 100644
--- a/source/winbindd/idmap_util.c
+++ b/source/winbindd/idmap_util.c
@@ -87,7 +87,7 @@ NTSTATUS idmap_gid_to_sid(const char *domname, DOM_SID *sid, gid_t gid)
 
 	DEBUG(10,("gid = [%lu]\n", (unsigned long)gid));
 
-	if (idmap_cache_find_uid2sid(gid, sid, &expired)) {
+	if (idmap_cache_find_gid2sid(gid, sid, &expired)) {
 		DEBUG(10, ("idmap_cache_find_gid2sid found %d%s\n", gid,
 			   expired ? " (expired)": ""));
 		if (expired && idmap_is_online()) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list