diff options
author | Ralph Boehme <slow@samba.org> | 2015-12-03 12:17:50 +0100 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2016-01-22 07:52:21 +0100 |
commit | f95549957ec73a67bee0093a17e84808adfe97de (patch) | |
tree | c02078ddb052904df3ccec023de6113c84ef30da /libcli | |
parent | 1e60a3f009649df4b22ce09828a9f3c82848cee0 (diff) | |
download | samba-f95549957ec73a67bee0093a17e84808adfe97de.tar.gz |
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 <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smb_unix_ext.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |