[Samba] Connecting to samba server from android TV Box

Jeremy Allison jra at samba.org
Fri Jan 24 05:44:08 UTC 2020


On Thu, Jan 23, 2020 at 08:29:32PM -0500, Alex wrote:
> Hi, thanks so much for your help. This one was taken using tcpdump
> directly, and readable in wireshark, although I'm not sure it has all
> the info you need. I used the following:
> 
> # tcpdump -vvvni any -w ninkbox.pcap host 192.168.1.109
> 
> https://drive.google.com/open?id=1zPjZIfs1F73Xa0PJ-oEYYfuhj5N2SqyT
> 
> Here also is my smb.conf:
> 
> global]
>         workgroup = NETDEV
>         server string = Samba Server Version %v
>         server min protocol = NT1
>         netbios name = SAGE
>         log file = /var/log/samba/log.%m
>         log level = 4
>         max log size = 500000
>         security = user
>         passdb backend = tdbsam
>         unix password sync = yes
>         lm announce = no
>         lanman auth = yes
>         ntlm auth = yes
>         load printers = yes
>         cups options = raw
> [printers]
>         comment = All Printers
>         path = /var/spool/samba
>         printable = yes
> [dave]
>         comment = Alex Home
>         path = /home/alex
>         read only = no
>         browseable = yes
>         guest ok = yes
> [Videos]
>         comment = Movies / TV Shows
>         path = /home/alex/Videos
>         read only = no
>         browseable = yes
>         guest ok = yes

Yep, that's readable thanks. The client connects
to the server, opens \\192.168.1.7\IPC$ and then
\srvsvc and does a DCE-RPC NetShareEnumAll request,
which we reply to, the client closes the handle
 - then the client just sits there.

No further requests at all.

You need to look inside the client logs to
discover why it's just sitting there. The
server replied, it's now the clients turn
to do something (and it isn't).

Whose client code is this ?



More information about the samba mailing list