summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/netlogon.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-04 20:07:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-05-20 17:39:09 +1000
commit4fa9aa30996219821d5d2496d574340f14a4a406 (patch)
treeb32ffeada48ed67039c2df0bf29d00eb14e26c08 /source4/torture/rpc/netlogon.c
parent5f9024c8a4350792e67e1d8dbe8e45ff5732bd66 (diff)
downloadsamba-4fa9aa30996219821d5d2496d574340f14a4a406.tar.gz
samba-4fa9aa30996219821d5d2496d574340f14a4a406.tar.bz2
samba-4fa9aa30996219821d5d2496d574340f14a4a406.zip
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
Diffstat (limited to 'source4/torture/rpc/netlogon.c')
-rw-r--r--source4/torture/rpc/netlogon.c2
1 files changed, 1 insertions, 1 deletions
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;