diff options
author | Jeremy Allison <jra@samba.org> | 2008-01-04 12:56:23 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2008-01-04 12:56:23 -0800 |
commit | c4e5a505043965eec77b5bb9bc60957e8f3b97c8 (patch) | |
tree | 83a3a31f447e5fabe3433c3ca5791c881f7aea26 /source/include/smb.h | |
parent | a4ef828102417f04af1e9823c89404e77e4fd5c1 (diff) | |
download | samba-c4e5a505043965eec77b5bb9bc60957e8f3b97c8.tar.gz samba-c4e5a505043965eec77b5bb9bc60957e8f3b97c8.tar.xz samba-c4e5a505043965eec77b5bb9bc60957e8f3b97c8.zip |
Refactor the crypto code after a very helpful conversation
with Volker. Mostly making sure we have data on the incoming
packet type, not stored in the smb header.
Jeremy.
Diffstat (limited to 'source/include/smb.h')
-rw-r--r-- | source/include/smb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/include/smb.h b/source/include/smb.h index 75fe31e0411..49245eaa830 100644 --- a/source/include/smb.h +++ b/source/include/smb.h @@ -659,6 +659,7 @@ typedef struct connection_struct { int num_files_open; unsigned int num_smb_operations; /* Count of smb operations on this tree. */ int encrypt_level; + bool encrypted_tid; /* Semantics requested by the client or forced by the server config. */ bool case_sensitive; @@ -694,6 +695,8 @@ struct smb_request { const uint8 *inbuf; uint8 *outbuf; size_t unread_bytes; + bool encrypted; + connection_struct *conn; }; /* Defines for the sent_oplock_break field above. */ @@ -757,6 +760,7 @@ struct pending_message_list { struct pending_message_list *next, *prev; struct timeval request_time; /* When was this first issued? */ struct timeval end_time; /* When does this time out? */ + bool encrypted; DATA_BLOB buf; DATA_BLOB private_data; }; |