[PATCH] Add protocol version to smbstatus output
Stefan (metze) Metzmacher
metze at samba.org
Wed May 21 12:15:03 MDT 2014
Hi Mathias,
> + switch(global->connection_dialect){
> + case SMB2_DIALECT_REVISION_000:
> + fstrcpy(session.protocol_ver,"NT1");
> + break;
> + case SMB2_DIALECT_REVISION_202:
> + fstrcpy(session.protocol_ver,"SMB2_00");
> + break;
This should be SMB2_02.
> + case SMB2_DIALECT_REVISION_210:
> + fstrcpy(session.protocol_ver,"SMB2_10");
> + break;
> + case SMB2_DIALECT_REVISION_222:
> + fstrcpy(session.protocol_ver,"SMB2_22");
> + break;
> + case SMB2_DIALECT_REVISION_224:
> + fstrcpy(session.protocol_ver,"SMB2_24");
> + break;
> + case SMB3_DIALECT_REVISION_300:
> + fstrcpy(session.protocol_ver,"SMB3_00");
> + break;
Please also add SMB3_02.
Thanks!
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140521/27f1b6d3/attachment.pgp>
More information about the samba-technical
mailing list