# systemctl status smbd reports:
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4915)
CGroup: /system.slice/smbd.service
├─1288 /usr/sbin/smbd --foreground --no-process-group
├─1296 /usr/sbin/smbd --foreground --no-process-group
├─1297 /usr/sbin/smbd --foreground --no-process-group
└─1317 /usr/sbin/smbd --foreground --no-process-group
Jul 12 08:08:25 albury.asandco smbd[7188]: [2018/07/12 08:08:25.316265, 0] ../source3/auth/user_util.c:371(map_username)
Jul 12 08:08:25 albury.asandco smbd[7188]: can't open username map /etc/samba/smbusers. Error No such file or directory
Jul 12 08:08:26 albury.asandco smbd[7188]: [2018/07/12 08:08:26.426379, 0] ../source3/auth/user_util.c:371(map_username)
Jul 12 08:08:26 albury.asandco smbd[7188]: can't open username map /etc/samba/smbusers. Error No such file or directory
Jul 12 08:08:26 albury.asandco smbd[7188]: [2018/07/12 08:08:26.431544, 0] ../source3/auth/user_util.c:371(map_username)
Jul 12 08:08:26 albury.asandco smbd[7188]: can't open username map /etc/samba/smbusers. Error No such file or directory
Jul 12 08:09:17 albury.asandco smbd[7288]: [2018/07/12 08:09:17.119678, 0] ../source3/auth/user_util.c:371(map_username)
Jul 12 08:09:17 albury.asandco smbd[7288]: can't open username map /etc/samba/smbusers. Error No such file or directory
Which is true, there isn't one. I have run smbpasswd (again) but that makes no difference.
This is part of my current samba.conf (just globals and one share):
Code: Select all
[global]
workgroup =AGROUP
netbios name = ATLAS
# default is security = user
server string = %h
map to guest = Bad User
log file = /var/log/samba/%m.log
max log size = 50
printcap cache time = 60
printcap name = cups
dns proxy = No
guest ok = Yes
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
name resolve order = lmhosts bcast host wins
# The following two lines were added 7 Jan 2016
force user = alan
force group = alan
preferred master = no
domain master = no
local master = no
[alan]
comment = Alan's service
path = /home/alan
valid users = alan
admin users = alan
read only = No
I am baffled.