[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-06-27 Thread Andreas Hasenack
Curious indeed. I can reproduce this on xenial mounting a share from a windows 7 enterprise VM: With vers 2.1 (same with 2.0): root@nsn7:~# l /c total 3,0G drwxr-xr-x 2 andreas andreas 4,0K Jun 12 16:58 . drwxr-xr-x 33 rootroot4,0K Jun 27 15:56 .. -rwxr-xr-x 1 andreas andreas 24 Jun 10

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-06-27 Thread Andreas Hasenack
And the moment I created another entry on C:\, one of the missing directories showed up on the linux side :) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (S

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-06-27 Thread Andreas Hasenack
Check some debug options that can be enabled on-the-fly, taken from bug https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/406466/comments/8. In particular: echo 1 > /proc/fs/cifs/traceSMB showed that the missing files/directories are sent to the client when "ls -l /mountpoint" is issue

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-06-27 Thread Andreas Hasenack
smbclient sees all files without issues, so I'm changing the affected package ** Package changed: samba (Ubuntu) => cifs-utils (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/157

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-09-06 Thread Andreas Hasenack
This should have been moved back to "confirmed" before the expiration, fixing that now. ** Changed in: linux (Ubuntu) Status: Expired => Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.laun

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-10-27 Thread Andreas Hasenack
@jchamp what's your kernel version? ** Bug watch added: Samba Bugzilla #13107 https://bugzilla.samba.org/show_bug.cgi?id=13107 ** Also affects: linux via https://bugzilla.samba.org/show_bug.cgi?id=13107 Importance: Unknown Status: Unknown -- You received this bug notification be

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2017-10-27 Thread Andreas Hasenack
I filed a bug in bugzilla.samba.org in the CifsVFS "project", but I'm not 100% it's the right place. I don't know if they are upstream of the cifs code in the kernel, or if that's some old implementation that is no longer used. -- You received this bug notification because you are a member of Ubu

[Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2018-04-24 Thread Andreas Hasenack
I'm seeing files (ok, one file) disappear from a share when it's mounted with vers=3.0. But it's not a top-level share, it's just "c:\Shares\jsmith" on a windows 2016 server: https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/1764778/comments/15 -- You received this bug notification because you

Re: [Bug 1572132] Re: SMB driver (SMBv2) does not show all files when mounting a windows top level share

2018-04-27 Thread Andreas Hasenack
Do you get a notice in dmesg when you don't specify the version at mount time? On Fri, Apr 27, 2018, 03:05 Walter Cheuk wrote: > Same problem happened to Ubuntu 16.04.5. I have to specify "vers=1.0" to > mount a NAS drive successfully. The help said the default version is > 1.0, so I spent a lot