[Samba] Connecting to samba server from android TV Box

Alex mysqlstudent at gmail.com
Thu Jan 23 14:54:49 UTC 2020


Hi,
I've finally found time to get back to this and have created a
wireshark trace that can be found here:
https://drive.google.com/open?id=1uLps-uEpyHOiA5BjPMq33OmOASB4rjz7

This trace includes from the time the device gets its IP from DHCP
until it reports a login failure.

I had previously reported the Android box reports "mount fail" despite
being able to see the available shares on the SMB host. After the
wireshark trace, it appears after it completes the authentication with
the SMB server and gets the share list, it stops communicating over
the network and just reports "mount fail".

Here's the last message produced in the logs for that host:

[2020/01/23 09:49:58.409470,  4]
../../auth/auth_log.c:740(log_successful_authz_event_human_readable)
  Successful AuthZ: [SMB,NTLMSSP] user [SAGE]\[dave]
[S-1-5-21-2538935071-3089878733-2078081524-1000] at [Thu, 23 Jan 2020
09:49:58.4
09463 EST] Remote host [ipv4:192.168.1.109:34726] local host
[ipv4:192.168.1.7:445]
  {"timestamp": "2020-01-23T09:49:58.409498-0500", "type":
"Authorization", "Authorization": {"version": {"major": 1, "minor":
1}, "l
ocalAddress": "ipv4:192.168.1.7:445", "remoteAddress":
"ipv4:192.168.1.109:34726", "serviceDescription": "SMB", "authType":
"NTLMSSP"
, "domain": "SAGE", "account": "dave", "sid":
"S-1-5-21-2538935071-3089878733-2078081524-1000", "sessionId":
"de4cb5c7-1a70-48fc-a136
-3ffd1fc43fd6", "logonServer": "SAGE", "transportProtection": "SMB",
"accountFlags": "0x00000010"}}
[2020/01/23 09:49:58.409528,  3]
../../source3/smbd/password.c:117(register_homes_share)
  Using static (or previously created) service for user 'dave'; path =
'/home/dave'

Why would it succeed to be able to get the list of shares then be
unable to open them? It must be something about the information it's
already received.

Thanks for any ideas. The information I reported previously on this is
printed below.

On Fri, Jan 3, 2020 at 1:24 PM Jeremy Allison <jra at samba.org> wrote:
>
> On Fri, Jan 03, 2020 at 01:14:45PM -0500, Alex via samba wrote:
> > Hi, I have one of those TV boxes that can be used to connect to a
> > samba server to play media files on a TV but I can't get it to
> > connect. Their support is nonresponsive. I'm a relatively experienced
> > Linux user and have samba working with another media box on the same
> > network.
> >
> > The android media box with the problem is from Ninkbox and it's the N1
> > Max. The box says it's Android 9.0 using a RK3318 quad-core processor.
> > I can enter in the username and password for the share, and it appears
> > to login and display the list of available shares, but then returns
> > "mount fail" with no other indication as to what the problem could be.
>
> Get a wireshark trace on port 445 to see exactly what it is trying to do



More information about the samba mailing list