summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-04-06 11:27:36 +0200
committerVolker Lendecke <vl@samba.org>2008-04-06 11:28:46 +0200
commitc18dca113cd648029907d98112030a85ee5069f2 (patch)
tree6f38f1fa5cb97147f5c21971178ced6da48b1239
parentc7ab11f52dd5909dff4040f7d2cb0f0192df8a3b (diff)
downloadsamba-c18dca113cd648029907d98112030a85ee5069f2.tar.gz
samba-c18dca113cd648029907d98112030a85ee5069f2.tar.bz2
samba-c18dca113cd648029907d98112030a85ee5069f2.zip
wbcAllocateGid returns a gid_t, not a uid_t
(This used to be commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3)
-rw-r--r--source3/nsswitch/libwbclient/wbc_idmap.c2
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_idmap.c b/source3/nsswitch/libwbclient/wbc_idmap.c
index 53f9678ee7..17f6fb8f9a 100644
--- a/source3/nsswitch/libwbclient/wbc_idmap.c
+++ b/source3/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/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h
index 4a9a3b2809..8590a30795 100644
--- a/source3/nsswitch/libwbclient/wbclient.h
+++ b/source3/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