Cannot connect to SMB share - will not accept credentials

VLC for Android and Chrome OS specific usage questions
eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 10 Jun 2016 11:22

Just got VLC for Android 2.0 on my Galaxy S6 and Nvidia Shield TV, but I cannot connect to an SMB share. Both devices see the share, but after I provide credentials to connect, the prompt reappears. As recommended in the login window, I am providing credentials as follows:

Login: DOMAIN;username
Password: username's password

Tapping OK brings me back to the login window, but the username is stripped from the login field, leaving just the domain.

Any assistance is appreciated. Thanks in advance!

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: Cannot connect to SMB share - will not accept credentials

Postby Dekans » 14 Jun 2016 09:53

try without the DOMAIN;
just your username

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 15 Jun 2016 07:31

Hi Dekans - without the domain I get the same result.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: Cannot connect to SMB share - will not accept credentials

Postby Dekans » 15 Jun 2016 12:14

What's the server, which is sharing this folder?

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 16 Jun 2016 07:42

It's a Windows server running Windows Server 2012 R2 Essentials. The shares are accessible from PCs, and from Android devices (Samsung Galaxy S6 and Nvidia Shield TV) using X-Plore File Manager, EX File Explorer File Manager, and Total Commander.

Taomyn
Blank Cone
Blank Cone
Posts: 11
Joined: 29 Aug 2007 14:48

Re: Cannot connect to SMB share - will not accept credentials

Postby Taomyn » 16 Jun 2016 22:13

I'm having the same issues, though with a full 2012 R2 server. Neither my Nexus 6 or Nexus 9 will connect and trying different combinations of domain and username, using ; and even the more standard \ and @, none have succeeded. User accounts with or without passwords also failed.

The same shares work perfectly well with Kodi on my devices (plus my OpenandELEC box), also my various file management apps, so the networking is fine.

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 21 Jun 2016 07:06

Got a VLC update today from Google Play, but saw the version number is still 2.0.0, with no changelog provided, and SMB still does not work.

Pudpuller
New Cone
New Cone
Posts: 1
Joined: 23 Jun 2016 05:51

Re: Cannot connect to SMB share - will not accept credentials

Postby Pudpuller » 23 Jun 2016 05:59

I also have a problem using server 2008 but with 2012 active directory. Other apps connect perfectly

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 28 Jun 2016 07:19

bump

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot connect to SMB share - will not accept credentials

Postby Jean-Baptiste Kempf » 28 Jun 2016 10:41

Does it work with normal Windows, and not Windows Servers?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 29 Jun 2016 07:47

Works with shared folders in Windows 10. I confirmed that sharing and security permissions on the server are identical, and it still does not connect.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot connect to SMB share - will not accept credentials

Postby Jean-Baptiste Kempf » 29 Jun 2016 18:53

So Windows 10 works, but not Windows Server?

What about Windows 7?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Taomyn
Blank Cone
Blank Cone
Posts: 11
Joined: 29 Aug 2007 14:48

Re: Cannot connect to SMB share - will not accept credentials

Postby Taomyn » 29 Jun 2016 23:28

Two questions I have about this are:

1. Why do I need to enter credentials to see the shares on my Windows Server 2012 R2? Browsing for SMB shares does not require authentication.
2. What is the format for the username, because the prompt states it's "domain;username" but when that fails it removes everything from the semi-colon on from the field? Using the more correct "domain\username" also fails but it doesn't change.

Actually another question, is there any kind of logging we can enable for the app to aid you in troubleshooting this problem?

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 30 Jun 2016 08:35

I don't have any Windows 7 systems to test with. Sorry.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Cannot connect to SMB share - will not accept credentials

Postby Jean-Baptiste Kempf » 03 Jul 2016 12:06

Two questions I have about this are:

1. Why do I need to enter credentials to see the shares on my Windows Server 2012 R2? Browsing for SMB shares does not require authentication.
2. What is the format for the username, because the prompt states it's "domain;username" but when that fails it removes everything from the semi-colon on from the field? Using the more correct "domain\username" also fails but it doesn't change.

Actually another question, is there any kind of logging we can enable for the app to aid you in troubleshooting this problem?
SMB is a huge mess, so it's hard to debug without wireshark.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 19 Jul 2016 07:42

