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

2018-06-30 Thread Mathew Hodson
** Also affects: cifs-utils (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871779 Importance: Unknown Status: Unknown ** Summary changed: - SMB driver (SMBv2) does not show all files when mounting a windows top level share + SMBv2+ does not show all files when

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

2018-06-29 Thread Kaito
> The funny thing is you can enter or list the "hidden" folder if your force the path. The bug has been confirmed and there are explanations and patches but the maintainers don't seem ready to apply it which is unfortunate as it is a very nefarious bug (Windows 10 doesn't support SMB1.0 by

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

2018-06-29 Thread Thibault
Hi all, Experiencing the same issue under debian stable (kernel 4.9.88-1). I opened a bugreport a few months ago with some network captures. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871779 The funny thing is you can enter or list the "hidden" folder if your force the path. ** Bug watch

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 >

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 >

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

2018-04-27 Thread Walter Cheuk
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 of time to check other options. Anyone please update the help text. -- You received this bug notification because you are a member

[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

[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

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

2018-03-21 Thread Gerald Hopf
Same problem here with uBuntu 16.04 using Kernel "4.13.0-37-generic #42~16.04.1-Ubuntu SMP Mar 7 x86_64". A mounted share called "D" from a Windows 10 (1709) computer has at least one important directory just missing when mounted. I can enter the non-existing directory manually though by cd

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

2017-10-31 Thread Rostislav
In my case the files do not appear only on directory listing. I can, however, do touch, edit, rm and other file operations, and they work fine. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132

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

2017-10-27 Thread Javiar C
@ahasenack 4.10.0-35-generic (buildd@lcy01-33) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 (Ubuntu 4.10.0-35.39~16.04.1-generic 4.10.17) -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[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

[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

[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

[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

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

2017-10-19 Thread Javiar C
I'm also experiencing this bug on Ubuntu 16.04.3. I don't think Windows supports SMB 1.0 any longer due to security issues. (mount error(121): Remote I/O error) Adding vers=2.0 or 2.1 to the mount command line options successfully mounts the share, but using rsync to back up this Windows

[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.

[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 Bugs, which is subscribed to Ubuntu.

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

2017-09-05 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132

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

2017-07-07 Thread Uwe Honermann
I checked it with the 4.12.0 kernel, Problem still exists. I also verified the correct kernel version with uname -r. I added the tag kernel-bug-exists-upstream. ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is

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

2017-07-07 Thread Uwe Honermann
I'm not a real Linux expert, but I'll do my very best. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a windows top level

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

2017-07-05 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.12 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix

[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

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title:

[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.

[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

[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

[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

[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

[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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not

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

2016-12-28 Thread majo
Hi@all, I activated the dynamic debugging for readdir.c as Nish Aravamudan suggested. However this does not produce any output in the kernel log since (as I understand) most of the debug logging (cifs_dbg) is of type FYI which must be activated seperately in the code by setting cifsFYI (in

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

2016-12-20 Thread Uwe Honermann
As I understand it, I would have to build a new kernel, to do this. Unfortunately, I don't think, I can do that, since I don't have any idea, how this works. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

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

2016-12-20 Thread Uwe Honermann
I know, we had some other Problems without the "nounix", but can't really remember. I tried without it, doesn't make any difference. I'll try with additional debugging, but I'll have to find out, how this works, since I'm not very familiar with Linux. -- You received this bug notification

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

2016-12-19 Thread Nish Aravamudan
This seems like a sort of known issue (unclear still). Cursory grepping in fs/cifs: readdir.c::find_cifs_entry /* * If first entry in buf is zero then is first buffer * in search response data which means it is likely . and .. * will be in this buffer, although

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

2016-12-14 Thread Uwe Honermann
Hi, I tried it with noserverino, no difference. Exact Mount command used was: sudo mount -t cifs //SERVER/SHARE_NAME /mnt -o domain=DOMAIN_NAME,username=USER_NAME,uid=1000,gid=1000,noserverino,nounix,vers=2.0 It looks like the problem has to do with the fact, that the directories . and .. do

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

2016-12-13 Thread ChristianEhrhardt
Hi, reproducing is hard as most that come by the bug don't have a win machine around most of the time. But this seems to me a bit like: https://bugs.launchpad.net/ubuntu/karmic/+source/linux/+bug/406466 Could you try to test with the noserverino mount option if it would fix your issue? so

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

2016-04-19 Thread Brian Murray
** Package changed: ubuntu-release-upgrader (Ubuntu) => samba (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1572132 Title: SMB driver (SMBv2) does not show all files when mounting a