Does linux smb2 client supports DFS capability?

Richard Sharpe realrichardsharpe at gmail.com
Wed Oct 11 16:42:12 UTC 2017


On Wed, Oct 11, 2017 at 7:25 AM, Steve French <smfrench at gmail.com> wrote:
> If you are checking if the SMB3 DFS enablement has been added to your
> kernel (if your kernel is older than version 4.11), you could look to
> see if the equivalent of this patch (it is part of a small series of
> DFS related patches, but would be one of the more visible ones in the
> series)
>
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/fs/cifs?id=9d49640a21bffd730a6ebf2a0032e022f7caf84a
>
>
> On Wed, Oct 11, 2017 at 6:47 AM, Aurélien Aptel <aaptel at suse.com> wrote:
>> Hi,
>>
>> Hemanth Thummala <hemanth.thummala at nutanix.com> writes:
>>> If so, Can you please let me know (or point me a link) the version of cifs-utils in which support is available.
>>> I have tested with cifs-util-6.2 version. This doesn’t have the DFS support.
>>
>> cifs-util only contains the source code of the the mount.cifs program,
>> which doesn't do much. The SMB client code lives in the cifs kernel
>> module. To use DFS with SMB2 you need to use linux kernel v4.11 or
>> newer.
>>
>> Cheers,

I think their real interest is in the CIFS FS getting DFS referrals if
STATUS_PATH_NOT_COVERED is returned on a CREATE.

When I last looked the client could not do that.

-- 
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)



More information about the samba-technical mailing list