[PATCH] Add protocol version to smbstatus output
Stefan (metze) Metzmacher
metze at samba.org
Thu May 22 03:33:04 MDT 2014
And now a version which compiles...
Am 22.05.2014 11:24, schrieb Stefan (metze) Metzmacher:
> Hi Mathias,
>
> this version applies to master.
> If this is fine for you (I added your sign-off), we need a 2nd team
> member to review and push this.
>
> metze
>
>> "Stefan (metze) Metzmacher" <metze at samba.org> wrote on 05/21/2014
>> 08:15:03 PM:
>>
>>> From: "Stefan (metze) Metzmacher" <metze at samba.org>
>>> To: Mathias Dietz/Germany/IBM at IBMDE
>>> Cc: samba-technical at samba.org
>>> Date: 05/21/2014 08:15 PM
>>> Subject: Re: [PATCH] Add protocol version to smbstatus output
>>>
>>> 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: tmp.diff
Type: text/x-diff
Size: 3168 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140522/0abf90e5/attachment.diff>
-------------- 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/20140522/0abf90e5/attachment.pgp>
More information about the samba-technical
mailing list