From f95549957ec73a67bee0093a17e84808adfe97de Mon Sep 17 00:00:00 2001 From: Ralph Boehme Date: Thu, 3 Dec 2015 12:17:50 +0100 Subject: libcli/smb: add define SMB_ENCRYPTION_GSSAPI for CIFS encryption type Add a define for the CIFS UNIX extensions encryption type. We store this in smbXsrv_channel and use it in smbstatus for showing the CIFS/SMB2/SMB3 encryption cipher used. The SMB3 encryption cipher constants start at 1, carefully choosing the highest available bit for the CIFS UNIX extensions encryption cipher should avoid collisions and leaves room for many SMB3 ciphers in the future. Signed-off-by: Ralph Boehme Reviewed-by: Volker Lendecke Reviewed-by: Jeremy Allison --- libcli/smb/smb_unix_ext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcli') diff --git a/libcli/smb/smb_unix_ext.h b/libcli/smb/smb_unix_ext.h index ff705aa1449..e74976b1bcb 100644 --- a/libcli/smb/smb_unix_ext.h +++ b/libcli/smb/smb_unix_ext.h @@ -358,7 +358,7 @@ enum smb_whoami_flags { */ #define SMB_REQUEST_TRANSPORT_ENCRYPTION 0x203 /* QFSINFO */ - +#define SMB_ENCRYPTION_GSSAPI 0x8000 /* The query/set info levels for POSIX ACLs. */ #define SMB_QUERY_POSIX_ACL 0x204 -- cgit v1.2.1