smbstatus: rework connection dialect printing
authorRalph Boehme <slow@samba.org>
Mon, 30 Nov 2015 09:48:12 +0000 (10:48 +0100)
committerRalph Boehme <slow@samba.org>
Fri, 22 Jan 2016 06:52:20 +0000 (07:52 +0100)
commitf59ef038eda8f52ade832e8c5790629e47059984
treef14e85ed10e394e00e32528bf3403bc0c64a6fac
parente501c733ecdba2bae2da3f5b9a27b69be89ac228
smbstatus: rework connection dialect printing

In a later change I want to print the signing cipher which depends upon
the connection dialect. So let's store the connection dialect in the
sessionid struct and move the code that maps dialect integers to strings
to smbstatus.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/session.h
source3/lib/sessionid_tdb.c
source3/utils/status.c