Samba problems
#16
girotour and scifi-
looks like i'm having the same problem- i can see my samba shares without problems using xbmp but no matter what i do i cannot get it to work with xbmc. i'm trying to share off a winxp machine.
have you guys had any luck with this problem
thanks !!!
#17
i just got my xbmc working, i'm going to "quote" my smb.conf and xbmc config file below for you guys, hopefully it will help you. i'll have you note that i don't have a user set for the shares, i found that its not actually necesary, i just have it map to guest so the xbox can have read only ability.
also, for linux users, make sure the files are world readable and the directories are world readable and executable...

my smb.conf
Quote:# samba config file created using swat
# from localhost (127.0.0.1)
# date: 2003/08/02 11:19:46

# global parameters
[global]
workgroup = schwamp
netbios name = indierocksteve
server string = samba server %v
encrypt passwords = yes
map to guest = bad user
log file = /var/log/samba/log.%m
max log size = 50
socket options = tcp_nodelay so_rcvbuf=8192 so_sndbuf=8192
printcap name = cups
dns proxy = no
printing = cups
dead time = 15
keepalive = true
getwd cache = yes
security = share

[homes]
comment = home directories
read only = no
browseable = no

[printers]
comment = all printers
path = /var/spool/samba
create mask = 0700
guest ok = yes
printable = yes
print command = lpr-cups -p %p -o raw %s -r
browseable = no

[print$]
path = /var/lib/samba/printers
write list = @adm root

[pdf-generator]
comment = pdf generator (only valid users)
path = /var/tmp
printable = yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%l/%u %m %i "%j" &

[newmusic]
path = /storagedrives/3/new/
write list = adeffs
guest ok = yes

[shared]
path = /datadrive/shared
read only = no
guest ok = yes

[mycds]
path = /storagedrives/1/mycds
guest ok = yes
write list = adeffs

[videos]
path = /storagedrives/1/videos
guest ok = yes
write list = adeffs

[movies]
path = /storagedrives/4/movies
guest ok = yes
write list = adeffs

[myrips]
path = /storagedrives/1/rips
guest ok = yes
write list = adeffs

[music1]
path = /storagedrives/2/newsgroups
write list = adeffs
guest ok = yes

[music2]
path = /storagedrives/3/newsgroups
guest ok = yes
write list = adeffs

[tooks]
path = /storagedrives/2/tooks
guest ok = yes
write list = adeffs

[mycaps]
path = /storagedrives/3/theotherguys
guest ok = yes

[fusonsmusic]
path = /storagedrives/3/fuson
guest ok = yes
write list = fusonc

and my xboxmediacenter.xml
Quote: <!-- my music shares !-->
<music>
<default></default>
<bookmark>
<name>adeff's cd's</name>
<path>smb://:@schwamp/indierocksteve/mycds</path>
</bookmark>

<bookmark>
<name>cd rips</name>
<path>smb://:@schwamp/indierocksteve/myrips</path>
</bookmark>

<bookmark>
<name>collection 1</name>
<path>smb://:@schwamp/indierocksteve/music1</path>
</bookmark>

<bookmark>
<name>collection 2</name>
<path>smb://:@schwamp/indierocksteve/music2</path>
</bookmark>

<bookmark>
<name>took's music</name>
<path>smb://:@schwamp/indierocksteve/tooks</path>
</bookmark>

<bookmark>
<name>fuson's music</name>
<path>smb://:@schwamp/indierocksteve/fuson</path>
</bookmark>

<bookmark>
<name>dvd</name>
<path>d:\</path>
</bookmark>
</music>


<!-- my video shares !-->
<video>
<default></default>
<bookmark>
<name>videos</name>
<path>smb://:@schwamp/indierocksteve/videos</path>
</bookmark>

<bookmark>
<name>movies</name>
<path>smb://:@schwamp/indierocksteve/movies</path>
</bookmark>

<bookmark>
<name>mycaps</name>
<path>smb://:@schwamp/indierocksteve/mycaps</path>
</bookmark>

