svn commit: samba r7707 - in trunk/source/rpc_server: .

jra at samba.org jra at samba.org
Sat Jun 18 04:22:59 GMT 2005


Author: jra
Date: 2005-06-18 04:22:59 +0000 (Sat, 18 Jun 2005)
New Revision: 7707

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

Log:
Hint from Luke Howard (thanks Luke). Ensure the schannel authenticator is 8
byte aligned, just like the NTLMSSP ones. Trying to fix 64-bit Windows domain
logon.
Jeremy.

Modified:
   trunk/source/rpc_server/srv_pipe.c


Changeset:
Modified: trunk/source/rpc_server/srv_pipe.c
===================================================================
--- trunk/source/rpc_server/srv_pipe.c	2005-06-18 01:58:36 UTC (rev 7706)
+++ trunk/source/rpc_server/srv_pipe.c	2005-06-18 04:22:59 UTC (rev 7707)
@@ -162,7 +162,7 @@
 
 	if(p->out_data.data_sent_length + data_len >= prs_offset(&p->out_data.rdata)) {
 		p->hdr.flags |= RPC_FLG_LAST;
-		if ((auth_seal || auth_verify) && (data_len_left % 8)) {
+		if ((auth_seal || auth_verify || p->netsec_auth_validated) && (data_len_left % 8)) {
 			ss_padding_len = 8 - (data_len_left % 8);
 			DEBUG(10,("create_next_pdu: adding sign/seal padding of %u\n",
 				ss_padding_len ));



More information about the samba-cvs mailing list