[PATCH] Add protocol version to smbstatus output

Mathias Dietz MDIETZ at de.ibm.com
Wed May 21 07:13:27 MDT 2014


Hi Metze,

Thanks for the review. 
Here is an updated patch which is using the same protocol names as used in 
some smb.conf parameters. 


regards

Mathias Dietz 


"Stefan (metze) Metzmacher" <metze at samba.org> wrote on 05/20/2014 01:50:26 
PM:

> From: "Stefan (metze) Metzmacher" <metze at samba.org>
> To: Mathias Dietz/Germany/IBM at IBMDE, samba-technical at samba.org
> Date: 05/20/2014 01:50 PM
> Subject: Re: [PATCH] Add protocol version to smbstatus output
> 
> Hi Mathias,
> 
> > Please review this small patch to show the protocol version for each 
> > connection in smbstatus. 
> > Thanks !
> 
> Can you use the strings which are used in smb.conf for the "server max
> protocol"?
> 
> see enum_protocol in lib/param/param_table.c
> 
>         {PROTOCOL_SMB3_02, "SMB3_02"},
>         {PROTOCOL_SMB3_00, "SMB3_00"},
>         {PROTOCOL_SMB2_24, "SMB2_24"},
>         {PROTOCOL_SMB2_22, "SMB2_22"},
>         {PROTOCOL_SMB2_10, "SMB2_10"},
>         {PROTOCOL_SMB2_02, "SMB2_02"},
>         {PROTOCOL_NT1, "NT1"},
> 
> metze
> 
> [attachment "signature.asc" deleted by Mathias Dietz/Germany/IBM] 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-protocol-version-to-smbstatus-output.patch
Type: application/octet-stream
Size: 2998 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20140521/179a9c20/attachment.obj>


More information about the samba-technical mailing list