From 799f8d7e13cc712f32cdd779770e4868ad17486b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Sep 2009 00:26:17 +0200 Subject: schannel: fully share schannel sign/seal between s3 and 4. Guenther --- source3/include/client.h | 2 +- source3/include/ntdomain.h | 2 +- source3/include/proto.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/client.h b/source3/include/client.h index e83927cfe5..82d94b055f 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -55,7 +55,7 @@ struct cli_pipe_auth_data { DATA_BLOB user_session_key; union { - struct schannel_auth_struct *schannel_auth; + struct schannel_state *schannel_auth; NTLMSSP_STATE *ntlmssp_state; struct kerberos_auth_struct *kerberos_auth; } a_u; diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 1d303ca64a..f90478296c 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -150,7 +150,7 @@ struct pipe_auth_data { enum pipe_auth_type auth_type; /* switch for union below. */ enum dcerpc_AuthLevel auth_level; union { - struct schannel_auth_struct *schannel_auth; + struct schannel_state *schannel_auth; AUTH_NTLMSSP_STATE *auth_ntlmssp_state; /* struct kerberos_auth_struct *kerberos_auth; TO BE ADDED... */ } a_u; diff --git a/source3/include/proto.h b/source3/include/proto.h index 35d1a9929d..2c7c7b1b09 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -5298,7 +5298,7 @@ NTSTATUS rpccli_ntlmssp_bind_data(TALLOC_CTX *mem_ctx, struct cli_pipe_auth_data **presult); NTSTATUS rpccli_schannel_bind_data(TALLOC_CTX *mem_ctx, const char *domain, enum dcerpc_AuthLevel auth_level, - const uint8_t sess_key[16], + struct netlogon_creds_CredentialState *creds, struct cli_pipe_auth_data **presult); NTSTATUS rpccli_kerberos_bind_data(TALLOC_CTX *mem_ctx, enum dcerpc_AuthLevel auth_level, -- cgit