David C. Rankin
2018-Nov-22 00:21 UTC
[Samba] Standalone Update 4.8.5 -> 4.9.2 smb fails to start ERROR: failed to setup guest info.
Samba Devs, 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 preset: disabled) Active: failed (Result: exit-code) since Wed 2018-11-21 17:59:29 CST; 3s ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) 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[1]: Starting Samba SMB Daemon... Nov 21 17:59:29 phoinix smbd[10684]: [2018/11/21 17:59:29.478644, 0] ../source3/auth/auth_util.c:1382(make_new_session_info_guest) Nov 21 17:59:29 phoinix smbd[10684]: create_local_token failed: NT_STATUS_ACCESS_DENIED Nov 21 17:59:29 phoinix smbd[10684]: [2018/11/21 17:59:29.478734, 0] ../source3/smbd/server.c:2000(main) Nov 21 17:59:29 phoinix smbd[10684]: ERROR: failed to setup guest info. Nov 21 17:59:29 phoinix systemd[1]: smb.service: Main process exited, code=exited, status=255/n/a Nov 21 17:59:29 phoinix systemd[1]: smb.service: Failed with result 'exit-code'. Nov 21 17:59:29 phoinix systemd[1]: Failed to start Samba SMB Daemon. Downgrading to 4.8.5 and all is fine. The config (testparm output) is: # testparm 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 [global] 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. [homes] browseable = No comment = Home Directories read only = No ... [printers] 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: ../source3/auth/auth_util.c:1382(make_new_session_info_guest) create_local_token failed: NT_STATUS_ACCESS_DENIED ../source3/smbd/server.c:2000(main) 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.
David C. Rankin
2018-Nov-22 03:20 UTC
[Samba] Standalone Update 4.8.5 -> 4.9.2 smb fails to start ERROR: failed to setup guest info.
On 11/21/2018 06:21 PM, David C. Rankin via samba wrote:> 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.Uugh! Disregard, Problem found. For some reason, winbind got started, and with 4.8.5 smb would run fine, but with 4.9.2 it wouldn't. Problem solved. -- David C. Rankin, J.D.,P.E.
L.P.H. van Belle
2018-Nov-22 08:12 UTC
[Samba] Standalone Update 4.8.5 -> 4.9.2 smb fails to start ERROR: failed to setup guest info.
Hai, Yes, this is a know problem. No much responce yet, i thinks because its base on my own packages, but is clearly a samba bug. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909465 Or enable : idmap config * : backend = tdb idmap config * : range = 3000-7999 Or run : net groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin And its working fine on 4.9.x Greetz, Louis> -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > David C. Rankin via samba > Verzonden: donderdag 22 november 2018 4:21 > Aan: samba > Onderwerp: Re: [Samba] Standalone Update 4.8.5 -> 4.9.2 smb > fails to start ERROR: failed to setup guest info. > > On 11/21/2018 06:21 PM, David C. Rankin via samba wrote: > > 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. > > Uugh! Disregard, > > Problem found. For some reason, winbind got started, and > with 4.8.5 smb > would run fine, but with 4.9.2 it wouldn't. Problem solved. > > -- > David C. Rankin, J.D.,P.E. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
Maybe Matching Threads
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
- systemd - error on start: You should start smbd/nmbd/winbindd for domain member & standalone
- upgrade 4.4 -> 4.5 broke standalone server smbmount of drives?
- Nut (git) upsdrvctl fails without "-u root start <upsname>", upsd fails on state file GID