diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-06-14 08:12:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:39 -0500 |
commit | bccac81d8792f85ae37d4a6617a92e2fae75aa50 (patch) | |
tree | f0c16dd01073e4c7276a23b0b7a666b33e055053 /source4/rpc_server/dcesrv_crypto.c | |
parent | 2fcf85920deb2bb3e564c7be611b2cec838afbf1 (diff) | |
download | samba-bccac81d8792f85ae37d4a6617a92e2fae75aa50.tar.gz samba-bccac81d8792f85ae37d4a6617a92e2fae75aa50.tar.bz2 samba-bccac81d8792f85ae37d4a6617a92e2fae75aa50.zip |
r1136: - added IDL for netr_LogonGetDomainInfo()
- added workstation to auth_session_info in rpc servers
- added session key fetch hook in crypto backends in dcesrv
- store and fetch seed as well as a session key in schannel ldb
- when a client uses schannel to setup a netlogon pipe connection we
also need to setup the credentials from the schannel negotiation so
credentials chaining works
- added server side netr_LogonGetDomainInfo() call
(This used to be commit a35459387de3b6a422c5af6f658338fc7e4314b0)
Diffstat (limited to 'source4/rpc_server/dcesrv_crypto.c')
-rw-r--r-- | source4/rpc_server/dcesrv_crypto.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/rpc_server/dcesrv_crypto.c b/source4/rpc_server/dcesrv_crypto.c index de1976ff91..7765815f3b 100644 --- a/source4/rpc_server/dcesrv_crypto.c +++ b/source4/rpc_server/dcesrv_crypto.c @@ -120,6 +120,14 @@ NTSTATUS dcesrv_crypto_unseal(struct dcesrv_auth *auth, TALLOC_CTX *sig_mem_ctx, } /* + get the negotiated session key +*/ +NTSTATUS dcesrv_crypto_session_key(struct dcesrv_auth *auth, uint8_t session_key[16]) +{ + return auth->crypto_ctx.ops->session_key(auth, session_key); +} + +/* end crypto state */ void dcesrv_crypto_end(struct dcesrv_auth *auth) |