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 of time to check other options. Anyone please
> update the help text.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1572132
>
> Title:
>   SMB driver (SMBv2) does not show all files when mounting a windows top
>   level share
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 are a member of Ubuntu
Server, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 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 (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 Ubuntu
Server Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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.launchpad.net/bugs/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


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

** Package changed: cifs-utils (Ubuntu) => linux (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/1572132

Title:
  SMB driver (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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 (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[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  2009 autoexec.bat
-rwxr-xr-x  1 andreas andreas   10 Jun 10  2009 config.sys
drwxr-xr-x  2 andreas andreas 4,0K Out 23  2013 Documents and Settings
-rwxr-xr-x  1 andreas andreas 3,0G Jun 27 15:45 pagefile.sys
drwxr-xr-x  2 andreas andreas0 Jul 13  2009 PerfLogs
drwxr-xr-x  2 andreas andreas0 Jun 12 16:10 ProgramData
dr-xr-xr-x  2 andreas andreas0 Jun 12 21:05 Program Files
drwxr-xr-x  2 andreas andreas0 Out 23  2013 Recovery
drwxr-xr-x  2 andreas andreas0 Nov 26  2014 System Volume Information
dr-xr-xr-x  2 andreas andreas0 Out 23  2013 Users
drwxr-xr-x  2 andreas andreas0 Out 23  2013 Wallpaper
drwxr-xr-x  2 andreas andreas0 Jun 12 16:53 Windows
root@nsn7:~# mount|grep cifs
//10.0.7.128/c on /c type cifs 
(rw,relatime,vers=2.1,sec=ntlmssp,cache=strict,username=IEUser,domain=WORKGROUP,uid=1000,forceuid,gid=1000,forcegid,addr=10.0.7.128,file_mode=0755,dir_mode=0755,nounix,mapposix,rsize=1048576,wsize=1048576,actimeo=1)


Without the vers= parameter we get two extra directories: "Arquivos de 
Programas RFB" and "$Recycle.Bin":
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 ..
drwxr-xr-x  2 andreas andreas0 Jun 12 20:52 Arquivos de Programas RFB
-rwxr-xr-x  1 andreas andreas   24 Jun 10  2009 autoexec.bat
-rwxr-xr-x  1 andreas andreas   10 Jun 10  2009 config.sys
drwxr-xr-x  2 andreas andreas0 Jul 14  2009 Documents and Settings
-rwxr-xr-x  1 andreas andreas 3,0G Jun 27 15:45 pagefile.sys
drwxr-xr-x  2 andreas andreas0 Jul 13  2009 PerfLogs
drwxr-xr-x  2 andreas andreas0 Jun 12 16:10 ProgramData
dr-xr-xr-x  2 andreas andreas0 Jun 12 21:05 Program Files
drwxr-xr-x  2 andreas andreas0 Out 23  2013 Recovery
drwxr-xr-x  2 andreas andreas0 Out 23  2013 $Recycle.Bin
drwxr-xr-x  2 andreas andreas0 Nov 26  2014 System Volume Information
dr-xr-xr-x  2 andreas andreas0 Out 23  2013 Users
drwxr-xr-x  2 andreas andreas0 Out 23  2013 Wallpaper
drwxr-xr-x  2 andreas andreas0 Jun 12 16:53 Windows
# mount|grep cifs
//10.0.7.128/c on /c type cifs 
(rw,relatime,vers=1.0,cache=strict,username=IEUser,domain=WORKGROUP,uid=1000,forceuid,gid=1000,forcegid,addr=10.0.7.128,file_mode=0755,dir_mode=0755,nounix,serverino,mapposix,rsize=61440,wsize=65536,actimeo=1)


** Changed in: samba (Ubuntu)
   Status: New => Confirmed

-- 
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 (SMBv2) does not show all files when mounting a windows top
  level share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1572132/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs