Hi KO!
I omitted the directory as part of the socket name as I couldn't remember the rules around socket names - but figured something like \\socket\\c:\mptn\etc\samba\np\xxxx may not be allowed..
Yes you are right - that was a typo. That now lets me trigger a hang as soon as I attempt 'net rpc user -S 192.168.1.135' from a linux box (where 192.168.1.135 is the IP of the ArcaOS box).
The error is still:
[2024/08/13 18:47:25.882000, 10, pid=4720, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:175(np_sock_connect_connected)
np_sock_connect_connected: async_connect_recv returned Can't assign requested address
[2024/08/13 18:47:25.882000, 10, pid=4720, effective(109, 514), real(0, 0)] ../../source3/rpc_client/local_np.c:699(local_np_connect_connected)
local_np_connect_connected: np_sock_connect failed: Can't assign requested address
Interestingly, log.samba-dceprcd ends with:
[2024/08/13 18:47:26.181000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_classic.exe index 0
[2024/08/13 18:47:26.368000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_epmapper.exe index 1
[2024/08/13 18:47:26.548000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_fsrvp.exe index 2
[2024/08/13 18:47:26.736000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_lsad.exe index 3
[2024/08/13 18:47:27.370000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_mdssvc.exe index 4
[2024/08/13 18:47:27.730000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_spoolss.exe index 5
[2024/08/13 18:47:27.902000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:2435(rpc_host_send)
rpc_host_send: server_setup for U:/dev/samba-os2-4.19.x/bin/rpcd_winreg.exe index 6
[2024/08/13 18:47:28.058000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4726, wstatus=0
[2024/08/13 18:47:28.058000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4726
[2024/08/13 18:47:28.058000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4724, wstatus=0
[2024/08/13 18:47:28.058000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4724
[2024/08/13 18:47:28.058000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4723, wstatus=0
[2024/08/13 18:47:28.058000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4723
[2024/08/13 18:47:28.355000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4730, wstatus=0
[2024/08/13 18:47:28.355000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4730
[2024/08/13 18:47:28.654000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4728, wstatus=0
[2024/08/13 18:47:28.654000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4728
[2024/08/13 18:47:28.663000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4733, wstatus=0
[2024/08/13 18:47:28.663000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4733
[2024/08/13 18:47:28.683000, 10, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1784(rpc_host_sigchld)
rpc_host_sigchld: pid=4735, wstatus=0
[2024/08/13 18:47:28.683000, 1, pid=4722, effective(0, 0), real(0, 0)] ../../source3/rpc_server/rpc_host.c:1752(rpc_worker_exited)
rpc_worker_exited: No worker with PID 4735
That could be due to pipe() in lieu of socketpair()... will go hunting...
Edit: attached patch eliminates the errors in log.samba-dcerpcd but still get the log.smbd errors.