libcli/smb: add define SMB_ENCRYPTION_GSSAPI for CIFS encryption type
commitf95549957ec73a67bee0093a17e84808adfe97de
authorRalph Boehme <slow@samba.org>
Thu, 3 Dec 2015 11:17:50 +0000 (3 12:17 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 22 Jan 2016 06:52:21 +0000 (22 07:52 +0100)
treec02078ddb052904df3ccec023de6113c84ef30da
parent1e60a3f009649df4b22ce09828a9f3c82848cee0
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>
libcli/smb/smb_unix_ext.h