1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:torture/rpc/remote_pac: use dcerpc_netr_LogonSamLogon_r() instead of dcerpc_netr_LogonSamLogon()

metze
This commit is contained in:
Stefan Metzmacher 2010-06-16 23:11:05 +02:00
parent 22eb6d7b6b
commit d823e529b8

View File

@ -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,