Jelmer Vernooij wrote on 04/03/16 04:50:
Do you have UNIX extensions enabled in Samba?

Not sure, running samba 2:4.3.3+dfsg-2+b1 - smb.conf settings below:


On 3 March 2016 17:49:41 GMT+00:00, Arthur Marsh 
<arthur.ma...@internode.on.net> wrote:
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?

[global]
        workgroup = MSHOME
        server string = %h server (Samba %v)
        server role = standalone server
        passdb backend = tdbsam
        passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spas
sword:* %n\n .
        log level = 3
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 1000
        printcap name = cups
        dns proxy = No
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        use client driver = Yes

[homes]
        comment = Home Directories
        path = /home
        acl check permissions = No
        create mask = 0700
        directory mask = 0700
        guest ok = Yes

Arthur.

Reply via email to