[Pkg-samba-maint] Bug#871779: /sbin/mount.cifs: Some remote folders missing when mounting the share using -o vers=2.x option

Thibault Roulet tr at omch.ch
Fri Aug 11 13:02:56 UTC 2017


Package: cifs-utils
Version: 2:6.7-1
Severity: normal
File: /sbin/mount.cifs
Tags: upstream

Dear Maintainer,

I have a shared folder on a windows 7 ENT Machine
Mounting this folder using the following options
mount -t cifs //host-address/share -o
username=user,password=mypassword,ro /path/to/folder/
I can list the whole content of the shared zone

# ls -1
byuno
cyxmry
dubikovpkxyx
dypon
ruyo
Fxypxnrh
foyyo
fyxurnyxth
gyxrtprl
hu
johnppon
mxppxnti
nxprry
Qurrn
$RECYCLE.BIN
prvryin
ptrllxcci
ptylixnou
System Volume Information
wxpry
phu
pobi

Then when mounting the same folder with
mount -t cifs //host-address/share -o
username=user,password=mypassword,ro,vers=2.1 /path/to/folder/

# ls -1
cyxmry
dubikovpkxyx
dypon
ruyo
Fxypxnrh
foyyo
fyxurnyxth
gyxrtprl
hu
johnppon
mxppxnti
nxprry
Qurrn
prvryin
ptrllxcci
ptylixnou
System Volume Information
wxpry
phu
pobi

The $RECYCLE.BIN folder is missing but also the byuno folder
I would say I don't care about the RECYCLE.BIN one as it's the trash but the
other one should be there.
I checked the permissions/owner of this folder, it's the same as the others.

Thanks

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.11.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cifs-utils depends on:
ii  libc6         2.24-12
ii  libcap-ng0    0.7.7-3+b1
ii  libkeyutils1  1.5.9-9
ii  libkrb5-3     1.15.1-2
ii  libpam0g      1.1.8-3.6
ii  libtalloc2    2.1.9-2
ii  libwbclient0  2:4.6.5+dfsg-4
ii  samba-common  2:4.6.5+dfsg-4

cifs-utils recommends no packages.

Versions of packages cifs-utils suggests:
ii  keyutils   1.5.9-9
ii  smbclient  2:4.6.5+dfsg-4
ii  winbind    2:4.6.5+dfsg-4

-- no debconf information

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20170811/7cedea2a/attachment.html>


More information about the Pkg-samba-maint mailing list