iOS SMB auth failing

iOS, iPad, iPhone, tvOS specific usage questions
SurprisingEdge
Blank Cone
Blank Cone
Posts: 10
Joined: 06 Oct 2020 19:52

Re: iOS SMB auth failing

Postby SurprisingEdge » 21 Oct 2020 21:56

The latest TestFlight version has done the trick. Thank you!

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: iOS SMB auth failing

Postby fkuehne » 22 Oct 2020 09:51

Thanks a lot for your instant testing!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

vespo
New Cone
New Cone
Posts: 3
Joined: 22 Oct 2020 11:40

Re: iOS SMB auth failing

Postby vespo » 22 Oct 2020 11:48

I too have tried the latest TestFlight version and confirm SMBv3 connection working. Good work!

Nevcam
New Cone
New Cone
Posts: 1
Joined: 23 Oct 2020 17:33

Re: iOS SMB auth failing

Postby Nevcam » 23 Oct 2020 17:37

Hello !

I'm new here. I have some issue to connect my iPad and iPhone to a smb network. It works just fine before but now nothing happen. Is this a known issue ?

Thanks for your help.

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: iOS SMB auth failing

Postby fkuehne » 25 Oct 2020 09:42

We are not aware of any current issues with the latest version 3.2.13. If there is still a problem left with SMB networking, we need to know more about your configuration, your server, whether the network is IPv4 or IPv6 and what's enabled on the server.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

rhubee
New Cone
New Cone
Posts: 3
Joined: 26 Oct 2020 16:25

Re: iOS SMB auth failing

Postby rhubee » 26 Oct 2020 16:32

Hello,

the new version of VLC (3.2.13) broke connecting to my SMB shares as well. Happens on two servers: One on Samba 4.12.6, the other using 4.9.18.

I have both my servers configured to allow guest access, they're IPv4, tried both SMB2 and SMB3 values for "server min protocol". VLC will not connect, instead prompting for username and password. If I enter username and password, this ends up in my server log:

Code: Select all

smbd[3114834]: [2020/10/26 16:29:00.037544, 0] ../../libcli/smb/smb2_signing.c:313(smb2_signing_check_pdu) smbd[3114834]: Bad SMB2 signature for message smbd[3114834]: [2020/10/26 16:29:00.037838, 0] ../../lib/util/util.c:664(dump_data) smbd[3114834]: [0000] AF 76 1B 25 84 35 AC 6C D6 3B B9 17 5C 42 A7 14 .v.%.5.l .;..\B.. smbd[3114834]: [2020/10/26 16:29:00.037941, 0] ../../lib/util/util.c:664(dump_data) smbd[3114834]: [0000] 5E BC 47 AB 2D 4B 22 0A 0E DE D7 D5 61 94 7F CF ^.G.-K". ....a...
Any help would be appreciated :)

tikola
New Cone
New Cone
Posts: 6
Joined: 20 May 2015 09:21

Re: iOS SMB auth failing

Postby tikola » 27 Oct 2020 08:39

the new version of VLC (3.2.13) broke connecting to my SMB shares as well. Happens on two servers: One on Samba 4.12.6, the other using 4.9.18.
My version in AppleTV version 3.0.12 and I am now bit confused in versions. You talk here 3.2 versions and fix for this issue was released in TestFlight a day before my AppleTV version was updated and problem started in my environment.

So is there somewhere beta/nighly 3.2.x version or is my AppleTV without any special TestFlight subscriptions to update my environment to the same latest version you are talking here. 3.2 confuses me as the latest one I can find is 3.0.x from App Store.


timo

rhubee
New Cone
New Cone
Posts: 3
Joined: 26 Oct 2020 16:25

Re: iOS SMB auth failing

Postby rhubee » 27 Oct 2020 17:48

Hi timo,

maybe Felix can chime in - I don't have Testflight on my iPad at all, just installed the VLC version from the App Store. The "About" window says: Version 3.2.13 (375), based on: 3.0.11.1 Vetinari.

tikola
New Cone
New Cone
Posts: 6
Joined: 20 May 2015 09:21

Re: iOS SMB auth failing

Postby tikola » 28 Oct 2020 06:53

