Does linux smb2 client supports DFS capability?

Hemanth Thummala hemanth.thummala at
Wed Oct 11 17:00:11 UTC 2017

Thanks Aurélien and Steve for letting me the correct version in which DFS support is added.

We have actually checked the linux CIFS Kernel wiki page<>. It has only updates till version 4.9.
Not sure if this wiki is active. If not, please share the page where we can check the latest updates.

As Richard mentioned, we are looking for DFS support for both Share(root referral) and
Objects(link referrals) Inside the share for linux clients. Please confirm if the support
Is added for both type of referrals.


On 11/10/17, 9:42 AM, "Richard Sharpe" <realrichardsharpe at<mailto:realrichardsharpe at>> wrote:

On Wed, Oct 11, 2017 at 7:25 AM, Steve French <smfrench at<mailto:smfrench at>> 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

On Wed, Oct 11, 2017 at 6:47 AM, Aurélien Aptel <aaptel at<mailto:aaptel at>> wrote:

Hemanth Thummala <hemanth.thummala at<mailto:hemanth.thummala at>> 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


I think their real interest is in the CIFS FS getting DFS referrals if

When I last looked the client could not do that.

Richard Sharpe

More information about the samba-technical mailing list