summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-30 10:51:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:05:04 -0500
commit557bf8d3e4bfed92645c64ebc06c3e076eb16053 (patch)
tree98587e77077c48b16c217f298e450d3cc016c877 /source4
parentc2cf02c116e07553d0c5bc2eb66be2e1e0135efc (diff)
downloadsamba-557bf8d3e4bfed92645c64ebc06c3e076eb16053.tar.gz
samba-557bf8d3e4bfed92645c64ebc06c3e076eb16053.tar.bz2
samba-557bf8d3e4bfed92645c64ebc06c3e076eb16053.zip
r3389: fixed schannel client side code. RPC-SCHANNEL now works against w2k3
again. The problem was that the sig_size method didn't get added in the gensec conversion. (This used to be commit a49b61173dbadbf4efb0fbcfaba67da393913639)
Diffstat (limited to 'source4')
-rw-r--r--source4/librpc/rpc/dcerpc_schannel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_schannel.c b/source4/librpc/rpc/dcerpc_schannel.c
index 700a2a40fb..2d2e845837 100644
--- a/source4/librpc/rpc/dcerpc_schannel.c
+++ b/source4/librpc/rpc/dcerpc_schannel.c
@@ -92,6 +92,11 @@ static NTSTATUS dcerpc_schannel_sign_packet(struct gensec_security *gensec_secur
return schannel_sign_packet(dce_schan_state->schannel_state, mem_ctx, data, length, sig);
}
+static size_t dcerpc_schannel_sig_size(struct gensec_security *gensec_security)
+{
+ return 32;
+}
+
static NTSTATUS dcerpc_schannel_session_key(struct gensec_security *gensec_security,
DATA_BLOB *session_key)
{
@@ -504,6 +509,7 @@ static const struct gensec_security_ops gensec_dcerpc_schannel_security_ops = {
.unseal_packet = dcerpc_schannel_unseal_packet,
.session_key = dcerpc_schannel_session_key,
.session_info = dcerpc_schannel_session_info,
+ .sig_size = dcerpc_schannel_sig_size,
.end = dcerpc_schannel_end
};