Could be IOS vs. tvOS issue so that in Apple TV it follows bit slower the release schedule. My case has so far been only in Apple TV and when I compare to my IPAD the versions are just as said. In Apple TV 3.0.12 and in IPAD 3.2.13. In Apple TV it started to crash since last week and as I test now my IPAD it does the same thing. It could be related to my sever SMB updates so I will check those now first. However version confusion is clear tvOS follows release schedule slower and that was the answer to my original question.

WIth quick test IPAD with IOS works perfectly if I use separate file browsing app and there login to my samba - choose file I want to play and stream that to IOS VLC player. So currently just issues to get in Samba share via VLC GUI. Otherwise things work perfectly. Workaround is to share stream via airplay to AppleTV - so workaround is found and I can wait until app gets updated in tvOS.

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: iOS SMB auth failing

Postby fkuehne » 30 Oct 2020 15:42

The versions 3.0.12 for Apple TV and 3.2.13 for iOS are using the same version of VLC (a pre-release of 3.0.12). The iOS version numbers differ here because we shipped a new UI for iOS after the general version 3 that marked the .2 release point.

We identified 2 further cases where SMB authentication can fail and will provide another update soonish that will also improve support for Chromecast. It will appear via TestFlight first.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

raznorazni
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2020 22:17

Re: iOS SMB auth failing

Postby raznorazni » 30 Oct 2020 22:23

I too have experienced SMB authorization problem since a few days ago (I have 13.0.12 on my aTV4k at the moment)... I have a samba server which has always been username- and password-free, and I can freely connect from any Apple or non-Apple device to it by browsing on the network (it's visible to everyone by using avahi service). The last version of VLC is now asking me for a user name and password and no matter what I enter the authentication fails ("SMB authentication required", "The computer you are trying to connect to requires authentication. Please provide a username..." and so on).

fkuehne
Developer
Developer
Posts: 7262
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: iOS SMB auth failing

Postby fkuehne » 02 Nov 2020 18:59

I just submitted 2 new builds to TestFlight (for iOS and tvOS) each to further test additional SMB authentication improvements. Those should be approved by Apple within the next 24h. Feedback would be very much appreciated!
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net

simpleaffected
New Cone
New Cone
Posts: 1
Joined: 03 Nov 2020 09:32

Re: iOS SMB auth failing

Postby simpleaffected » 03 Nov 2020 09:41

Have tried 3.2.14 (377) with my samba server, which also has empty username-password. VLC tries connecting for indefinite time without success. Version before 3.2.13 worked just fine.

SurprisingEdge
Blank Cone
Blank Cone
Posts: 10
Joined: 06 Oct 2020 19:52

Re: iOS SMB auth failing

Postby SurprisingEdge » 03 Nov 2020 18:06

The original problem I reported on iOS and tvOS has been resolved, for me, with the app store versions of the app.

rhubee
New Cone
New Cone
Posts: 3
Joined: 26 Oct 2020 16:25

Re: iOS SMB auth failing

Postby rhubee » 04 Nov 2020 16:25

The version on Testflight (3.2.14 / 377) fixes the problem for both of my SMB servers, thank you! :)

tikola
New Cone
New Cone
Posts: 6
Joined: 20 May 2015 09:21

Re: iOS SMB auth failing

Postby tikola » 05 Nov 2020 08:21

How fast these test flight versions appear in appstore as I have no access to Test Flight? Thanks for fkuehne about clear explanation of AppleTV and IOS differences.

dhrubkumar
New Cone
New Cone
Posts: 1
Joined: 08 Nov 2020 19:09

Re: iOS SMB auth failing

Postby dhrubkumar » 08 Nov 2020 19:19

Hello Thomas,
I'm having the same problem. It worked fine yesterday, then the iPad rebooted (I assume it might have updated VLC after that) and it failed. I tried the build you linked and I got the same error as before.

I am running Samba 4.13.0 on Gentoo. I haven't changed any of the default parameters, this is my config after stripping out comments:

Code: Select all

[global] access based share enum = yes workgroup = MYGROUP server string = Samba Server server role = standalone server max log size = 50 dns proxy = no [data] valid users = xxx public = no writable = yes path = /mnt/data
Last edited by InTheWings on 09 Nov 2020 15:28, edited 1 time in total.

djsomi
New Cone
New Cone
Posts: 2
Joined: 27 Nov 2020 20:43

