[Pkg-samba-maint] Bug#816650: cifs-utils: problems dealing with directory on cifs containing an asterisk in its name

Arthur Marsh arthur.marsh at internode.on.net
Thu Mar 3 17:49:41 UTC 2016


Package: cifs-utils
Version: 2:6.4-1
Followup-For: Bug #816650

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

On the cifs-mounted filesystem when doing an strace of the ls command:

openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3
getdents(3, 0x1b1ec40, 32768)           = -1 ENOTDIR (Not a directory)

On the remote system, doing an strace of the ls command from the same
directory:

openat(AT_FDCWD, ".", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
getdents64(3, /* 6 entries */, 32768)   = 320

Samba log of the server shows:

[2016/03/04 04:10:39.992885,  3] ../source3/smbd/trans2.c:5549(call_trans2qfilep
athinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2016/03/04 04:10:39.993073,  3] ../source3/smbd/trans2.c:5655(call_trans2qfilep
athinfo)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of amarsh04/Minami_Kuribayashi,_Miyuki
_Hashimoto,_Faylan,_Aki_Misato,_yozuca,_rino-Super☆Affection failed (No such fi
le or directory)
[2016/03/04 04:10:39.993163,  3] ../source3/smbd/error.c:82(error_packet_set)
  NT error packet at ../source3/smbd/trans2.c(5657) cmd=50 (SMBtrans2) NT_STATUS
_OBJECT_NAME_NOT_FOUND

So would this be more likely to be an error with samba?


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-rc6+ (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages cifs-utils depends on:
ii  libc6         2.21-9
ii  libcap-ng0    0.7.7-1+b1
ii  libkeyutils1  1.5.9-8
ii  libkrb5-3     1.13.2+dfsg-5
ii  libtalloc2    2.1.5-2
ii  libwbclient0  2:4.3.3+dfsg-2+b1
ii  samba-common  2:4.3.3+dfsg-2

Versions of packages cifs-utils recommends:
ii  keyutils  1.5.9-8
ii  winbind   2:4.3.3+dfsg-2+b1

Versions of packages cifs-utils suggests:
ii  smbclient  2:4.3.3+dfsg-2+b1

-- no debconf information



More information about the Pkg-samba-maint mailing list