Bump

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: Cannot connect to SMB share - will not accept credentials

Postby Dekans » 21 Jul 2016 15:39

We'll soon update to version 2.0.5, with some fixes for SMB.

Taomyn
Blank Cone
Blank Cone
Posts: 11
Joined: 29 Aug 2007 14:48

Re: Cannot connect to SMB share - will not accept credentials

Postby Taomyn » 25 Jul 2016 21:25

We'll soon update to version 2.0.5, with some fixes for SMB.
Sorry, now on v2.0.5 and it's actually worse with the app hanging on some attempts to connect and needing to be force closed.

Dekans
Developer
Developer
Posts: 487
Joined: 12 Dec 2014 14:09
VLC version: master
Operating System: Linux

Re: Cannot connect to SMB share - will not accept credentials

Postby Dekans » 28 Jul 2016 11:38

Sorry for that. We don't currently have a Windows Server 2012 R2 to reproduce and fix :(

eliu01
New Cone
New Cone
Posts: 9
Joined: 10 Jun 2016 11:17

Re: Cannot connect to SMB share - will not accept credentials

Postby eliu01 » 23 Aug 2016 05:51

Does this mean the bug will never be fixed?

tonic8
New Cone
New Cone
Posts: 2
Joined: 30 Sep 2016 22:24

Re: Cannot connect to SMB share - will not accept credentials

Postby tonic8 » 30 Sep 2016 22:52

Hello

here is my setup:
- Synology DS 713p (DSM 6) for the NAS with SMB share working fine with all type of device (windows/mac and linux :) )
- Philips Android TV (lolipop 5) with VLC for Android (2.0.6) loaded

after installing the TV i try to access my NAS and failed on the login/credential.

after staying stuck during 10min (the control keyboard is quiet not so easy to use, so some time it was just a bad type issue). i got an idea and checked the SMB compatibility Version Protocol on the NAS server:
- by default it's SMBV2
- by downgrading it to V1, and restarted the service on the NAS and restarted VideoLan,

it work!

For those who want to try with a Windows Server (https://support.microsoft.com/en-us/kb/2696547) here is the KB for doing so.

while i'm not confortable to let the NAS in SMB V1 (lot of feature missing, but a lot of security issues also), it could allow VLC team to identify the issue.

Now, the surprise:
- now that the connection si cached/established, i reversed the SMB V1 to SMB V2
- And VLC can still access the files. (i restarted the nas)

If this can help.

Regards
Tonic8

tonic8
New Cone
New Cone
Posts: 2
Joined: 30 Sep 2016 22:24

Re: Cannot connect to SMB share - will not accept credentials

Postby tonic8 » 09 Oct 2016 00:13

Bonsoir

Just talking about the issue. it was on a Philips TV, i have replaced the TV by a Sony "Bravia 4k 2015" version 5.1.1 of android, and VLC2.0.6. And now i have still the issue.

AND the workarround i proposed don't work :(

i'm trying to do some test, to see if i can use smb with VLC on android.

Regards
Tonic

Rickster
New Cone
New Cone
Posts: 4
Joined: 07 Oct 2016 00:46

Re: Cannot connect to SMB share - will not accept credentials

Postby Rickster » 09 Oct 2016 15:56

-Is file and printer sharing on?
-Is media streaming on?

Atjt
New Cone
New Cone
Posts: 2
Joined: 30 Oct 2016 09:33

Re: Cannot connect to SMB share - will not accept credentials

Postby Atjt » 30 Oct 2016 09:36

Same issue here can't get passed the authentication screen. Also using Sony android tv

ruili
New Cone
New Cone
Posts: 1
Joined: 12 Feb 2017 21:47

Re: Cannot connect to SMB share - will not accept credentials

Postby ruili » 12 Feb 2017 21:56

Minix x7 vs windows server 2016(yea, a little dated now, but got to make it work)

Kodi could not login to a domain(wants a workgroup I guess) I get a "connection refused"
As a fix I decided to switch to VLC...it gets login screen(better than kodi) but all password attempts fail.

ES filemanager has no problem though. curently as a workaround I am using ES to launch files from the server, but would really like to get VLC doing it.


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 13 guests