[Bug 294804] net/samba416: rpc_pipe_open_ncalrpc connect failure due to incorrect EPMAPPER socket path
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 Apr 2026 08:19:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294804
Bug ID: 294804
Summary: net/samba416: rpc_pipe_open_ncalrpc connect failure
due to incorrect EPMAPPER socket path
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: samba@FreeBSD.org
Reporter: vadlerg@freemail.hu
Flags: maintainer-feedback?(samba@FreeBSD.org)
Assignee: samba@FreeBSD.org
Created attachment 270130
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270130&action=edit
symbolic link mitigation for connection refused on rpc calls
The samba-dcerpcd creating the socket on the
/var/run/samba4/ncalrpc/np/epmapper location, but the smbd is looking for it on
the /var/run/samba4/ncalrpc/EPMAPPER location, which causing "Connection
refused" problem in rpc calls.
This behavior is observed when
rpc_server:epmapper = external
is present in the smb4.conf file.
If the mitigation of the problem (creating symbolic links) is not handled
correctly, the connection will fail.
[2026/04/25 00:50:39.989266, 1]
../../source3/rpc_client/cli_pipe.c:3016(rpc_pipe_open_ncalrpc)
rpc_pipe_open_ncalrpc: connect(/var/run/samba4/ncalrpc/EPMAPPER) failed:
Connection refused
[2026/04/25 00:50:41.690407, 1]
../../source3/rpc_server/rpc_host.c:1763(rpc_worker_exited)
rpc_worker_exited: No worker with PID 53974
[2026/04/25 00:50:41.706210, 1]
../../source3/rpc_server/rpc_host.c:1763(rpc_worker_exited)
rpc_worker_exited: No worker with PID 53973
For fast mitigation see the rc.local file enclosed.
--
You are receiving this mail because:
You are the assignee for the bug.