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

Volker Lendecke vlendec at samba.org
Sun Apr 6 09:28:40 GMT 2008


The branch, v3-2-test has been updated
       via  3130fb7b32285b8501f5ee8cbc62b478c09cccd3 (commit)
      from  26218826c327d85c2ef8d0d1addaef24d249d6bf (commit)

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


- Log -----------------------------------------------------------------
commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3
Author: Volker Lendecke <vl at samba.org>
Date:   Sun Apr 6 11:27:36 2008 +0200

    wbcAllocateGid returns a gid_t, not a uid_t

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

Summary of changes:
 source/nsswitch/libwbclient/wbc_idmap.c |    2 +-
 source/nsswitch/libwbclient/wbclient.h  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/libwbclient/wbc_idmap.c b/source/nsswitch/libwbclient/wbc_idmap.c
index 53f9678..17f6fb8 100644
--- a/source/nsswitch/libwbclient/wbc_idmap.c
+++ b/source/nsswitch/libwbclient/wbc_idmap.c
@@ -243,7 +243,7 @@ wbcErr wbcAllocateUid(uid_t *puid)
  * @return #wbcErr
  **/
 
-wbcErr wbcAllocateGid(uid_t *pgid)
+wbcErr wbcAllocateGid(gid_t *pgid)
 {
 	struct winbindd_request request;
 	struct winbindd_response response;
diff --git a/source/nsswitch/libwbclient/wbclient.h b/source/nsswitch/libwbclient/wbclient.h
index 4a9a3b2..8590a30 100644
--- a/source/nsswitch/libwbclient/wbclient.h
+++ b/source/nsswitch/libwbclient/wbclient.h
@@ -344,7 +344,7 @@ wbcErr wbcGidToSid(gid_t gid,
 
 wbcErr wbcAllocateUid(uid_t *puid);
 
-wbcErr wbcAllocateGid(uid_t *pgid);
+wbcErr wbcAllocateGid(gid_t *pgid);
 
 /*
  * NSS Lookup User/Group details


-- 
Samba Shared Repository


More information about the samba-cvs mailing list