XBox dropping Samba User/Pass on reboot
#1
I'm running T3CH r29407, just upgraded to the latest stable. I'm connecting to a number of Windows 2003 shares. After rebooting, I always have to re-enter the username and password for the shares. I didn't have this issue before. Is there a setting I have missed?
#2
It might be a workaround but something I always do on my xboxes is put the samba share username/password into advancedsettings.xml.
#3
gabbott Wrote:It might be a workaround but something I always do on my xboxes is put the samba share username/password into advancedsettings.xml.

I'm only seeing a default template for advancedsettings.xml. What is the structure used to define user/pass combinations.

Quote:
<advancedsettings>

<audio>
<defaultplayer>paplayer</defaultplayer>
</audio>

<video>
<defaultplayer>mplayer</defaultplayer>
</video>

<cache>
<harddisk>256</harddisk>
</cache>

<cacheaudio>
<dvdrom>256</dvdrom>
<internet>256</internet>
<lan>256</lan>
</cacheaudio>

<cachedvd>
<dvdrom>2048</dvdrom>
<lan>2048</lan>
</cachedvd>

<cacheunknown>
<internet>2048</internet>
</cacheunknown>

<cachevideo>
<dvdrom>1024</dvdrom>
<internet>1024</internet>
<lan>1024</lan>
</cachevideo>
</advancedsettings>
#4
FTP into you xbox.

xbmc->userdata->sources.xml

Download this to your computer.

Open it and find your sources, something like:

Code:
<video>
    <default pathversion="1"></default>
    <source>
        <name>Movies</name>
        <path pathversion="1">smb://192.168.1.10/Qmultimedia/Movies/</path>
</video>

Add your username and password as such:

Code:
<video>
       <default pathversion="1"></default>
       <source>
          <name>Movies</name>
          <path pathversion="1">[color=red]username:password@[/color]smb://192.168.1.10/Qmultimedia/Movies/</path>
</video>

Then transfer back to the xbox overwriting the old file. Reboot.
Also, what skin are you using? I've found some skins can produce this issue.

If I have helped you in any way, please forgive me, it was entirely accidental.
#5
groty Wrote:I'm only seeing a default template for advancedsettings.xml. What is the structure used to define user/pass combinations.

You can add the following to your advancedsettings.xml (change as necessary):

Code:
<advancedsettings>
    <smb>
        <password>xbox</password>
        <username>xbox</username>
        <workgroup>workgroup</workgroup>
    </smb>
</advancedsettings>

Or you can do as Cranial mentioned and add the username/password to you each of your sources.
#6
Cranial and gabbot, neither worked.
#7
Got it, I put the user/pass backwards in advancedsettings.xml. I expected user to be first in that example without even looking.

Thanks for your help!

Logout Mark Read Team Forum Stats Members Help
XBox dropping Samba User/Pass on reboot0