[Samba] Cannot connect to Samab

Reindl Harald h.reindl at thelounge.net
Fri Dec 23 12:56:12 UTC 2016


first keep your mail on the list and only the list

it makes me tired when people deliver denugging infos in pieces  - what 
about "telnet host port" - what makes you sure that a low level 
connection even works and no firefwall or whatever device blocks the 
connection and as long that is not clear any other debugging is useless

and i still don't get why in the world don't you start with a default 
configuration and then add param by param so that you can see what is 
responsible when something stps to work

Am 23.12.2016 um 13:34 schrieb John Serink:
> jserinki7 jserink # netstat -lnptu
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address           Foreign Address
> State       PID/Program name
> tcp        0      0 0.0.0.0:53 <http://0.0.0.0:53>
>  0.0.0.0:*               LISTEN      3711/dnsmasq
> tcp        0      0 127.0.0.1:631 <http://127.0.0.1:631>
> 0.0.0.0:*               LISTEN      2849/cupsd
> tcp        0      0 192.168.100.1:445 <http://192.168.100.1:445>
> 0.0.0.0:*               LISTEN      27998/smbd
> tcp        0      0 127.0.0.1:445 <http://127.0.0.1:445>
> 0.0.0.0:*               LISTEN      27998/smbd
> tcp        0      0 192.168.100.1:139 <http://192.168.100.1:139>
> 0.0.0.0:*               LISTEN      27998/smbd
> tcp        0      0 127.0.0.1:139 <http://127.0.0.1:139>
> 0.0.0.0:*               LISTEN      27998/smbd
> tcp        0      0 0.0.0.0:22222 <http://0.0.0.0:22222>
> 0.0.0.0:*               LISTEN      2992/sshd
> tcp        0      0 127.0.0.1:7634 <http://127.0.0.1:7634>
>  0.0.0.0:*               LISTEN      2906/hddtemp
> tcp6       0      0 :::53                   :::*
>  LISTEN      3711/dnsmasq
> tcp6       0      0 ::1:631                 :::*
>  LISTEN      2849/cupsd
> tcp6       0      0 :::22222                :::*
>  LISTEN      2992/sshd
> udp        0      0 0.0.0.0:5353 <http://0.0.0.0:5353>
>  0.0.0.0:*                           6048/libpepflashpla
> udp        0      0 0.0.0.0:53 <http://0.0.0.0:53>
>  0.0.0.0:*                           3711/dnsmasq
> udp        0      0 0.0.0.0:68 <http://0.0.0.0:68>
>  0.0.0.0:*                           4102/dhcpcd
> udp        0      0 192.168.100.255:137 <http://192.168.100.255:137>
> 0.0.0.0:*                           28004/nmbd
> udp        0      0 192.168.100.1:137 <http://192.168.100.1:137>
> 0.0.0.0:*                           28004/nmbd
> udp        0      0 0.0.0.0:137 <http://0.0.0.0:137>
> 0.0.0.0:*                           28004/nmbd
> udp        0      0 192.168.100.255:138 <http://192.168.100.255:138>
> 0.0.0.0:*                           28004/nmbd
> udp        0      0 192.168.100.1:138 <http://192.168.100.1:138>
> 0.0.0.0:*                           28004/nmbd
> udp        0      0 0.0.0.0:138 <http://0.0.0.0:138>
> 0.0.0.0:*                           28004/nmbd
> udp6       0      0 :::53                   :::*
>        3711/dnsmasq
>
>
> On Fri, Dec 23, 2016 at 6:57 PM, Reindl Harald via samba
> <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
>
>
>
>     Am 23.12.2016 um 05:29 schrieb John Serink via samba:
>
>         I then tried from a bash prompt and get his:
>         jserinki7 jserink # smbclient -L 192.168.100.1 -U jserink -m SMB2
>         Enter jserink's password:
>         protocol negotiation failed: NT_STATUS_IO_TIMEOUT
>         hosts allow = 192.168.100. 127.0.0.
>         interfaces = 192.168.100.1/24 <http://192.168.100.1/24>
>         127.0.0.1/24 <http://127.0.0.1/24>
>         bind interfaces only = yes
>
>
>     why in teh world are you *starting* with such nonsense
>     configurations you obviosuly don't understand (otherwise you won't
>     list CIDR masks in interface settings)?
>
>     * first you srtart with looking if the service is listening correctly
>     * second you try to connect with "telnet host port"
>     * and AFTER thatis successful you have a point to touch a native client
>
>     so what says "netstat --numeric-hosts --numeric-ports --programs -u
>     -t -l" on the server?



More information about the samba mailing list