Permission problem accessing SMB share
#1
Hi,

I have XBMC frodo alpha 6 install on a few windows 7 machines and my iPad.

I have my XBMC library stored in a mysql database and can access fine using other windows 7 machines.

All my media is stored on a windows 7 share and in the library using the path \\mc\media\movies or \\mc\media\TV Shows.

My sources.xml on my iPad is as below.

Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
    <source>
            <name>Kids</name>
            <path pathversion="1">SMB://wiggy:xxxx@mc/media/Movies/Kids/</path>
        </source>
        <source>
            <name>Movies</name>
            <path pathversion="1">SMB://wiggy:xxxx@mc/media/Movies/</path>
        </source>
        <source>
            <name>TV Series</name>
            <path pathversion="1">SMB://wiggy:xxxx@mc/media/TV Series/</path>
        </source>
      
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>mp3s</name>
            <path pathversion="1">SMB://wiggy:xxxx@mc/media/mp3s/</path>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>Pictures</name>
            <path pathversion="1">SMB://wiggy:xxxx@mc/media/pictures/</path>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

When access any media using the files option it works fine. When using any library links the error "The file is no longer available" is shown. The logs show the message

Code:
20:32:17 T:220229632    INFO: FileSmb->Open: Unable to open file : 'smb://mc/media/TV%20Series/Nikita/Season%2003/Nikita%20-%203x02%20-%20Innocence.mp4'
                                            unix_err:'d' error : 'Permission denied''

Full debug logs here http://pastebin.com/wumhmjLB

I think the issue is due to the username/password for the SMB share not being used from the sources.xml file, when selecting media from the library. I not sure how to resolve. I tried adding a new source <path pathversion="1">SMB://wiggy:xxxx@mc/media</path> and also a path substitution in advancedsettings.xml from SMB://mc/media/ to SMB://wiggy:xxxx@mc/media/ but neither worked.

Can anyone suggest anything else I could try?

T.I.A

Wiggy
Reply

Logout Mark Read Team Forum Stats Members Help
Permission problem accessing SMB share0