summaryrefslogtreecommitdiff
path: root/source3/rpc_server/samr
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/rpc_server/samr
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/rpc_server/samr')
-rw-r--r--source3/rpc_server/samr/srv_samr_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/samr/srv_samr_nt.c b/source3/rpc_server/samr/srv_samr_nt.c
index b5d5111b20..d53d859f55 100644
--- a/source3/rpc_server/samr/srv_samr_nt.c
+++ b/source3/rpc_server/samr/srv_samr_nt.c
@@ -3228,9 +3228,9 @@ NTSTATUS _samr_GetGroupsForUser(struct pipes_struct *p,
struct samr_RidWithAttribute dom_gid;
struct samr_RidWithAttribute *gids = NULL;
uint32 primary_group_rid;
- size_t num_groups = 0;
+ uint32_t num_groups = 0;
gid_t *unix_gids;
- size_t i, num_gids;
+ uint32_t i, num_gids;
bool ret;
NTSTATUS result;
bool success = False;