SMB Authentication failed

Added by Daren K over 6 years ago

I have the problem that Movian (running on PS3) can't access SMB shares on my RPi2 which is running samba.

Accessing SMB shares that are on my desktop (Win 7) works flawlessly, also accessing the RPi2 shares from my desktop works fine.

So, one share on the RPi2 is called 'smb', trying to bookmark 'smb://<RPi2 IP>/smb' or 'smb://<RPi2 IP>/smb/' makes Movian crash instantly.

It used to work with 'smb://<RPi2 IP>/' some time ago, it showed me all the shares marked with a linking symbol next to them. Now it only shows an 'Authentication failed' prompt and it is somehow trying to acces a '\VIDEO_TS' Samba share (screen attached) which doesn't exist. Entering a password makes Movian crash.

The Samba logfile:
[2015/04/30 18:41:23.733860, 0] param/loadparm.c:9114(process_usershare_file)
process_usershare_file: stat of /var/lib/samba/usershares/video_ts failed. No such file or directory

The Movian Logfile:
00:01:37.310: navigator [INFO ]:Opening smb://192.168.178.22/
00:01:48.959: SMB [ERROR]:192.168.178.22:445 request timeout (0) on 0x400d8788
00:01:48.960: THREAD [EMERG]:Crashdump. PID=0x1240200 Heap=0x40000000
[.....]
00:01:48.979: keyring [INFO ]:Requesting credentials for smb:share:192.168.178.22:445:share : Samba share '\VIDEO_TS' on '192.168.178.22' : Authentication failed

The shares are protected with username and password.

Using the latest stable release of Movian.

Can someone help?

Showtime.png (437 KB)

Showtime_1.png (392 KB)


Replies (9)

RE: SMB Authentication failed - Added by Daren K over 6 years ago

Well, got it working after manually editing the 'bookmarks2' file:

{
"id": "0453a0def7dbdbe0a3f5e6658f9f23edaa251d60",
"title": "RPi2",
"svctype": "other",
"url": "smb://192.168.178.22/smb"
},

RE: SMB Authentication failed - Added by Leonid Protasov over 6 years ago

Daren K wrote:

Well, got it working after manually editing the 'bookmarks2' file:

{
"id": "0453a0def7dbdbe0a3f5e6658f9f23edaa251d60",
"title": "RPi2",
"svctype": "other",
"url": "smb://192.168.178.22/smb"
},

Take a look at https://movian.tv/projects/movian/wiki/Logging can you find and attach the full log in which we can see a CRASHDUMP ?
https://movian.tv/projects/movian/wiki/Logging

RE: SMB Authentication failed - Added by Daren K over 6 years ago

There.

Whats also weird is, that with my workaround, it's only asking for a password, no username/workgroup has to be specified. But it logs in fine.

RE: SMB Authentication failed - Added by Andreas Smas over 6 years ago

4.9.46 contains a somewhat old SMB-implementation.

It's been refreshed considerably. I suggest you try the latest bleeding edge or testing releases.

RE: SMB Authentication failed - Added by Daren K over 6 years ago

Andreas Öman wrote:

4.9.46 contains a somewhat old SMB-implementation.

It's been refreshed considerably. I suggest you try the latest bleeding edge or testing releases.

Still crashes when trying to specifify a sharename (at first). Leaving it out lists all the shares. Only after memorizing the password there, a sharename can be specified without crashing.

RE: SMB Authentication failed - Added by Andreas Smas over 6 years ago

Okay, thanks for testing, I'll look into it.

RE: SMB Authentication failed - Added by Andreas Smas over 6 years ago

I think I found the crash. Should be fixed in 4.9.428

RE: SMB Authentication failed - Added by Daren K over 6 years ago

Looks good, nice job.

(1-9/9)