[Samba] rpcclient / smbclient to windows 2016 sbs

Rowland Penny rpenny at samba.org
Wed Oct 4 12:50:38 UTC 2023


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



More information about the samba mailing list