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

One comment on “Fix Samba Error – Failed to setup guest info

Leave a Reply

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