Re: iOS SMB auth failing

Postby djsomi » 27 Nov 2020 20:51

Hi All,

I had similar problem on IOS and AppleTV also. Windows network share SMB v1 or 2/3. I have to push several times connect to log in, also several times to step into a folder.
Its dropping back always to the previous level or folder. If I restart smb server, it works for a while, than again same problem.

Unfortunately Beta is Full, so I was not able to test the new version.

Any suggestion?

Many Thanks
Zoli

raznorazni
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2020 22:17

Re: iOS SMB auth failing

Postby raznorazni » 03 Dec 2020 20:28

It's been over a month since I can't watch anything from my Samba server with VLC on my Apple TV 4K. Is there any indication when will we see updated version in the AppStore?

djsomi
New Cone
New Cone
Posts: 2
Joined: 27 Nov 2020 20:43

Re: iOS SMB auth failing

Postby djsomi » 26 Dec 2020 17:23

Hi All,

I had similar problem on IOS and AppleTV also. Windows network share SMB v1 or 2/3. I have to push several times connect to log in, also several times to step into a folder.
Its dropping back always to the previous level or folder. If I restart smb server, it works for a while, than again same problem.

Unfortunately Beta is Full, so I was not able to test the new version.

Any suggestion?

Many Thanks
Zoli
Sorry Guys, it seems that it was server side memory allocation problem. Windows server dropped error ID 2017 in logs, fixed it, after that no problem found.

raznorazni
New Cone
New Cone
Posts: 4
Joined: 21 Oct 2020 22:17

Re: iOS SMB auth failing

Postby raznorazni » 06 Jan 2021 01:57

It's been over a month since I can't watch anything from my Samba server with VLC on my Apple TV 4K. Is there any indication when will we see updated version in the AppStore?
Two months and change. Can we at least have an idea when is the new version coming out or should we just switch to another player?

avtrev
New Cone
New Cone
Posts: 1
Joined: 06 Dec 2021 00:18

Re: iOS SMB auth failing

Postby avtrev » 06 Dec 2021 01:06

Hey,

I had the same or similar issue with:
iphone ios 15.1 vlc app connecting to samba on Ubuntu 20.04.3 LTS

Here is what fixed it for me:

#######################################
On Ubuntu in terminal:

#create a samba password for your ubuntu user

sudo smbpasswd -a <username>

#enter a new password for samba after you enter your sudo password
#this password will be associated with your username

#now restart the samba service

sudo systemctl restart smbd

#######################################
On iphone VLC app:

Network/File Servers/Connect Settings

select SMB at the top
Server: server IP
Port: leave blank
User: username
Password: new_samba_password
WORKGROUP leave as is

Click Connect

It should hopefully work, as long as you're not being blocked by a firewall

I got this answer from a similar post post but the issue wasn't close enough to reference the link.

Hope this helps!

chilton
New Cone
New Cone
Posts: 6
Joined: 15 Dec 2021 02:28

Re: iOS SMB auth failing

Postby chilton » 15 Dec 2021 06:39

Good day. I'm new to the forum.
I'm trying to post a more detailed message but the forum keeps kicking me out. This configuration works with Samba 4 and VLC for anonymous login. I'm running Samba on FreeBSD-13.0 RELEASE on Raspberry pi 4. Before this config I was unable to login from VLC to Samba4. I tested both iOS/iPad Pro and tvOS/Apple TV get 4.

Code: Select all

# Global parameters [global] bind interfaces only = Yes guest account = smbguest interfaces = lo0 genet0 large readwrite = No log file = /var/log/samba4/host-%I.log map to guest = Bad User max log size = 100 name resolve order = wins host bcast security = USER server min protocol = NT1 server role = standalone server server string = %h Server (Vindaloo Travelling File Share) usershare allow guests = Yes wins support = Yes idmap config * : backend = tdb [Video] comment = Video Recordings guest ok = Yes path = /opt/share/SMB/Video
The configuration line that fixed things for me was: "server min protocol = NT1". That lowers the authentication standard under Samba v4 where it was raised to SMB2. From the log messages on my Samba Server, it looks like Samba and VLC could not agree on an authentication standard in my case.

I hope this helps someone.
-- Chris


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: No registered users and 6 guests