From: Volker Lendecke Date: Sun, 6 Apr 2008 09:27:36 +0000 (+0200) Subject: wbcAllocateGid returns a gid_t, not a uid_t X-Git-Tag: samba-3.3.0pre1~2897 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3130fb7b32285b8501f5ee8cbc62b478c09cccd3;p=thirdparty%2Fsamba.git wbcAllocateGid returns a gid_t, not a uid_t --- diff --git a/source/nsswitch/libwbclient/wbc_idmap.c b/source/nsswitch/libwbclient/wbc_idmap.c index 53f9678ee7c..17f6fb8f9a5 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 4a9a3b28098..8590a307954 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