summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-06-07 07:07:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:35 -0500
commit6d5a47aa9b9b0b7228fa13b4b1096caa5f32abb9 (patch)
tree247902fa596be90aafa3393a072f4c3b0eb759b7 /source4
parentbcac502d4470094108348bd3945e569f81a26b19 (diff)
downloadsamba-6d5a47aa9b9b0b7228fa13b4b1096caa5f32abb9.tar.gz
samba-6d5a47aa9b9b0b7228fa13b4b1096caa5f32abb9.tar.bz2
samba-6d5a47aa9b9b0b7228fa13b4b1096caa5f32abb9.zip
r1059: add dcesrv_crypto_schannel_session_info() dummy function.
every backend must implement all functions! metze (This used to be commit d62c0661f9234418478873dfc9ba244bdf5c36c0)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/dcesrv_crypto_schannel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/rpc_server/dcesrv_crypto_schannel.c b/source4/rpc_server/dcesrv_crypto_schannel.c
index 68eff453de..fb1c82bed7 100644
--- a/source4/rpc_server/dcesrv_crypto_schannel.c
+++ b/source4/rpc_server/dcesrv_crypto_schannel.c
@@ -107,6 +107,16 @@ static NTSTATUS dcesrv_crypto_schannel_update(struct dcesrv_auth *auth, TALLOC_C
}
/*
+ get auth_session_info state
+*/
+static NTSTATUS dcesrv_crypto_schannel_session_info(struct dcesrv_auth *auth, struct auth_session_info **session_info)
+{
+ struct srv_schannel_state *srv_schannel_state = auth->crypto_ctx.private_data;
+
+ return NT_STATUS_NOT_IMPLEMENTED;
+}
+
+/*
seal a packet
*/
static NTSTATUS dcesrv_crypto_schannel_seal(struct dcesrv_auth *auth, TALLOC_CTX *sig_mem_ctx,
@@ -173,6 +183,7 @@ static const struct dcesrv_crypto_ops dcesrv_crypto_schannel_ops = {
.auth_type = DCERPC_AUTH_TYPE_SCHANNEL,
.start = dcesrv_crypto_schannel_start,
.update = dcesrv_crypto_schannel_update,
+ .session_info = dcesrv_crypto_schannel_session_info,
.seal = dcesrv_crypto_schannel_seal,
.sign = dcesrv_crypto_schannel_sign,
.check_sig = dcesrv_crypto_schannel_check_sig,