The Samba-Bugzilla – Bug 12847
Reading from a DFS share returns wrong attributes
Last modified: 2017-06-17 10:59:53 UTC
(With Samba 4.3.11 on Ubuntu, latest version from repository)
I have a Windows Server 2016 with a DFS share.
If I use `smbclient`, everything is fine and I can browse/get the files, however, if I run `allinfo` on a file, it is returning an attribute of D instead of stream: [::$data]
If I target the same folder on the server as a non DFS share, everything works as normal.
I am not sure where this comes from the tool itself or a lower library, but, it is causing third party tools that use Samba such as Nextcloud to mark all files on a DFS share as a folder.
I am trying to manually download the latest version of Samba to see if it has been fixed - I've read all release notes (other than 2 dead links) since 4.3.11 and couldn't see a fix.
Nextcloud bug report - https://github.com/nextcloud/server/issues/5340