diff options
author | Volker Lendecke <vl@samba.org> | 2008-05-13 16:23:19 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-05-13 16:29:47 +0200 |
commit | 44b7f672b87f103a2fd5cffeff48d2f7819042f8 (patch) | |
tree | b01bb48cf992260a25f9bfa69be356690eb7af2b | |
parent | 8ef2ada0ef36f946c79e5523db90f8d1d03d6607 (diff) | |
download | samba-44b7f672b87f103a2fd5cffeff48d2f7819042f8.tar.gz |
Fix signing problem in the client with transs requests
This is a different fix than Jeremy put into 3-0-test with 040db1ce85 and other
branches with different hashes. Jeremy, I think your fix led to bug 5436, so I
reverted your fix. This fixes the original problem I found with the transs
requests for large rpc queries in a different way. Please check!
Thanks,
Volker
(This used to be commit c572d537e088a3fffb057181cad9a3692e40b815)
-rw-r--r-- | source3/libsmb/clitrans.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index aa9c2fb2966..4bb70f1a088 100644 --- a/source3/libsmb/clitrans.c +++ b/source3/libsmb/clitrans.c @@ -112,6 +112,9 @@ bool cli_send_trans(struct cli_state *cli, int trans, this_lparam = MIN(lparam-tot_param,cli->max_xmit - 500); /* hack */ this_ldata = MIN(ldata-tot_data,cli->max_xmit - (500+this_lparam)); + client_set_trans_sign_state_off(cli, mid); + client_set_trans_sign_state_on(cli, mid); + cli_set_message(cli->outbuf,trans==SMBtrans?8:9,0,True); SCVAL(cli->outbuf,smb_com,(trans==SMBtrans ? SMBtranss : SMBtranss2)); |