[Samba] Standalone Update 4.8.5 -> 4.9.2 smb fails to start ERROR: failed to setup guest info.
- Date: Wed, 21 Nov 2018 18:21:30 -0600
- From: "David C. Rankin via samba" <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] Standalone Update 4.8.5 -> 4.9.2 smb fails to start ERROR: failed to setup guest info.
Very strange error - smb fails to start on Archlinux after upgrade from
4.8.5 -> 4.9.2 on a simple standalone server. This server has run for years
just fine through all upgrades, but on this one, smb cannot start:
# sc -l --no-pager status smb
● smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor
Active: failed (Result: exit-code) since Wed 2018-11-21 17:59:29 CST; 3s ago
Process: 10684 ExecStart=/usr/bin/smbd --foreground --no-process-group
$SMBDOPTIONS (code=exited, status=255)
Main PID: 10684 (code=exited, status=255)
Nov 21 17:59:29 phoinix systemd: Starting Samba SMB Daemon...
Nov 21 17:59:29 phoinix smbd: [2018/11/21 17:59:29.478644, 0]
Nov 21 17:59:29 phoinix smbd: create_local_token failed:
Nov 21 17:59:29 phoinix smbd: [2018/11/21 17:59:29.478734, 0]
Nov 21 17:59:29 phoinix smbd: ERROR: failed to setup guest info.
Nov 21 17:59:29 phoinix systemd: smb.service: Main process exited,
Nov 21 17:59:29 phoinix systemd: smb.service: Failed with result 'exit-code'.
Nov 21 17:59:29 phoinix systemd: Failed to start Samba SMB Daemon.
Downgrading to 4.8.5 and all is fine. The config (testparm output) is:
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[config]"
Processing section "[http]"
Processing section "[samba]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[pdf-gen]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
dns proxy = No
domain master = Yes
log file = /var/log/samba/client-%m.log
max log size = 500
os level = 66
preferred master = Yes
printcap name = /etc/printcap
security = USER
server string = Phoinix Samba %v
show add printer wizard = No
smb passwd file = /etc/samba/smbpasswd
time server = Yes
wins support = Yes
workgroup = RLFPLLC
idmap config * : backend = tdb
admin users = david
hosts allow = 192.168.6. 192.168.7. 127.
browseable = No
comment = Home Directories
read only = No
browseable = No
comment = All Printers
create mask = 0700
guest ok = Yes
path = /var/spool/samba
printable = Yes
use client driver = Yes
The only place 'guest' is used is in the [printers] share with "guest ok =
Yes". I'm at a loss what the following is trying to tell me:
create_local_token failed: NT_STATUS_ACCESS_DENIED
ERROR: failed to setup guest info.
It doesn't tell me a whole lot other than something went South regarding
"guest info"? Why this is different in 4.9.2 from 4.8.5, I haven't a clue, but
4.8.5 works just fine. I have several other samba boxes with very similar
configs (other than they are not the browse master or win server or time server)
I've googled and found nothing related to 4.8 - 4.9 updates regarding this
error, or I just wasn't smart enough to find it. The bewildering part is I
have 2 other Arch servers with practically identical configs and they handled
the update just fine - so I'm not sure where to go from here. The only
difference between the boxes is that this one has probably been in service the
longest, going back to at least samba 4.1 -- if that makes any difference.
What to check?
David C. Rankin, J.D.,P.E.
To unsubscribe from this list go to the following URL and read the