samba-cvs.cvs
[Top] [All Lists]

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

Subject: [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3809-g0efe7e5
From: jra@xxxxxxxxx (Jeremy Allison)
Date: Fri, 22 Aug 2008 15:56:35 -0500 (CDT)
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@xxxxxxxxx>
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

<Prev in Thread] Current Thread [Next in Thread>
  • [SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3809-g0efe7e5, Jeremy Allison <=