summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-10-05 01:47:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:04:51 -0500
commitac34076306c6fd5cafcba73df7f1f556277a4a0a (patch)
treeeab1393c0e53bf880ed22afe7c74dc2230e1dfd1 /source3
parent8c9ad87af2a04bdbe04872441a7bda2ae385a493 (diff)
downloadsamba-ac34076306c6fd5cafcba73df7f1f556277a4a0a.tar.gz
samba-ac34076306c6fd5cafcba73df7f1f556277a4a0a.tar.bz2
samba-ac34076306c6fd5cafcba73df7f1f556277a4a0a.zip
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)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/ntdomain.h1
-rw-r--r--source3/rpc_server/srv_netlog_nt.c4
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;
}