diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/passdb.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 4 | ||||
-rw-r--r-- | source3/include/smb.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/passdb.h b/source3/include/passdb.h index 915f2950f3..a04ccf061e 100644 --- a/source3/include/passdb.h +++ b/source3/include/passdb.h @@ -352,7 +352,7 @@ struct pdb_methods 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 (*set_unix_primary_group)(struct pdb_methods *methods, TALLOC_CTX *mem_ctx, 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); diff --git a/source3/include/smb.h b/source3/include/smb.h index c01a156152..0776ed9656 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -205,7 +205,7 @@ struct lsa_name_info { typedef struct unix_user_token { uid_t uid; gid_t gid; - size_t ngroups; + uint32_t ngroups; gid_t *groups; } UNIX_USER_TOKEN; |