samba at laurenz.ws
2023-Oct-04 12:42 UTC
[Samba] rpcclient / smbclient to windows 2016 sbs
Hi, i just want to see if I can connect to a windows 2016 system an I just test with smbclient -M <ip> oder rpcclient <IP>. In both cases I can see a connect to port 139 and that it is refused. In the windows box the rpcserver is running and the firewall is disabled for testing In both case I get NT_STATUS_CONNECTION_REFUSED Regards, Dirk
On Wed, 4 Oct 2023 14:42:50 +0200 Dirk Laurenz via samba <samba at lists.samba.org> wrote:> Hi, > > > > i just want to see if I can connect to a windows 2016 system an I > just test with smbclient -M <ip> oder rpcclient <IP>. > > > > In both cases I can see a connect to port 139 and that it is refused. > > > > In the windows box the rpcserver is running and the firewall is > disabled for testing > > > > In both case I get NT_STATUS_CONNECTION_REFUSED > > > > Regards, > > > > Dirk >You could try adding '-p 445' That should force the use of port 445 instead of the default 139 Rowland