summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-07 05:41:16 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-06 23:48:02 -0600
commit637cd09d4b70bee49a924dbb60d0931add62adf6 (patch)
treef3a01aa2ce3bafa791cee5c767ea8fa1de8488f3 /source4/torture/rpc
parentbb93a7ed5ea32aa947c4a15197a34a0eced14e10 (diff)
downloadsamba-637cd09d4b70bee49a924dbb60d0931add62adf6.tar.gz
samba-637cd09d4b70bee49a924dbb60d0931add62adf6.tar.bz2
samba-637cd09d4b70bee49a924dbb60d0931add62adf6.zip
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)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/atsvc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c
index b0d1d1519d..25ace8ac49 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);