diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-08-08 19:10:29 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2013-08-12 16:48:52 +1200 |
commit | 6b9977916ec6de2ae4b224e3dcbc6c1f3e7b207e (patch) | |
tree | bd49f61007eaf9289e8e0f97a3ff8a87f48268a1 /source4/torture | |
parent | 72dec3c1f169d77a0456000d4fa512e8bd2d9007 (diff) | |
download | samba-6b9977916ec6de2ae4b224e3dcbc6c1f3e7b207e.tar.gz samba-6b9977916ec6de2ae4b224e3dcbc6c1f3e7b207e.tar.bz2 samba-6b9977916ec6de2ae4b224e3dcbc6c1f3e7b207e.zip |
s4:torture/rpc: s/getgroups/getgr to avoid compiler warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samsync.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 656dbf912b..d6d0550821 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -489,7 +489,7 @@ static bool samsync_handle_user(struct torture_context *tctx, TALLOC_CTX *mem_ct union samr_UserInfo *info; struct policy_handle user_handle; - struct samr_GetGroupsForUser getgroups; + struct samr_GetGroupsForUser getgr; struct samr_RidWithAttributeArray *rids; if (domain == NULL || @@ -521,13 +521,13 @@ static bool samsync_handle_user(struct torture_context *tctx, TALLOC_CTX *mem_ct torture_assert_ntstatus_ok(tctx, q.out.result, talloc_asprintf(tctx, "OpenUserInfo level %u failed", q.in.level)); - getgroups.in.user_handle = &user_handle; - getgroups.out.rids = &rids; + getgr.in.user_handle = &user_handle; + getgr.out.rids = &rids; torture_assert_ntstatus_ok(tctx, - dcerpc_samr_GetGroupsForUser_r(samsync_state->b_samr, mem_ctx, &getgroups), + dcerpc_samr_GetGroupsForUser_r(samsync_state->b_samr, mem_ctx, &getgr), "GetGroupsForUser failed"); - torture_assert_ntstatus_ok(tctx, getgroups.out.result, + torture_assert_ntstatus_ok(tctx, getgr.out.result, "GetGroupsForUser failed"); if (!test_samr_handle_Close(samsync_state->b_samr, tctx, &user_handle)) { |