From c18dca113cd648029907d98112030a85ee5069f2 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 6 Apr 2008 11:27:36 +0200 Subject: wbcAllocateGid returns a gid_t, not a uid_t (This used to be commit 3130fb7b32285b8501f5ee8cbc62b478c09cccd3) --- source3/nsswitch/libwbclient/wbc_idmap.c | 2 +- source3/nsswitch/libwbclient/wbclient.h | 2 +- 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 -- cgit