From bccac81d8792f85ae37d4a6617a92e2fae75aa50 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 14 Jun 2004 08:12:50 +0000 Subject: 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) --- source4/auth/auth.h | 3 +++ source4/auth/auth_ntlmssp.c | 3 +++ 2 files changed, 6 insertions(+) (limited to 'source4/auth') diff --git a/source4/auth/auth.h b/source4/auth/auth.h index 386c2f8cd0..c20b8dbf6f 100644 --- a/source4/auth/auth.h +++ b/source4/auth/auth.h @@ -103,6 +103,9 @@ struct auth_session_info struct auth_serversupplied_info *server_info; DATA_BLOB session_key; + + /* needed to key the schannel credentials */ + const char *workstation; }; struct auth_context { diff --git a/source4/auth/auth_ntlmssp.c b/source4/auth/auth_ntlmssp.c index 622a89c939..183363a363 100644 --- a/source4/auth/auth_ntlmssp.c +++ b/source4/auth/auth_ntlmssp.c @@ -231,5 +231,8 @@ NTSTATUS auth_ntlmssp_get_session_info(struct auth_ntlmssp_state *auth_ntlmssp_s auth_ntlmssp_state->ntlmssp_state->session_key.data, auth_ntlmssp_state->ntlmssp_state->session_key.length); + (*session_info)->workstation = talloc_strdup((*session_info)->mem_ctx, + auth_ntlmssp_state->ntlmssp_state->workstation); + return NT_STATUS_OK; } -- cgit