Fix can be found here. Very fresh...
https://bugzilla.samba.org/show_bug.cgi?id=13697
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> Doron Behar via samba
> Verzonden: vrijdag 21 december 2018 13:58
> Aan: samba at lists.samba.org
> Onderwerp: [Samba] ERROR: failed to setup guest info
>
> Hello,
>
> I've been using samba for a few years but I use it only occasionally.
> Today, I've found out that since the upgrade to 4.9.2, smbd
wouldn't
> start.
>
> I use Arch Linux. The command that starts samba on the systemd service
> is this:
>
> /usr/bin/smbd --foreground --no-process-group
>
> These are my configuration file's [global] parameters:
>
> bind interfaces only = Yes
> domain master = No
> interfaces = enp0s25 lo
> local master = No
> log file = /var/log/samba/%m.log
> map to guest = Bad User
> max log size = 50
> passwd chat = *New*UNIX*password* %n\n
> *ReType*new*UNIX*password* %n\n
> *passwd:*all*authentication*tokens*updated*successfully*
> passwd program = /usr/bin/passwd %u
> preferred master = No
> security = USER
> server string = myserver
> unix password sync = Yes
> idmap config * : backend = tdb
> hosts allow = 192.168.14.
>
> And these are the error messages from the journal:
>
> smbd[2339]: [2018/12/21 12:22:31.534503, 0]
> ../source3/auth/auth_util.c:1382(make_new_session_info_guest)
> smbd[2339]: create_local_token failed: NT_STATUS_ACCESS_DENIED
> smbd[2339]: [2018/12/21 12:22:31.535964, 0]
> ../source3/smbd/server.c:2000(main)
> smbd[2339]: ERROR: failed to setup guest info.
>
> If I manual run `smbd --foreground --no-process-group
> --log-stdout -d2` I get the
> following output:
>
> smbd version 4.9.4 started.
> Copyright Andrew Tridgell and the Samba Team 1992-2018
> uid=0 gid=0 euid=0 egid=0
> rlimit_max: increasing rlimit_max (1024) to minimum
> Windows limit (16384)
> Registered MSG_REQ_POOL_USAGE
> Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
> rlimit_max: increasing rlimit_max (1024) to minimum
> Windows limit (16384)
> Processing section "[My share]"
> added interface enp0s25
> ip=xxxx:xxxx:xxxx:x:xxxx:xxxx:xxxx:xxxx bcast=
> netmask=ffff:ffff:ffff:ffff::
> added interface enp0s25 ip=xxx.xxx.xx.xxx
> bcast=xxx.xxx.xx.xxx netmask=255.255.255.0
> added interface lo ip=::1 bcast=
> netmask=ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
> added interface lo ip=127.0.0.1 bcast=127.255.255.255
> netmask=255.0.0.0
> INFO: Profiling support unavailable in this build.
> No builtin backend found, trying to load plugin
> WARNING: Failed to create BUILTIN\Administrators group!
> Can Winbind allocate gids?
> WARNING: Failed to create BUILTIN\Users group! Can
> Winbind allocate gids?
> Failed to create BUILTIN\Guests group
> NT_STATUS_ACCESS_DENIED! Can Winbind allocate gids?
> create_local_token failed: NT_STATUS_ACCESS_DENIED
> ERROR: failed to setup guest info.
>
> Any ideas? I can give more information if needed.
>
> I've enabled nmb and winbindd systemd services which run the commands:
>
> /usr/bin/nmbd --foreground --no-process-group
> /usr/bin/winbindd --foreground --no-process-group
>
> But these command don't fail.
>
> Thanks.
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>