]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
wbcAllocateGid returns a gid_t, not a uid_t
authorVolker Lendecke <vl@samba.org>
Sun, 6 Apr 2008 09:27:36 +0000 (11:27 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 6 Apr 2008 09:28:46 +0000 (11:28 +0200)
source/nsswitch/libwbclient/wbc_idmap.c
source/nsswitch/libwbclient/wbclient.h

index 53f9678ee7c3229bdfe3c8fa6756b6d815a563fe..17f6fb8f9a5b64565e97173c711d833cf38efc18 100644 (file)
@@ -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;
index 4a9a3b2809860be902fb08a3482863c4c891d55a..8590a3079549e9672a527a2bfa09e3f79e37a82a 100644 (file)
@@ -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