summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-16 04:21:56 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-16 04:21:56 +0000
commit60ad5b69808c0ebfecd13c8f741f4e5687742899 (patch)
tree8669807f3753437a6ab007614ed2fc7dd125d92c /source3/include/client.h
parentba73192c3cec720656f65ede44f82d9e6027a9aa (diff)
downloadsamba-60ad5b69808c0ebfecd13c8f741f4e5687742899.tar.gz
samba-60ad5b69808c0ebfecd13c8f741f4e5687742899.tar.bz2
samba-60ad5b69808c0ebfecd13c8f741f4e5687742899.zip
Fix up some of the SMB signing code:
The problem was that *all* packets were being signed, even packets before signing was set up. (This broke the session request). This fixes it to be an 'opt in' measure - that is, we only attempt to sign things after we have got a valid, non-guest session setup as per the CIFS spec. I've not tested this against an MS server, becouse my VMware is down, but at least it doesn't break the build farm any more. Andrew Bartlett (This used to be commit 1dc5a8765876c1ca822e454651f8fd4a551965e9)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r--source3/include/client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h
index e2eda54948..69c74200c1 100644
--- a/source3/include/client.h
+++ b/source3/include/client.h
@@ -59,6 +59,7 @@ struct print_job_info
typedef struct smb_sign_info {
BOOL use_smb_signing;
+ BOOL negotiated_smb_signing;
size_t mac_key_len;
uint8 mac_key[44];
uint32 send_seq_num;