[Samba] Excessive log entries
Elliott Balsley
elliott at altsystems.com
Thu Sep 12 18:51:08 UTC 2019
Hello. I am using Samba 4.8.3 on CentOS 7 and I am seeing a strange error
in the log.
I have usershare max shares = 1 and I have exactly one share defined.
Every time I list shared with *smbclient -L* I see this line in the log:
[2019/09/11
17:41:30.413727, 0] ../source3/param/loadparm.c:3755(load_usershare_shares)
load_usershare_shares: too many total entries (2) in
directory /usr/local/samba/lib/usershares
$ cat /usr/local/samba/lib/usershares/tank_data
#VERSION 2
path=/tank/data
comment=Comment: /tank/data
usershare_acl=S-1-1-0:F
guest_ok=n
sharename=tank_data
Also, I see the following every time I start the smb service. I haven't
noticed any real problems but I would like to clean up the log file.
[2019/09/11 16:15:51.489156, 1]
../source3/profile/profile.c:51(set_profile_level)
INFO: Profiling turned OFF from pid 948
[2019/09/11 16:15:51.504426, 0]
../lib/util/become_daemon.c:138(daemon_ready)
daemon_ready: STATUS=daemon 'smbd' finished starting up and ready to
serve connections
[2019/09/11 16:15:51.509030, 1]
../source3/printing/printer_list.c:234(printer_list_get_last_refresh)
Failed to fetch record!
[2019/09/11 16:15:51.516549, 1] ../source3/lib/messages.c:879(send_all_fn)
send_all_fn: messaging_send_buf to 827 failed:
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2019/09/11 16:15:51.516676, 1] ../source3/lib/messages.c:879(send_all_fn)
send_all_fn: messaging_send_buf to 828 failed:
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2019/09/11 16:15:51.516737, 1] ../source3/lib/messages.c:879(send_all_fn)
send_all_fn: messaging_send_buf to 928 failed:
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2019/09/11 16:15:51.516799, 1] ../source3/lib/messages.c:879(send_all_fn)
send_all_fn: messaging_send_buf to 929 failed:
NT_STATUS_OBJECT_NAME_NOT_FOUND
My smb.conf:
[global]
security = user
passdb backend = tdbsam
logging = file
log level = 0
usershare max shares = 1
usershare path = /usr/local/samba/lib/usershares
[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes
More information about the samba
mailing list