<bookmark>
<name>dvd</name>
<path>d:\</path>
</bookmark>
</video>
</xboxmediacenter>

hope this helps!
Kodi v17.6 on Asustor NAS
Kodi v17.6 on Fire Stick v2
#18
i still can't get smb to work using xbmc (works perfectly with xbmp). i'm using xbmc 10-21 trying to share off my winxp box. when i select smb, xbmc pauses for 4-5 seconds and then displays a blank directory.
here are my xml file details (i boot up via evox and my shares are at 192.168.0.110):

<!-- ipadres,netmask,default gateway, nameserver (leave empty if you wanna use evox settings) !-->
 <ipadres>-</ipadres>
 <netmask>-</netmask>
 <defaultgateway>-</defaultgateway>
 
 <nameserver>192.168.0.110</nameserver>
..... for next section i fill in the appropriate user and password
<bookmark>
<name>smb</name>
<path>smb://user:password@mshome/main2/mp3</path>
</bookmark>

what could i be doing wrong? anyone have any idea how to troubleshoot- i.e. is there a log file somewhere? any help is welcome as i am pulling out my hair!
#19
i have also the same problem as girotour and scifi. xbmp works perfect and xbmc not.

i use xbmp as dashboard, so i load xbmc in xbmp.

samba version 3.0.0rc1
xbmc build 10-18
xbmp build 24-09

my files:

xboxmediacenter.xml
Quote:<ipadres>-</ipadres>
<netmask>-</netmask>
<defaultgateway>-</defaultgateway>

<nameserver>-</nameserver>
....
<music>  
  <bookmark>
     <name>stifserver</name>
     <path>smb://username:password@workgroup/stifserver/shares/mp3</path>
  </bookmark>
</music>

smb.cfg
Quote:[global]
  workgroup = workgroup
  server string = stifserver
  netbios name = stifserver
  security = share
  wins support = yes
  hosts allow = 192.168.1. 127.
  log file = /var/log/samba/log.%m
  log level = 10
  max log size = 50
  dns proxy = no
  dead time = 30
  create mask = 0775
  encrypt passwords = yes
  hosts allow = all
  keepalive = true
  dos filetimes = true
  dos filetime resolution = yes
  getwd cache = yes

[shares]
  comment = shares op stifserver
  path = /shares
  public = no
  writable = yes
  valid users = username
  create mode = 0775

can't wait to use xbmc. so, hope you can help us
#20
in xbmc it only works if i leave out the workgroup name. i've also noticed some bugs in different versions of xbmc which makes it impossible to use smb at all Sad

i'm now running xbmc buld oct. 10th 2003. i've tried newer builds and none have worked Sad

my configuration path looks like this (where gateway is the wins-name of my linux box running samba):
Quote:<path>smb://username:password@gateway/movies</path>

as mentioned before, my global part of smb.conf looks like this (it has an fix against movies who freezes after 10-15 minutes):
Quote:[global]
workgroup = krangparty.net
netbios name = gateway
server string = gateway running slackware 9
interfaces = eth1
security = share
encrypt passwords = yes
map to guest = bad user
null passwords = yes
ssl ca certdir = /etc/ssl/certs
log file = /var/log/samba.%m
max log size = 50
deadtime = 15
keepalive = 0
wins proxy = yes
wins support = yes
guest account = ftp
invalid users = root
admin users = x
hosts allow = 192.168.0.
dos filetimes = yes
dos filetime resolution = yes
#21
does also not work (leaving the workgoup uit of the xbmc config and used your samba config).

but a win98 samba share works perfect, this looks like:

<bookmark>
<name>pc1</name>
<path>smb://user:passw@workgroup/pc1/hd1</path>
</bookmark>

dont understand it anymore
#22
i recently rebuilt my windows xp system and now samba works with xbmc- go figure! Image

Logout Mark Read Team Forum Stats Members Help
Samba problems0