[SMB3] [PATCH] Pass through FSCTL for tools like smbinfo

ronnie sahlberg ronniesahlberg at gmail.com
Fri Mar 15 00:42:12 UTC 2019


Note that we pass NULL as indata for SMB2_ioctl_init() so for the time
being we can only use this for those ioctl/fcntl that does not
write data to the server. But there are very many of those.

We can start populating smb2info.c with handlers for this and once it
all looks good we can add support to also write to the server (which
will be easy to do but it would make the patch bigger)

On Fri, Mar 15, 2019 at 10:21 AM Steve French <smfrench at gmail.com> wrote:
>
> Forwarding Ronnie's patch to the broader list
>
> For debugging purposes we often have to be able to query
> additional information only available via SMB3 FSCTL
> from the server from user space tools (e.g. like
> cifs-utils's smbinfo).  See MS-FSCC and MS-SMB2 protocol
> specifications for more details.
>
> --
> Thanks,
>
> Steve



More information about the samba-technical mailing list