John McLean
2013-Dec-12 21:22 UTC
[Samba] Should there be a process listening on port 135?
I'm running samba 4.1.2 on Linux Mint 15. Getting the following: ? ./samba-tool drs kcc samba-realm Failed to connect host 192.168.231.132 on port 135 - NT_STATUS_CONNECTION_REFUSED Failed to connect host 192.168.231.132 (samba-realm) on port 135 - NT_STATUS_CONNECTION_REFUSED. I don't see samba or smbd listening on port 135. 53 and 137 are. e.g.: ? netstat -anp | grep samba | grep ":53" tcp??????? 0????? 0 0.0.0.0:53????????????? 0.0.0.0:*?????????????? LISTEN????? 2694/samba????? udp??????? 0????? 0 0.0.0.0:53????????????? 0.0.0.0:*?????????????????????????? 2694/samba ? netstat -anp | grep samba | grep ":137" udp??????? 0????? 0 127.0.0.1:137?????????? 0.0.0.0:*?????????????????????????? 2694/samba????? udp??????? 0????? 0 127.255.255.255:137???? 0.0.0.0:*?????????????????????????? 2694/samba????? udp??????? 0????? 0 192.168.231.132:137???? 0.0.0.0:*?????????????????????????? 2694/samba????? udp??????? 0????? 0 192.168.231.255:137???? 0.0.0.0:*?????????????????????????? 2694/samba????? udp??????? 0????? 0 0.0.0.0:137???????????? 0.0.0.0:*?????????????????????????? 2694/samba ? But not 135. Other things, like samba_dnsupdate?and smbclient?appears to give expected output, so some things seem to be configured okay. ? Thx. J.
Ricky Nance
2013-Dec-12 21:59 UTC
[Samba] Should there be a process listening on port 135?
Can you paste your [global] section of your config? Also what is the output of netstat -anp | grep 135 | grep "LISTEN " when you run it as root? (not sudo, but sudo -i then run it). Also I am interested in the output from netstat -anp | grep "samba\|mbd\|winbind" . Thanks, Ricky On Thu, Dec 12, 2013 at 3:22 PM, John McLean <j_d_mclean at yahoo.ca> wrote:> I'm running samba 4.1.2 on Linux Mint 15. Getting the following: > > ./samba-tool drs kcc samba-realm > Failed to connect host 192.168.231.132 on port 135 - > NT_STATUS_CONNECTION_REFUSED > Failed to connect host 192.168.231.132 (samba-realm) on port 135 - > NT_STATUS_CONNECTION_REFUSED. > > I don't see samba or smbd listening on port 135. 53 and 137 are. e.g.: > > netstat -anp | grep samba | grep ":53" > tcp 0 0 0.0.0.0:53 0.0.0.0:* > LISTEN 2694/samba > udp 0 0 0.0.0.0:53 0.0.0.0:* > 2694/samba > > netstat -anp | grep samba | grep ":137" > udp 0 0 127.0.0.1:137 0.0.0.0:* > 2694/samba > udp 0 0 127.255.255.255:137 0.0.0.0:* > 2694/samba > udp 0 0 192.168.231.132:137 0.0.0.0:* > 2694/samba > udp 0 0 192.168.231.255:137 0.0.0.0:* > 2694/samba > udp 0 0 0.0.0.0:137 0.0.0.0:* > 2694/samba > > But not 135. Other things, like samba_dnsupdate and smbclient appears to > give expected output, so some things seem to be configured okay. > > Thx. J. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >