[Samba] log error about permissions in truncated share path...

Rowland Penny rpenny at samba.org
Wed Mar 21 10:53:00 UTC 2018


On Wed, 21 Mar 2018 11:02:02 +0100
Marco Gaiarin via samba <samba at lists.samba.org> wrote:

> 
> In syslog of my DC (2:4.5.12+dfsg-2+deb9u2~bpo8+1) i found sometime
> rows like:
> 
>  Mar 21 09:53:40 vdcsv1 smbd[22686]: [2018/03/21 09:53:40.826081,
> 0] ../source3/param/loadparm.c:3244(process_usershare_file) Mar 21
> 09:53:40 vdcsv1 smbd[22686]:   process_usershare_file: stat
> of /var/lib/samba/usershares/sysvo failed. Permesso negato Mar 21
> 09:53:40 vdcsv1 smbd[22686]: [2018/03/21 09:53:40.831949,
> 0] ../source3/param/loadparm.c:3244(process_usershare_file) Mar 21
> 09:53:40 vdcsv1 smbd[22686]:   process_usershare_file: stat
> of /var/lib/samba/usershares/sysvo failed. File o directory non
> esistente Mar 21 09:53:40 vdcsv1 smbd[22686]: [2018/03/21
> 09:53:40.837642,
> 0] ../source3/param/loadparm.c:3244(process_usershare_file) Mar 21
> 09:53:40 vdcsv1 smbd[22686]:   process_usershare_file: stat
> of /var/lib/samba/usershares/sysvo failed. File o directory non
> esistente Mar 21 09:57:21 vdcsv1 smbd[22696]: [2018/03/21
> 09:57:21.521431,
> 0] ../source3/param/loadparm.c:3244(process_usershare_file) Mar 21
> 09:57:21 vdcsv1 smbd[22696]:   process_usershare_file: stat
> of /var/lib/samba/usershares/sysvo failed. Permesso negato
> 
> all works as expected, and the strange came from the truncated path
> (/var/lib/samba/usershares/sysvo: it misses ever the last char) and
> the italian locale ('Permesso negato': access denied; 'File o
> directory non esistente': file or folder not available).
> 
> What happens? Thanks.
> 

I think you need to post your smb.conf, I (at least) am struggling to
understand why you have moved 'sysvol' from /var/lib/samba/
to /var/lib/samba/usershare/, it isn't a usershare!

Rowland



More information about the samba mailing list