From d7fa34905223ebbf02dadcea0720062a30c3bbab Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 21 Feb 2011 10:30:28 +0100 Subject: s3:auth: change num_groups to from size_t to uint32_t This will help with the change from UNIX_USER_TOKEN to security_unix_token metze --- source3/include/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 31ebd37518..30774c7f18 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -952,7 +952,7 @@ int sys_connect(int fd, const struct sockaddr * addr); bool getgroups_unix_user(TALLOC_CTX *mem_ctx, const char *user, gid_t primary_gid, - gid_t **ret_groups, size_t *p_ngroups); + gid_t **ret_groups, uint32_t *p_ngroups); /* The following definitions come from lib/tallocmsg.c */ @@ -3814,7 +3814,7 @@ NTSTATUS pdb_enum_group_members(TALLOC_CTX *mem_ctx, size_t *p_num_members); NTSTATUS pdb_enum_group_memberships(TALLOC_CTX *mem_ctx, struct samu *user, struct dom_sid **pp_sids, gid_t **pp_gids, - size_t *p_num_groups); + uint32_t *p_num_groups); NTSTATUS pdb_set_unix_primary_group(TALLOC_CTX *mem_ctx, struct samu *user); NTSTATUS pdb_add_groupmem(TALLOC_CTX *mem_ctx, uint32_t group_rid, uint32_t member_rid); -- cgit