From ac34076306c6fd5cafcba73df7f1f556277a4a0a Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 5 Oct 2005 01:47:52 +0000 Subject: r10722: Remove unused BOOL in struct dcinfo. Ensure that the mach_acct and remote machine entries are set correctly in struct dcinfo - we'll need this as a key for a persistent schannel state later. Jeremy. (This used to be commit 47269b5c7161d740c2e86227de3acd9e08c53817) --- source3/include/ntdomain.h | 1 - source3/rpc_server/srv_netlog_nt.c | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index 967aac2bb5..fd36006c0b 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -149,7 +149,6 @@ struct dcinfo { fstring domain; BOOL challenge_sent; - BOOL got_session_key; BOOL authenticated; }; diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 5aefe3ca3c..a89e3d572a 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -436,10 +436,14 @@ NTSTATUS _net_auth_2(pipes_struct *p, NET_Q_AUTH_2 *q_u, NET_R_AUTH_2 *r_u) /* set up the LSA AUTH 2 response */ init_net_r_auth_2(r_u, &srv_chal_out, &srv_flgs, NT_STATUS_OK); + fstrcpy(p->dc->mach_acct, mach_acct); + fstrcpy(p->dc->remote_machine, remote_machine); + server_auth2_negotiated = True; p->dc->authenticated = True; last_dcinfo = *p->dc; + //secrets_store_schannel_session_info(p->dc); return r_u->status; } -- cgit