[Samba] smbd looking for non existent files

steve steve at steve-ss.com
Sat Aug 24 11:05:50 MDT 2013


Hi
4.0.8 file server in a 4.0.8 domain

After a user logs in on a Linux client which is joined to the domain,
smbd is constantly looking for files which don't exist:

Here is the file server log after a user login to a Linux client has
settled down:
[2013/08/24 18:43:24.748511,
3] ../source3/smbd/vfs.c:1140(check_reduced_name)
  check_reduced_name [steve2/.icons/gnome] [/home/users]
[2013/08/24 18:43:24.751496,
3] ../source3/smbd/vfs.c:1270(check_reduced_name)
  check_reduced_name: steve2/.icons/gnome reduced
to /home/users/steve2/.icons/gnome
[2013/08/24 18:43:24.753922,
3] ../source3/smbd/trans2.c:5399(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of steve2/.icons/gnome failed
(No such file or directory)
[2013/08/24 18:43:24.755239,
3] ../source3/smbd/error.c:82(error_packet_set)
  NT error packet at ../source3/smbd/trans2.c(5401) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2013/08/24 18:43:24.760257,
3] ../source3/smbd/process.c:1794(process_smb)
  Transaction 1113 of length 122 (0 toread)
[2013/08/24 18:43:24.761808,
3] ../source3/smbd/process.c:1397(switch_message)
  switch message SMBtrans2 (pid 1122) conn 0xb8f54520
[2013/08/24 18:43:24.770442,
3] ../source3/smbd/trans2.c:5291(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 512
[2013/08/24 18:43:24.774313,
3] ../source3/smbd/vfs.c:1140(check_reduced_name)
  check_reduced_name [steve2/.icons/hicolor] [/home/users]
[2013/08/24 18:43:24.777104,
3] ../source3/smbd/vfs.c:1270(check_reduced_name)
  check_reduced_name: steve2/.icons/hicolor reduced
to /home/users/steve2/.icons/hicolor
[2013/08/24 18:43:24.780783,
3] ../source3/smbd/trans2.c:5399(call_trans2qfilepathinfo)
  call_trans2qfilepathinfo: SMB_VFS_LSTAT of steve2/.icons/hicolor
failed (No such file or directory)
[2013/08/24 18:43:24.785670,
3] ../source3/smbd/error.c:82(error_packet_set)
  NT error packet at ../source3/smbd/trans2.c(5401) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2013/08/24 18:43:24.791477,
3] ../source3/smbd/process.c:1794(process_smb)
  Transaction 1114 of length 128 (0 toread)
[2013/08/24 18:43:24.796225,
3] ../source3/smbd/process.c:1397(switch_message)
  switch message SMBtrans2 (pid 1122) conn 0xb8f54520
[2013/08/24 18:43:24.798960,
3] ../source3/smbd/trans2.c:5291(call_trans2qfilepathinfo)

file server:
[global]
workgroup = HH3
realm = HH3.SITE
security = ADS
kerberos method = secrets and keytab
username map = /home/steve/smbmap
log level = 3

[users]
path = /home/users
read only = No

smbmap:
!Administrator = HH3\Administrator

Client:
[global]
workgroup = HH3
realm = HH3.SITE
security = ADS
kerberos method = system keytab

Tested with sssd and nslcd. (yes, it's the same with winbind)

Why is smbd looking for files which don't exist? Is there a cache I
should clear?
Cheers,
Steve




More information about the samba mailing list