diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 12:01:47 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-03-18 12:01:47 +0000 |
commit | 892599fb92b6158e86a3934c8f2045ee457f38e3 (patch) | |
tree | daf6bb11844cc1bbd8afecc2c7329a090a3f986e /source3/include/client.h | |
parent | 50e9b88dff56e70ad03eb104cb151fe21112b984 (diff) | |
download | samba-892599fb92b6158e86a3934c8f2045ee457f38e3.tar.gz samba-892599fb92b6158e86a3934c8f2045ee457f38e3.tar.xz samba-892599fb92b6158e86a3934c8f2045ee457f38e3.zip |
Merge from HEAD:
A much better SMB signing module, that allows for mulitple signing algorithms
and correctly backs down from signing when the server cannot sign the reply.
This also attempts to enable SMB signing on NTLMSSP connections, but I don't
know what NTLMSSP flags to set yet.
This would allow 'client use signing' to be set by default, for server
compatability. (A seperate option value should be provided for mandetory
signing, which would not back down).
Andrew Bartlett
(This used to be commit 1c87be7a3d127201a6ab78d22d17c971af16b86b)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 28d6a8c330..0ea793de68 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -58,14 +58,15 @@ struct print_job_info }; typedef struct smb_sign_info { - BOOL use_smb_signing; + void (*sign_outgoing_message)(struct cli_state *cli); + BOOL (*check_incoming_message)(struct cli_state *cli); + void (*free_signing_context)(struct cli_state *cli); + void *signing_context; + BOOL negotiated_smb_signing; - BOOL temp_smb_signing; - size_t mac_key_len; - uint8 mac_key[64]; - uint32 send_seq_num; - uint32 reply_seq_num; BOOL allow_smb_signing; + BOOL doing_signing; + BOOL mandetory_signing; } smb_sign_info; struct cli_state { |