summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-03 06:30:33 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-03 06:30:33 +0000
commitd064846d5f42bbb023a75a71d049b6a5037dbdd4 (patch)
treebe8ca492afba43a20f14a33f27d9ac87b86de99d /source4/torture
parentc5cf47443985c34ad32c44c322901e0fc3a065d7 (diff)
downloadsamba-d064846d5f42bbb023a75a71d049b6a5037dbdd4.tar.gz
samba-d064846d5f42bbb023a75a71d049b6a5037dbdd4.tar.bz2
samba-d064846d5f42bbb023a75a71d049b6a5037dbdd4.zip
we only want the per-call stub data
(This used to be commit 95fa15cdcf2df5e8436281cdf96c84228a56cc4c)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/lsa.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index dcf97cbfe2..c618685676 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -36,7 +36,6 @@ static DATA_BLOB blob_lsa_open_policy_req(TALLOC_CTX *mem_ctx, BOOL sec_qos,
prs_init(&qbuf, MAX_PDU_FRAG_LEN, mem_ctx, MARSHALL);
/* Initialise input parameters */
-
if (sec_qos) {
init_lsa_sec_qos(&qos, 2, 1, 0);
init_q_open_pol(&q, '\\', 0, des_access, &qos);
@@ -55,7 +54,7 @@ BOOL torture_rpc_lsa(int dummy)
{
NTSTATUS status;
struct dcerpc_pipe *p;
- DATA_BLOB request;
+ DATA_BLOB request, response;
TALLOC_CTX *mem_ctx;
mem_ctx = talloc_init("torture_rpc_lsa");
@@ -68,7 +67,7 @@ BOOL torture_rpc_lsa(int dummy)
request = blob_lsa_open_policy_req(mem_ctx, True,
SEC_RIGHTS_MAXIMUM_ALLOWED);
- status = cli_dcerpc_request(p, LSA_OPENPOLICY, mem_ctx, &request, NULL);
+ status = cli_dcerpc_request(p, LSA_OPENPOLICY, mem_ctx, &request, &response);
if (!NT_STATUS_IS_OK(status)) {
d_printf("Failed to LSA_OPENPOLICY - %s\n", nt_errstr(status));
}