summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-02-21 10:30:28 +0100
committerAndrew Bartlett <abartlet@samba.org>2011-02-22 16:20:11 +1100
commitd7fa34905223ebbf02dadcea0720062a30c3bbab (patch)
tree5b3a47f4a3d9dc26b25ee901fbcd72347ebeb516 /source3/lib
parent2e69e894566d32001120d76d7ba58cdacb56d279 (diff)
downloadsamba-d7fa34905223ebbf02dadcea0720062a30c3bbab.tar.gz
samba-d7fa34905223ebbf02dadcea0720062a30c3bbab.tar.bz2
samba-d7fa34905223ebbf02dadcea0720062a30c3bbab.zip
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
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system_smbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c
index 37fac27b73..3bb2c4240b 100644
--- a/source3/lib/system_smbd.c
+++ b/source3/lib/system_smbd.c
@@ -146,9 +146,9 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp
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)
{
- size_t ngrp;
+ uint32_t ngrp;
int max_grp;
gid_t *temp_groups;
gid_t *groups;