From: Andrew Bartlett Date: Mon, 7 Jan 2008 11:41:16 +0000 (-0600) Subject: r26685: Fix bug 5137 by Mark Ridley. The RPC-ATSVC test is not tested, so was X-Git-Tag: samba-4.0.0alpha3~548 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=d6b863453dcda85e02e53c44d68272bf2ef95d19 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 --- diff --git a/source/torture/rpc/atsvc.c b/source/torture/rpc/atsvc.c index b0d1d1519d3..25ace8ac490 100644 --- a/source/torture/rpc/atsvc.c +++ b/source/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);