Bug 11958 - missing Protocol Versions in location source3_lib_sessionid_tdb.c
missing Protocol Versions in location source3_lib_sessionid_tdb.c
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.4.3
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-08 12:30 UTC by Michael Zoon
Modified: 2016-06-08 21:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zoon 2016-06-08 12:30:31 UTC
Please can the missing protocols be added to samba upcoming 4.3.10 release on
location source3/lib/sessionid_tdb.c.

we need 

--- source3/lib/sessionid_tdb.c.orig	2015-07-21 11:47:49.000000000 +0200
+++ source3/lib/sessionid_tdb.c	2016-04-14 15:20:01.000000000 +0200
@@ -67,6 +67,12 @@
 	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);

I use this for a while now without any problems.

regards,
zoon01