Web lists-archives.com

[Samba] old bug with usershares of what?




Hello! Please look at this log entry:

[2018/10/30 15:26:04.013132,  0]
../source3/param/loadparm.c:3358(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/share failed.
Permission denied

I don't know why this message is spamming my log, my version of samba is
4.9.1 from fedora 29, but problem existed long time ago with older
versions.

here is usershares permissions and file contents:

[root@kasakoff kasak]# ls -al /var/lib/samba/usershares/
итого 12
drwxrwx--T 2 root  usershares 4096 июл 18 15:57 .
drwxr-xr-x 9 root  root       4096 окт 31 12:57 ..
-rw-r--r-- 1 kasak kasak       115 фев 19  2018 share

[root@kasakoff kasak]# cat /var/lib/samba/usershares/share
#VERSION 2
path=/home/kasak/Общедоступные
comment=
usershare_acl=S-1-1-0:F
guest_ok=y
sharename=Share

The message apears when I open my server from windows 10 or 7 machine.
And i have selinux disabled!
Also I have no problem accessing share from win 7, from win 10 i have
issues, and maybe it is related to this bug
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba