From 4fa9aa30996219821d5d2496d574340f14a4a406 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 4 Mar 2010 20:07:12 +1100 Subject: s4:torture Add tests to demonstrate S2U4Self in the RPC-PAC test We also compare against SamLogon to try and validate the whole thing. Note that we must represent NULL as "" when comparing between the PAC and SamLogon, due to different marshalling of the structures. Andrew Bartlett --- source4/torture/rpc/netlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/torture/rpc/netlogon.c') diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index 49693ffa84..96ae4c0dfe 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -146,7 +146,7 @@ bool test_SetupCredentials(struct dcerpc_pipe *p, struct torture_context *tctx, bool test_SetupCredentials2(struct dcerpc_pipe *p, struct torture_context *tctx, uint32_t negotiate_flags, struct cli_credentials *machine_credentials, - int sec_chan_type, + enum netr_SchannelType sec_chan_type, struct netlogon_creds_CredentialState **creds_out) { struct netr_ServerReqChallenge r; -- cgit