Does linux smb2 client supports DFS capability?

Aurélien Aptel aaptel at suse.com
Thu Jan 19 11:00:22 UTC 2017


Hi Hemanth,

Hemanth Thummala <hemanth.thummala at nutanix.com> writes:
> Sorry for the delayed response. Good to know that you have the patch
> for DFS support.  May I know approximate timeline of when these
> changes can be available in official release.

Between the design, implemention and the reviewing/editing loop I can't
really say for sure but sometime in the next 3 months seems like a
reasonable estimate for the patch to land in master.

> Also I have another question on SMB2 client wrt unix extensions. We
> observe that SMB1 client is able to fetch the UID and GID information
> in FIND_FIRST2 response. Hence we could see the proper UID and GID
> information on the linux SMB1 mount. Whereas in SMB2, we don’t see any
> response sharing the UID or GID details to client. Infact, I don’t see
> any INFO level for query directory which can request these
> details. “Unix extentions” is enabled on our stack. Are we missing any
> other config? Please suggest.

You're not missing anything, the unix extension was designed for SMB1
only. For newer versions of the protocol well it's still at the design
phase I'm afraid. There are some wiki pages on this [1], [2].

However with the recent security annoucements [3] that recommends
disabling SMB1 altogether we can expect to see more work on this soon.

1: https://wiki.samba.org/index.php/SMB3-Linux
2: https://wiki.samba.org/index.php/UNIX_Extensions
3: https://www.us-cert.gov/ncas/current-activity/2017/01/16/SMB-Security-Best-Practices

Cheers,

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)



More information about the samba-technical mailing list