Does linux smb2 client supports DFS capability?

Hemanth Thummala hemanth.thummala at nutanix.com
Thu Jan 19 00:41:41 UTC 2017


Hi Aurélien,

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.

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.

Thanks,
Hemanth.






On 1/9/17, 5:20 AM, "Aurélien Aptel" <aaptel at suse.com> wrote:

>Hi Hemanth,
>
>Hemanth Thummala <hemanth.thummala at nutanix.com> writes:
>> I would like to know if there any recent work done to support the same.
>
>I have worked on adding DFS support in SMB2,3+. I have a WIP patch
>available here [1]. It is functional but not ready to be merged yet:
>
>- has to be cleaned up a bit to avoid code deduplication (requires some
>  refactoring)
>- but mainly it creates a good opportunity to improve the plumbing for
>  DFS in general. We want to keep a cache of DFS resolve results in
>  memory so that we can try several servers in case of server
>  failure+reconnection, instead of just trying to reconnect to the same
>  server that just failed.
>
>So in short, yes it's in the works.
>
>1: http://marc.info/?l=linux-cifs&m=147862283412953
>
>-- 
>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