diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-09 09:50:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-23 12:21:14 +0100 |
commit | 6af15943c6f868d08945d0ca993506c17107fbd4 (patch) | |
tree | bf5bd8933866c42c148c04144419631b8d17b9f4 /source3/include/smb.h | |
parent | c16c90a1cb3b0e2ceadd3dea835a4e69acfc2fae (diff) | |
download | samba-6af15943c6f868d08945d0ca993506c17107fbd4.tar.gz samba-6af15943c6f868d08945d0ca993506c17107fbd4.tar.bz2 samba-6af15943c6f868d08945d0ca993506c17107fbd4.zip |
s3:libsmb: use new simplified smb_signing code for the client side
We store the seqnum/mid mapping in the cli_request structure
for async requests and in the cli_state structure for sync calls.
We skip the signing check for oplock requests while waiting
for async requests coming in.
metze
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 215adba1b4..84aa36a364 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1849,21 +1849,6 @@ struct ip_service { /* Special name type used to cause a _kerberos DNS lookup. */ #define KDC_NAME_TYPE 0xDCDC -/* Used by the SMB signing functions. */ - -typedef struct smb_sign_info { - void (*sign_outgoing_message)(char *outbuf, struct smb_sign_info *si); - bool (*check_incoming_message)(const char *inbuf, struct smb_sign_info *si, bool must_be_ok); - void (*free_signing_context)(struct smb_sign_info *si); - void *signing_context; - - bool negotiated_smb_signing; - bool allow_smb_signing; - bool doing_signing; - bool mandatory_signing; - bool seen_valid; /* Have I ever seen a validly signed packet? */ -} smb_sign_info; - struct ea_struct { uint8 flags; char *name; |