summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-06-16 23:11:05 +0200
committerStefan Metzmacher <metze@samba.org>2010-06-17 10:17:33 +0200
commitd823e529b86e01b7a8246b89e27cfd75f7b61428 (patch)
tree7b506ab14debb325f92c584f580843251a9fdac8 /source4/torture
parent22eb6d7b6b57ff0bee99ea86ddec676e7faaab8a (diff)
downloadsamba-d823e529b86e01b7a8246b89e27cfd75f7b61428.tar.gz
samba-d823e529b86e01b7a8246b89e27cfd75f7b61428.tar.bz2
samba-d823e529b86e01b7a8246b89e27cfd75f7b61428.zip
s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()
metze
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/remote_pac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/remote_pac.c b/source4/torture/rpc/remote_pac.c
index ba031c13a6..8e610a14bf 100644
--- a/source4/torture/rpc/remote_pac.c
+++ b/source4/torture/rpc/remote_pac.c
@@ -356,6 +356,7 @@ static bool test_S2U4Self(struct torture_context *tctx,
const char *test_machine_name)
{
NTSTATUS status;
+ struct dcerpc_binding_handle *b = p->binding_handle;
struct netr_LogonSamLogon r;
@@ -555,7 +556,7 @@ static bool test_S2U4Self(struct torture_context *tctx,
r.in.validation_level = 3;
- status = dcerpc_netr_LogonSamLogon(p, tctx, &r);
+ status = dcerpc_netr_LogonSamLogon_r(b, tctx, &r);
torture_assert_ntstatus_ok(tctx, status, "LogonSamLogon failed");
torture_assert(tctx, netlogon_creds_client_check(creds,