[Samba] Could not convert SID S-0-0, error is NT_STATUS_NONE_MAPPED

Peter Eriksson pen at lysator.liu.se
Tue Jul 25 11:21:46 UTC 2023


In my never-ending quest of removing clutter from the log files, I notice that we in /var/log/messages get a lot of:

> Jul 25 13:08:30 filur00 winbindd[88603]: [2023/07/25 13:08:30.756462,  1] ../../source3/winbindd/winbindd_lookupname.c:122(winbindd_lookupname_recv)
> Jul 25 13:08:30 filur00 winbindd[88603]:   Could not convert SID S-0-0, error is NT_STATUS_NONE_MAPPED

Seems to happen when our test-user logs in.

I can just remove that log line in the source code, but I’m curious if there is something else I can do to silence it. I was thinking it was related to directories owned by the ‘root’ user (which doesn’t have a mapping to a Windows user but I’ve tried to get rid of the root-owned directories in the path for the test user but it doesn’t seem to help much. Any ideas?


Another error in the syslog messages file is:

Jul 25 13:16:19 filur00 samba-dcerpcd[43617]: [2023/07/25 13:16:19.901490,  1] ../../source3/rpc_client/cli_pipe.c:3014(rpc_pipe_open_ncalrpc)
Jul 25 13:16:19 filur00 samba-dcerpcd[43617]:   rpc_pipe_open_ncalrpc: connect(/liu/var/samba/ncalrpc/EPMAPPER) failed: No such file or directory

This only happens once when starting Samba but it still annoys me. There is no EPMAPPER object in that directory, the closest that looks relevant is:

  /liu/var/samba/ncalrpc/np/epmapper

Is that supposed to point to the same thing?


Samba 4.18.5, FreeBSD 13.2

- Peter




More information about the samba mailing list