Author: abartlet Date: 2008-01-07 05:41:16 +0000 (Mon, 07 Jan 2008) New Revision: 26685
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26685 Log: 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 Modified: branches/SAMBA_4_0/source/torture/rpc/atsvc.c Changeset: Modified: branches/SAMBA_4_0/source/torture/rpc/atsvc.c =================================================================== --- branches/SAMBA_4_0/source/torture/rpc/atsvc.c 2008-01-07 05:22:14 UTC (rev 26684) +++ branches/SAMBA_4_0/source/torture/rpc/atsvc.c 2008-01-07 05:41:16 UTC (rev 26685) @@ -27,9 +27,14 @@ { 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);