Beginners problem with SMB mount in XBMC
#1
My setup:

Ubuntu 8.10
XBMC 8.10 SVN:16164


My problem:

Please be patient with me: I am new to Ubuntu/Linux but has worked professionally with Microsoft stuff for many years.

I have a Windows 2008 domain at home, with a W2K8 domain server having loads of MP3 stuff on it.
In my Ubuntu it is braindead easy to mount to this share. I simply do :
smb://domain-v2;ronnyConfused[email protected]/mp3/
and then I see all MP3 folders. Easy. No problem.

But then when I try to mount in XBMC (same Ubuntu machine where it works outside XBMC): no luck at all.
Looking in /home/ronny/.xbmc/userdata/sources.xml I can have the following:

<source>
<name>mp3</name>
<path>smb://domain-v2;ronnyConfused[email protected]/mp3/</path>
</source>

When I run XBMC, and I try to access the share, it says: "Remote Share: Could not connect to network server"

Then I look in the log at /var/tmp, it will say:

19:25:34 T:3779356640 M:3402063872 DEBUG: Clearing cached fileitems [smb://domain-v2;192.168.1.1/mp3/]
19:25:34 T:3779356640 M:3402063872 DEBUG: CGUIMediaWindow::GetDirectory (smb://domain-v2;192.168.1.1/mp3/)
19:25:34 T:3779356640 M:3402063872 DEBUG: ParentPath = []
19:25:34 T:3779356640 M:3402113024 DEBUG: OpenDir - Using authentication url smb://domain-v2%3B192.168.1.1/mp3
19:25:36 T:3779356640 M:3402113024 INFO: Loading skin file: DialogOK.xml
19:25:36 T:3779356640 M:3402113024 DEBUG: Load DialogOK.xml: 0.73ms
19:25:36 T:3779356640 M:3402113024 ERROR: SMBDirectory->GetDirectory: Unable to open directory : 'smb://domain-v2%3B192.168.1.1/mp3'
unix_err:'2' error : 'No such file or directory'
19:25:36 T:3779356640 M:3402113024 ERROR: CGUIMediaWindow::GetDirectory(smb://domain-v2;192.168.1.1/mp3/) failed

Now, I am a bit lost. My newbie-questions:


  1. Why does the SMB mount work outside XBMC, but not with in?
  2. Why do the XBMC log put %3B after the domain name?
  3. Is there any other way to map the share, since it works in Ubuntu

I would appreciate very much all input you can have, I would so much like to get this to work, I have loved XBMC since I gave my son a XBOX for christmas in 2003, so it would be great to start using it again.

Regards
/Arctica
Reply
#2
Have you tried browsing to the share with the Add Source dialog? I suspect that that %3B is a semi-colon url encoded. I dunno anything about windows domains, but if you can browse the share in Ubuntu you ought to be able to in XBMC as well, I suspect your path is simply mal-formed. You can always setup a local mount in Ubuntu then add the mount point as your share.
Reply
#3
althekiller Wrote:Have you tried browsing to the share with the Add Source dialog? I suspect that that %3B is a semi-colon url encoded. I dunno anything about windows domains, but if you can browse the share in Ubuntu you ought to be able to in XBMC as well, I suspect your path is simply mal-formed. You can always setup a local mount in Ubuntu then add the mount point as your share.

Thanks for your answer.
If I try to browse the share with 'add source' XBMC just exits, with no trace in the log of anything at all.

Since I am a noob when it comes to Linux/Ubuntu, could you you briefly explain how to set up the mount point as a share? Or maybe that is so easy to do that a quick google will explain it? I wil have a look.

Thanks
/Arctica
Reply
#4
The manpage for smbmount should get you pointed in the right direction, see the ubuntu forums for more info if needed. Places > Network only seems to mount the share into GNOME's VFS not actually on the filesystem anywhere (I'm probably wrong here, but it's not in the usual places).

What arch are you running? x86 shouldn't be crashing in the browse workgroup dialog, though I'm not sure how thoroughly tested it is on a domain as 100% of people don't need such a thing at home.
Reply
#5
It is in this format:

<source>
<name>TV</name>
<path>smb://NAS/video/TV/</path>
</source>

Enter the user/password in the network configuration in the SMB client option
Reply
#6
We honor the u/p in the URL as well.
Reply
#7
I have always had that problem with the 64 bit builds (hardy.)

So your not alone and it's not new (at least not for me.)

I'm not a good user though and have never reported the problem just hoped someone else would (I know that's a shitty attitude.)
Reply
#8
I ran into this same issue when I upgraded XBMC to version 8.10 (T3CH XBox build). I had previously always used a semi-colon between the domain and user name in sources.xml, and when I used my standard version of that file I was getting the same failures you were. I changed the semi-colon to a backslash and things are working normally again.

For example, change your source string to:

smb://domain-v2\ronnyConfused[email protected]/mp3/
Reply

Logout Mark Read Team Forum Stats Members Help
Beginners problem with SMB mount in XBMC0