New comment by Anachron on void-packages repository https://github.com/void-linux/void-packages/pull/27626#issuecomment-753888015 Comment: I nuked everything and ran `nmbd` and `smbd`, yet it errors out. In my syslog: ``` 2021-01-04T10:06:45.87226 daemon.notice: Jan 4 11:06:45 smbd: smbd version 4.13.3 started. 2021-01-04T10:06:45.87259 daemon.notice: Jan 4 11:06:45 smbd: Copyright Andrew Tridgell and the Samba Team 1992-2020 2021-01-04T10:06:45.94161 daemon.notice: Jan 4 11:06:45 smbd: main: Failed to setup RPC server: NT_STATUS_UNSUCCESSFUL 2021-01-04T10:06:45.94197 daemon.notice: Jan 4 11:06:45 smbd: exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13 ``` Running it in my shell (`smbd -F -S -d 6`) however returns a different error: ``` added interface eth0 ip=192.168.178.20 bcast=192.168.178.255 netmask=255.255.255.0 Netbios name list:- my_netbios_names[0]="VOID-RPI3" exit_daemon: daemon failed to start: Failed to create session, error code 1 ``` If I add `--no-process-group` when run locally I receive: ``` Finding user nobody Trying _Get_Pwnam(), username as lowercase is nobody Get_Pwnam_internals did find user [nobody]! Security token: (NULL) Security token: (NULL) Security token: (NULL) Security token: (NULL) Security token: (NULL) Security token: (NULL) Security token: (NULL) svcctl_init_winreg: Could not open SYSTEM\CurrentControlSet\Services - NT_STATUS_INVALID_HANDLE dcesrv_init_ep_server: Failed to init endpoint server 'svcctl': NT_STATUS_UNSUCCESSFUL dcesrv_init: Failed to init DCE/RPC endpoint servers: NT_STATUS_UNSUCCESSFUL main: Failed to setup RPC server: NT_STATUS_UNSUCCESSFUL exit_daemon: daemon failed to start: Samba cannot setup ep pipe, error code 13 ``` Strace: https://gist.github.com/Anachron/191a7377ed8ec35eb597a649e5014710 Following line looks suspicious: ``` newfstatat(AT_FDCWD, "/run/samba/winbindd", 0x7fe3cb2698, AT_SYMLINK_NOFOLLOW) = -1 ENOENT (No such file or directory) ```