From 3dc258faa70303e9687e67a9df1bc6f7d2680e88 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 12 Apr 2007 15:06:24 +0000 Subject: r22201: crash fix... metze (This used to be commit 60799d171fa12debe61164b467e55a9e08485e28) --- source4/torture/rpc/unixinfo.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/torture') diff --git a/source4/torture/rpc/unixinfo.c b/source4/torture/rpc/unixinfo.c index 25b3da31dd..c24217dac1 100644 --- a/source4/torture/rpc/unixinfo.c +++ b/source4/torture/rpc/unixinfo.c @@ -33,9 +33,11 @@ static bool test_sidtouid(struct torture_context *tctx, struct dcerpc_pipe *p) NTSTATUS status; struct unixinfo_SidToUid r; struct dom_sid *sid; + uint64_t uid; sid = dom_sid_parse_talloc(tctx, "S-1-5-32-1234-5432"); r.in.sid = *sid; + r.out.uid = &uid; status = dcerpc_unixinfo_SidToUid(p, tctx, &r); if (NT_STATUS_EQUAL(NT_STATUS_NONE_MAPPED, status)) { @@ -94,9 +96,11 @@ static bool test_sidtogid(struct torture_context *tctx, struct dcerpc_pipe *p) NTSTATUS status; struct unixinfo_SidToGid r; struct dom_sid *sid; + uint64_t gid; sid = dom_sid_parse_talloc(tctx, "S-1-5-32-1234-5432"); r.in.sid = *sid; + r.out.gid = &gid; status = dcerpc_unixinfo_SidToGid(p, tctx, &r); if (NT_STATUS_EQUAL(NT_STATUS_NONE_MAPPED, status)) { -- cgit