libcli/smb: add PROTOCOL_SMB2_24 support
[mat/samba.git] / libcli / smb / smb_constants.h
index cd5e77bf7898271007c685cbc65f0dfa008ecfb9..9ee6f4157563f676b646e100342ff2aa07afbacd 100644 (file)
@@ -84,14 +84,15 @@ enum protocol_types {
        PROTOCOL_NT1,
        PROTOCOL_SMB2_02,
        PROTOCOL_SMB2_10,
-       PROTOCOL_SMB2_22
+       PROTOCOL_SMB2_22,
+       PROTOCOL_SMB2_24
 };
 
 enum smb_signing_setting {
-       SMB_SIGNING_DEFAULT,
-       SMB_SIGNING_OFF,
-       SMB_SIGNING_IF_REQUIRED,
-       SMB_SIGNING_REQUIRED,
+       SMB_SIGNING_DEFAULT = -1,
+       SMB_SIGNING_OFF = 0,
+       SMB_SIGNING_IF_REQUIRED = 1,
+       SMB_SIGNING_REQUIRED = 3,
 };
 
 /* types of buffers in core SMB protocol */