[Samba] Cannot connect to Samab

John Serink
Fri, 23 Dec 2016 12:34:16 -0000

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              0.0.0.0:*               LISTEN
     3711/dnsmasq
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN
     2849/cupsd
tcp        0      0 192.168.100.1:445       0.0.0.0:*               LISTEN
     27998/smbd
tcp        0      0 127.0.0.1:445           0.0.0.0:*               LISTEN
     27998/smbd
tcp        0      0 192.168.100.1:139       0.0.0.0:*               LISTEN
     27998/smbd
tcp        0      0 127.0.0.1:139           0.0.0.0:*               LISTEN
     27998/smbd
tcp        0      0 0.0.0.0:22222           0.0.0.0:*               LISTEN
     2992/sshd
tcp        0      0 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            0.0.0.0:*
    6048/libpepflashpla
udp        0      0 0.0.0.0:53              0.0.0.0:*
    3711/dnsmasq
udp        0      0 0.0.0.0:68              0.0.0.0:*
    4102/dhcpcd
udp        0      0 192.168.100.255:137     0.0.0.0:*
    28004/nmbd
udp        0      0 192.168.100.1:137       0.0.0.0:*
    28004/nmbd
udp        0      0 0.0.0.0:137             0.0.0.0:*
    28004/nmbd
udp        0      0 192.168.100.255:138     0.0.0.0:*
    28004/nmbd
udp        0      0 192.168.100.1:138       0.0.0.0:*
    28004/nmbd
udp        0      0 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> 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 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?
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




--
John Edward Serink
Product Applications Engineer,
Advanced Positioning
Trimble Navigation Singapore PTE Ltd.
80 Marine Parade Road,
Co. Reg. No. 199204958W
#22-06 Parkway Parade
Singapore 449269
Tel 65-6348-2212
Fax 65-6348-2232
DID 65-6348-2178
HP  65-9129-4250
Skype: johnserink