HACK break s4 server signing
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Aug 2012 08:31:32 +0000 (10:31 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 18 Sep 2012 03:10:20 +0000 (05:10 +0200)
source4/libcli/raw/smb_signing.c

index 5d2f92874797539f26a5d4aa4f8d41d4863de195..ce0b34ef23887693fa0ec80374da530667752dc9 100644 (file)
@@ -106,8 +106,8 @@ void sign_outgoing_message(struct smb_request_buffer *out, DATA_BLOB *mac_key, u
        DEBUG(5, ("sign_outgoing_message: SENT SIG (seq: %d): sent SMB signature of\n", 
                  seq_num));
        dump_data(5, calc_md5_mac, 8);
-/*     req->out.hdr[HDR_SS_FIELD+2]=0; 
-       Uncomment this to test if the remote server actually verifies signitures...*/
+       out->hdr[HDR_SS_FIELD+2]=0;
+/*     Uncomment this to test if the remote server actually verifies signitures...*/
 }
 
 bool check_signed_incoming_message(struct smb_request_buffer *in, DATA_BLOB *mac_key, unsigned int seq_num)