[fixed] samba problem with babylon
#1
Since upgrading my ATV to Babylon I can't connect to samba shares on my D-Link DNS-323 NAS. The problem has been discussed here:

http://forum.xbmc.org/showthread.php?tid=49759

Can I edit the samba client config on the ATV or does the fix involve editing the XBMC source (and compile)? I can't compile.
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#2
mauzzz Wrote:Since upgrading my ATV to Babylon I can't connect to samba shares on my D-Link DNS-323 NAS. The problem has been discussed here:

http://forum.xbmc.org/showthread.php?tid=49759

Can I edit the samba client config on the ATV or does the fix involve editing the XBMC source (and compile)? I can't compile.

This fix should be in 9.04 release. pastebin xbmc.log please.
Reply
#3
http://pastebin.com/m2ee9981d

error 2 is when I attempt to connect from my existing sources list

error 16 is when I try to add a new source pointing to the same NAS

The NAS mounts successfully with same user/passwd connecting from my macbook
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#4
just checking;

Code:
smb://user:[email protected]/user/videos

your user is "user" and password is "passwd" ?
Reply
#5
davilla Wrote:just checking;

Code:
smb://user:[email protected]/user/videos

your user is "user" and password is "passwd" ?

No Smile I removed the original user and passwd form the log.
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#6
mauzzz Wrote:No Smile I removed the original user and passwd form the log.

need some more logging.

in ~/Library/Application Support/XBMC/userdata

create "advancedsettings.xml" with the following contents;

<advancedsettings>
<loglevel>3</loglevel>
</advancedsettings>

Also post the contents of "~/.smb/smb.conf"
Reply
#7
I've put in another fix in SVN (blindly since I don't have a mac). If you can compile a build and test it out, that would be great.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
davilla Wrote:need some more logging.

in ~/Library/Application Support/XBMC/userdata

create "advancedsettings.xml" with the following contents;

<advancedsettings>
<loglevel>3</loglevel>
</advancedsettings>

Also post the contents of "~/.smb/smb.conf"

Done.

xbmc.log is here:
http://pastebin.ca/1423462

(turned off library update to reduce crap in logfile)

smb.conf contents:
[global]
lanman auth = yes
name resolve order = bcast host
dos charset = CP850
workgroup = WORKGROUP
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#9
tslayer Wrote:I've put in another fix in SVN (blindly since I don't have a mac). If you can compile a build and test it out, that would be great.

Thanks for the fix. But I'm sorry I can't compile (lacking skills).
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#10
I tried build 20374 from:

http://www.sshcs.com/xbmc/

I can confirm that samba access to my NAS works with this build.
ASUS Chromebox (celeron), Openelec 5.0.8, Aeon Shednox
Panasonic GT60, Cambridge Audio TV2
Synology 411j
Reply
#11
That's great. Thanks for the confirmation.

TS
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#12
mauzzz Wrote:I tried build 20374 from:

http://www.sshcs.com/xbmc/

I can confirm that samba access to my NAS works with this build.

Tried b20445 and still getting the same "Operation not permitted" when connecting to a Droboshare. I'll see what I can find in the logs.

BTW (unrelated) 20445 kills the remote for some reason on AppleTV. Even after you exit XBMC and return to the AppleTV menu the remote is still disabled after running build 20445. Rebooting the AppleTV restores it. FYI.
Reply
#13
geebee75 Wrote:BTW (unrelated) 20445 kills the remote for some reason on AppleTV. Even after you exit XBMC and return to the AppleTV menu the remote is still disabled after running build 20445. Rebooting the AppleTV restores it. FYI.

Thanks for the above info BUT if you want the dev who works on the IR remote code to see it, you need to start a new thread Smile
Reply
#14
Looking at the logs, its trying to connect to my Droboshare with a default username/password that I had set for an old share I used to have. Since my Droboshare doesn't require a login/password for SMB, I need to blank that out in Network->SMB Client but can't. If you try to blank them out (editing and backspacing), it will simply revert back to whatever you had in there.

Unfortunately since the only error message is "Operation Not Permitted", it wasn't until I dug through the logs that I noticed it was trying to connect as "xbmc:[email protected]/Media" and erroring out on that.

Now that all said, this thread IS marked as "fixed" based on one person's confirmation with their particular situation and NAS device, however I'm aware that my problem may not be related so let me know if you think I should be looking elsewhere rather than keeping this thread going. (Keeping this thread going of course means there's still an SMB connectivity problem).
Reply
#15
Your issue is not the same. This one was specific to lanman authentication.

You can try editing your guisettings.xml and look for your user/pass and remove it that way.
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
[fixed] samba problem with babylon0