summaryrefslogtreecommitdiff
path: root/source3/librpc/idl
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2015-11-15 11:12:34 +0100
committerRalph Boehme <slow@samba.org>2016-01-22 07:52:21 +0100
commit9d284431fc478bc6e19ac2d98b3c330800521ad3 (patch)
treea27dd36a20a87fab9facec69813bb296269f40e1 /source3/librpc/idl
parentfe5353c82ee41ef620aa8340acd4748dd3bc795f (diff)
downloadsamba-9d284431fc478bc6e19ac2d98b3c330800521ad3.tar.gz
s3:smb2_server: add signing state tracking flags
Add flags that track the signing state of all incoming and outgoing SMB2 packets and a helper function that can be used to determine whether a session of tcon can be considered "signed". Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc/idl')
-rw-r--r--source3/librpc/idl/smbXsrv.idl5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/librpc/idl/smbXsrv.idl b/source3/librpc/idl/smbXsrv.idl
index f6a5fd98c36..852877096ae 100644
--- a/source3/librpc/idl/smbXsrv.idl
+++ b/source3/librpc/idl/smbXsrv.idl
@@ -124,7 +124,9 @@ interface smbXsrv
} smbXsrv_encrpytion_flags;
typedef [public,bitmap8bit] bitmap {
- SMBXSRV_SIGNING_REQUIRED = 0x01
+ SMBXSRV_SIGNING_REQUIRED = 0x01,
+ SMBXSRV_PROCESSED_SIGNED_PACKET = 0x02,
+ SMBXSRV_PROCESSED_UNSIGNED_PACKET = 0x04
} smbXsrv_signing_flags;
typedef struct {
@@ -275,6 +277,7 @@ interface smbXsrv
* for SMB1 this is the session that the tcon was opened on
*/
uint32 session_global_id;
+ smbXsrv_signing_flags signing_flags;
} smbXsrv_tcon_global0;
typedef union {