From 637cd09d4b70bee49a924dbb60d0931add62adf6 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 7 Jan 2008 05:41:16 -0600 Subject: [PATCH 1/1] r26685: Fix bug 5137 by Mark Ridley. The RPC-ATSVC test is not tested, so was broken by 'ref' changes long ago. We need a working script to aim against windows. Andrew Bartlett (This used to be commit d6b863453dcda85e02e53c44d68272bf2ef95d19) --- source4/torture/rpc/atsvc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c index b0d1d1519d3..25ace8ac490 100644 --- a/source4/torture/rpc/atsvc.c +++ b/source4/torture/rpc/atsvc.c @@ -27,9 +27,14 @@ static bool test_JobGetInfo(struct dcerpc_pipe *p, struct torture_context *tctx, { NTSTATUS status; struct atsvc_JobGetInfo r; + struct atsvc_JobInfo *info = talloc(tctx, struct atsvc_JobInfo); + if (!info) { + return false; + } r.in.servername = dcerpc_server_name(p); r.in.job_id = job_id; + r.out.job_info = &info; status = dcerpc_atsvc_JobGetInfo(p, tctx, &r); -- 2.34.1