[Samba] samba log question

Curtis Vaughan cavaughan at gmail.com
Tue Jul 12 21:44:35 UTC 2016


Ubuntu 16.04 Server with Samba 4.3.9

All the shares are working fine. None of the users are experiencing any
issues, but I see in the logs the following over and over:

[2016/07/12 10:06:03.972792,  0] ../source3/param/loadparm.c:32
59(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/10.0.1.zip
failed. No such file or directory


There are no shares at: /var/lib/samba

Here is my smb.conf file with some edits. BTW, recycling doesn't work, but
I'll address that later.

[global]

workgroup = XXX

server string = Samba Server %v

netbios name = XXXXXXXXX

security = user

map to guest = bad user

dns proxy = no

# Enable Recycling

vfs objects = full_audit recycle

recycle:repository = /samba/Recycle/%U

recycle:touch = Yes

recycle:keeptree = Yes

recycle:versions = Yes

recycle:noversions = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP

recycle:exclude = *.tmp,*.temp,*.o,*.obj,*.TMP,*.TEMP

recycle:excludedir = /recycle,/tmp,/temp,/TMP,/TEMP

full_audit:prefix = %u|%I

full_audit:success = open mkdir rmdir write unlink rename

full_audit:failure = mkdir rmdir write unlink rename



#============================ Share Definitions
==============================


[homes]

comment = Home Directories

path = /home/%S

valid users = %S

browseable = no

guest ok = no

writable = yes

create mask = 770

directory mask = 770



[Accounting]

browsable = yes

writeable = yes

create mode = 770

valid users = @accounting

path = /samba/Accounting

force directory mode = 02770

directory mode = 02770

force group = accounting


[Marketing]

writeable = yes

browsable = yes

create mode = 770

path = /samba/Marketing

valid users = @marketing

force directory mode = 02770

directory mode = 02770

force group = marketing



-- 
Curtis Vaughan

"Bury the past, rob us blind
And leave nothin behind
View the world from American eyes" - RATM


More information about the samba mailing list