svn commit: samba r10723 - in trunk/source: include rpc_server

jra at samba.org jra at samba.org
Wed Oct 5 01:48:14 GMT 2005


Author: jra
Date: 2005-10-05 01:48:13 +0000 (Wed, 05 Oct 2005)
New Revision: 10723

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10723

Log:
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.

Modified:
   trunk/source/include/ntdomain.h
   trunk/source/rpc_server/srv_netlog_nt.c


Changeset:
Modified: trunk/source/include/ntdomain.h
===================================================================
--- trunk/source/include/ntdomain.h	2005-10-05 01:47:52 UTC (rev 10722)
+++ trunk/source/include/ntdomain.h	2005-10-05 01:48:13 UTC (rev 10723)
@@ -149,7 +149,6 @@
 	fstring domain;
 
 	BOOL challenge_sent;
-	BOOL got_session_key;
 	BOOL authenticated;
 };
 

Modified: trunk/source/rpc_server/srv_netlog_nt.c
===================================================================
--- trunk/source/rpc_server/srv_netlog_nt.c	2005-10-05 01:47:52 UTC (rev 10722)
+++ trunk/source/rpc_server/srv_netlog_nt.c	2005-10-05 01:48:13 UTC (rev 10723)
@@ -436,10 +436,14 @@
 	/* 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;
 }
 



More information about the samba-cvs mailing list