Fix Samba Error – Failed to setup guest info

When starting samba you may receive this error:

smbd[11632]: ../source3/auth/auth_util.c:1382(make_new_ses...guest)
smbd[11632]:   create_local_token failed: NT_STATUS_ACCESS_DENIED
smbd[11632]: ../source3/smbd/server.c:2000(main)
smbd[11632]:   ERROR: failed to setup guest info.

To fix this, map the guests group to nobody

# net -s /dev/null groupmap add sid=S-1-5-32-546 unixgroup=nobody type=builtin

Now you can start the samba service

# systemctl start smb

Was this helpful?

4 / 1

Leave a Reply 1

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Raul Libório

Raul Libório

Thanks man! Your tip helped me to solve a problem with SAMBA:
I solve without install winbind, using only this command in Debian (buster):
net -s /dev/null groupmap add sid=S-1-5-32-546 unixgroup=nogroup type=builtin