s3:smb2_server: convert encryption desired and required bools to flags
commitbfdffea0fa8e6af57c2b3e51472bab46d46fbaca
authorRalph Boehme <slow@samba.org>
Mon, 9 Nov 2015 16:23:29 +0000 (9 17:23 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 22 Jan 2016 06:52:20 +0000 (22 07:52 +0100)
tree99169b5241aff3134ac6538dbc085575a2cfe21c
parent63a13f40cfe31c58c57373ae384b3c067a4d5498
s3:smb2_server: convert encryption desired and required bools to flags

This adds a bitmap smbXsrv_encrpytion_flags with flags to the
smbXsrv_session_global.tdb and smbXsrv_tcon_global.tdb that we use
instead of bools for desired and required.

We need this info in the smbXsrv tdbs for smbstatus. Subsequent commits
for smbstatus will use it.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/librpc/idl/smbXsrv.idl
source3/smbd/smb2_server.c
source3/smbd/smb2_sesssetup.c
source3/smbd/smb2_tcon.c