s3: add suport for SMB3_10 and SMB3_11 protocols in smbstatus
authorRalph Wuerthner <ralph.wuerthner@de.ibm.com>
Fri, 28 Aug 2015 12:42:32 +0000 (14:42 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 29 Aug 2015 05:05:10 +0000 (07:05 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11472

Signed-off-by: Ralph Wuerthner <ralph.wuerthner@de.ibm.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Aug 29 07:05:10 CEST 2015 on sn-devel-104

source3/lib/sessionid_tdb.c

index fd6cf75c2fdd1e583251963c2787a7cb456ea1e7..68f9c43bb5dbd1b1bd19a51995cb3af0d5938b43 100644 (file)
@@ -67,6 +67,12 @@ static int sessionid_traverse_read_fn(struct smbXsrv_session_global0 *global,
        case SMB3_DIALECT_REVISION_302:
                fstrcpy(session.protocol_ver, "SMB3_02");
                break;
+       case SMB3_DIALECT_REVISION_310:
+               fstrcpy(session.protocol_ver, "SMB3_10");
+               break;
+       case SMB3_DIALECT_REVISION_311:
+               fstrcpy(session.protocol_ver, "SMB3_11");
+               break;
        default:
                fstr_sprintf(session.protocol_ver, "Unknown (0x%04x)",
                             global->connection_dialect);