Article 5DH98 Samba Server Errors - process_usershare_file

Samba Server Errors - process_usershare_file

by
akashi
from LinuxQuestions.org on (#5DH98)
I have a Samba server running on a Debian and whenever I access my share from a Windows 10 client, this is the error on syslog:
Code:Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.911682, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)
Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.912987, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)
Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.914556, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)
Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.916872, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)
Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.918356, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)
Jan 30 15:45:00 raspberrypi smbd[3318]: [2021/01/30 15:45:00.920055, 0] ../source3/param/loadparm.c:3343(process_usershare_file)
Jan 30 15:45:00 raspberrypi smbd[3318]: process_usershare_file: share name rpi4movies*.* contains invalid characters (any of %<>*?|/\+=;:",)I can actually access this shared file 'movies.mp4' which is on the root of the shared directory. This error appears on ALL files I access from the root directory.

If I move the files into a subdirectory and then access them, this error does not appear on the syslog.

This error does not appear when I access the server from an Android or a Linux client.

Here is my smb.conf:
Code:[RPi4]
comment = External USB Storage
path = /mnt/usb1
create mask = 0644
directory mask = 0755
read only = no
browseable = yes
public = no
force user = pi
only guest = no
acl allow execute always = trueI have noticed the share name and filename are together on the syslong error as "rpi4movies*.*"

Any idea what is causing this error?latest?d=yIl2AUoC8zA latest?i=OEFAVnLcXaI:mizVBjYCARw:F7zBnMy latest?i=OEFAVnLcXaI:mizVBjYCARw:V_sGLiP latest?d=qj6IDK7rITs latest?i=OEFAVnLcXaI:mizVBjYCARw:gIN9vFwOEFAVnLcXaI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments