Kodi Community Forum

Full Version: Samba problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i just copied my old smb path across from my xbmp config.xml file, and it couldn't connect. it's in the following format:

smb://xbox:xbox@workgroup/pcname/sharename

it seems to be having the same problems i have with any of xport's emulators, which also fail to recognise smb shares in this format. i eventually managed to get mameox to see a share with this format:

smb://:@ipaddress/sharename

but this won't work with xbmc or xports emus.

i'm using windows xp. any help would be appreciated. (but it would be better if xbmc (and everything else) used the same smb routines as xbmp. :d  i had no problems whatsoever with that. )
oh, and just for reference, here's the post on mameox's sourceforge site that dealt with the issue and how opcode fixed it:

http://sourceforge.net/forum....=268686

oh, and hello. i just noticed a whole bunch of path formats in xports .nfo files that i haven't tried with xbmc. i'll give them a go tonight and let you know how i go.
smb works for me
i'm connecting from my xbox->windows xp using the following share:

smb://username:password@workgroup/computername/share

that layout is working. its also tested with linux & samba and that works 2, but i believe samba needs 2b running in share mode ?

anyway compputername can b either the wins name or the ip adres.

make sure you entered all the correct details like
ip adres, netmask, name server, default gateway etc

if your're booting from evox,avalaunch or another dash, then please enter those values their and remove them from xbmc
xbmc will use them automaticcly
this means xboxmediacenter.xml will look like:

Quote:<!-- ipadres,netmask,default gateway, nameserver (leave empty if you wanna use evox settings) !-->
<ipadres>-</ipadres>
<netmask>-</netmask>
<defaultgateway>-</defaultgateway>

only fill in those values if you are using xbmc as your dashboard

frodo
thank you mr baggins, sir. i shall try that tonight. keep up the awesome work.
okay. that problem's been fixed. i had to remove the ip addresses as suggested, and let it use the dashboard's. (although the ip's were the same, but anyhoo, its working now.)

now, whenever i go to play a movie, it plays the first two seconds or so of the movie, then quits back to the menu. music plays fine however. i'll have a bit of a squizz at the other topics in the forum to see if this is a known issue.
samba shares work except it still has the same bug that xbmp had.. the lockup after 7-10 minutes of playing a video over samba.

the 2 seconds bug only happened to me when using a dvd, yet the xbmp worked fine. wish i could compile (have xdk) to submit patches Smile
tml_winston:

hi! can you tell me how you got samba to work with xbmc? i have been trying every setting in my smb.conf file without any luck :=(

xbmp works, but not xbmc

can you post your smb.conf file maybe?
i've the same identical problem: samba works with xbmp, but it doesn't with xbmc.
when i select the share, xbmc waits for 5/6 seconds and then displays an empty folder.

here is the xbmp configuration:

<share>
  <name>videos 01 (smb - home)</name>
  <url>smb://user:password@workgroup/home/videos 01</url>
  <cachesize>8192</cachesize>
</share>


and this is the xbmc configuration:

<bookmark>
  <name>videos 01 (smb - home)</name>
  <path>smb://user:password@workgroup/home/videos 01</path>
</bookmark>


btw: these are the network settings for xbmc:

<ipadres>-</ipadres>
<netmask>-</netmask>
<defaultgateway>-</defaultgateway>
<nameserver>-</nameserver>


any idea?

girotour
here is my xbmc .xml section for samba

<!-- my video shares !-->
<video>
<default></default>
<bookmark>
<name>dvd drive</name>
<path>d:\</path>
</bookmark>
<bookmark>
<name>music videos</name>
<path>smb://chris:password@mageslair/lordmage/videos</path>
</bookmark>
               <bookmark>
                       <name>public</name>
                       <path>smb://chris:password@mageslair/lordmage/public</path>
               </bookmark>
        </video>


i hope this helps.
oh here is my smb.conf file:

relevant sections:
#======================= global settings =====================================
[global]

  workgroup = mageslair
  server string = samba server %v
  log file = /var/log/samba/log.%m
  max log size = 50
  hosts allow = 192.168.2. 64.0.117.23 127.
  security = share
  encrypt passwords = yes
  smb passwd file = /etc/samba/smbpasswd
  socket options = tcp_nodelay so_rcvbuf=8192 so_sndbuf=8192
  local master = yes
  os level = 33
  wins support = yes
  dns proxy = no
  keepalive = 0

#============================ share definitions ==============================

[videos]
  comment = public stuff
  path = "/storage3/music videos"
  browsable = no
  users = chris
  writable = yes
  create mask = 0770
i have tried and tried to get smb sharing to work, both with xbmp and xbmc with no luck. can someone please help with setting up smb sharing in a windows 2003 active directory environment?

i am currently using relax but it seems to crash more than i would like and i would really prefer to use smb.

thanks in advance!
i'm in the same boat (server 2003 / active directory), and i have not had any luck either...
here is what i don't understand, i am able to create a share on my winxp system and can connect to it with no problems. when i try to connect to the share on my server it just shows a blank list. i enabled auditing on the server and it is not even showing up as a failed logon, something is happening that is preventing the server from even seeing the logon request.

i think it was on xbox-scene's forums that someone suggested making a few registry tweaks however that did not help resolve it for me.
girotour:

make sure "security = share" in smb.conf
make sure "wins support = yes" in smb.conf

verify this by running the "testparm" command.

make sure you have winbind installed and running. (this is the one that screwed me up)

when connection attempts are being made tail -f /var/log/samba/log.myxbox and /var/log/samba/log.nmbd to get an idea of whats going wrong. if nothing show up here, either or machine is querying the wrong box or connection attempts are being firewalled in some way.

i'm using debian unstable with samba 3 and its working nicely.

seph200x:

i had this issue, and think i fixed it by adding "socket options = tcp_nodelay so_sndbuf=8192 so_rcvbuf=8192" to smb.conf and adding <cachesize>8192</cachesize> to the share bookmark.

it works now, and i'm pretty sure that was the change that caused it.
sorry, agent, i forgot to say that i'm using windows xp. so, no smb.conf file.
anyway, thanx for your answer.

girotour
Pages: 1 2