Hi and thanks for the additional feedback. This bug has been forwarded to the Samba project [1], and marked as resolved by the patch [2], applied to the Linux kernel. The patch landed in Linux >= 4.19, that is in Ubuntu >= Focal (in linux-image-generic) and even in Bionic via linux-image-generic-hwe-18.04.
However there are reports here about this bug *not* being fixed in Focal and Impish (current devel release). In order to move this forward we need to double-check that we're actually speaking about the same bug. What I'd ask to >= Focal users affected by this bug is to setup the reproducer prepared by Andreas in [1] and double check if that's indeed what happens. If the bug is still reproducible in >= Focal we may need to reopen the upstream bug. Otherwise, if the behavior is buggy but not *exactly* as described, let's open a new bug. Waiting for feedback I'm marking this as Incomplete. [1] https://bugzilla.samba.org/show_bug.cgi?id=13107 [1] https://github.com/torvalds/linux/commit/0595751f267994c3c7027377058e4185b3a28e75 ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMBv2+ does not show all files when mounting a windows share Status in Linux: Unknown Status in Release Notes for Ubuntu: Fix Released Status in linux package in Ubuntu: Incomplete Status in linux package in Debian: Fix Released Bug description: When using the SMBv2 Protocol to mount a top level windows share (such as C:\) not all files (or directories) are shown that exist on the server side. Exactly 2 files are always missing... Steps to reproduce: On a windows7 PC (or Server) e.g. C:\ must be published as Share (must be top level share - a subfolder like C:\data\ seems to work) sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=${USER},uid=1000,gid=1000,nounix,vers=2.0 As a result always 2 Files (or directories) are missing in the mounted directory of the ubuntu installation. Seems to be a kernel bug (source tree: linux/fs/cifs). The ubuntu versions I have checked: Ubuntu 14.04LTS amd64 Ubuntu 15.10 amd64 Ubuntu 16.04 amd64 ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: ubuntu-release-upgrader-core 1:16.04.12 ProcVersionSignature: Ubuntu 4.4.0-18.34-generic 4.4.6 Uname: Linux 4.4.0-18-generic x86_64 ApportVersion: 2.20.1-0ubuntu2 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: KDE Date: Tue Apr 19 14:50:02 2016 InstallationDate: Installed on 2016-04-19 (0 days ago) InstallationMedia: Kubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160417.1) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp