diff options
-rw-r--r-- | source3/include/ntdomain.h | 1 | ||||
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 4 |
2 files changed, 4 insertions, 1 deletions
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; } |