2003-12-08, 04:22
i know plenty of people have posted with problems with xbmc and samba. i'm going to try to explain my problem very in-depth and see if any of the developers know of anything currently wrong with smb or what i'm doing wrong. i've been trying to get xbmc and samba to work now for atleast 3 cvs releases with no luck. i'm trying to connect to a freebsd samba share, and i will post my smb.conf and xbmc.conf's and some log snippets.
smb.conf excerpt:
#======================= global settings =====================================
[global]
workgroup = workgroup
server string = samba server %v
hosts allow = 192.168.1. 192.168.2. 127.
log file = /var/log/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = tcp_nodelay 2
netbios name = anarche
guest ok = yes
wins support = yes
#============================ share definitions ==============================
[files]
comment = anarches files
path = /files
valid users = anarche,xbox
public = yes
writeable = yes
printable = no
_-----------------------------------------------------------------------------------------
-------------------------------------------
xbmc.xml
<!-- ipadres,netmask,default gateway, nameserver (leave empty if you wanna use evox settings) !-->
<ipadres>-</ipadres>
<netmask>-</netmask>
<defaultgateway>-</defaultgateway>
<nameserver>-</nameserver>
<music>
<bookmark>
<name>smb</name>
<path>smb://xbox:[email protected]/files/mp3/</path>
</bookmark>
</music>
<video>
<bookmark>
<name>smb</name>
<path>smb://xbox:password@workgroup/anarche/files/movies</path>
</bookmark>
</video>
/var/log/log.myxbox:
[2003/12/07 08:57:21, 0] smbd/password.c:authorise_login(863)
authorise_login: rejected invalid user nobody
____
let me also note that xbmp works fine with samba, and here is a snippet from that config.:
<music>
<visible>true</visible>
<share>
<name>network (smb)</name>
<url>smb://xbox:password@workgroup/anarche/files/mp3</url>
<cachesize>512</cachesize>
</share>
</music>
<videos>
<visible>true</visible>
<share>
<name>network (smb)</name>
<url>smb://xbox:hacker@workgroup/anarche/files/movies</url>
<cachesize>1024</cachesize>
</share>
</videos>
smb.conf excerpt:
#======================= global settings =====================================
[global]
workgroup = workgroup
server string = samba server %v
hosts allow = 192.168.1. 192.168.2. 127.
log file = /var/log/log.%m
max log size = 50
security = share
encrypt passwords = yes
socket options = tcp_nodelay 2
netbios name = anarche
guest ok = yes
wins support = yes
#============================ share definitions ==============================
[files]
comment = anarches files
path = /files
valid users = anarche,xbox
public = yes
writeable = yes
printable = no
_-----------------------------------------------------------------------------------------
-------------------------------------------
xbmc.xml
<!-- ipadres,netmask,default gateway, nameserver (leave empty if you wanna use evox settings) !-->
<ipadres>-</ipadres>
<netmask>-</netmask>
<defaultgateway>-</defaultgateway>
<nameserver>-</nameserver>
<music>
<bookmark>
<name>smb</name>
<path>smb://xbox:[email protected]/files/mp3/</path>
</bookmark>
</music>
<video>
<bookmark>
<name>smb</name>
<path>smb://xbox:password@workgroup/anarche/files/movies</path>
</bookmark>
</video>
/var/log/log.myxbox:
[2003/12/07 08:57:21, 0] smbd/password.c:authorise_login(863)
authorise_login: rejected invalid user nobody
____
let me also note that xbmp works fine with samba, and here is a snippet from that config.:
<music>
<visible>true</visible>
<share>
<name>network (smb)</name>
<url>smb://xbox:password@workgroup/anarche/files/mp3</url>
<cachesize>512</cachesize>
</share>
</music>
<videos>
<visible>true</visible>
<share>
<name>network (smb)</name>
<url>smb://xbox:hacker@workgroup/anarche/files/movies</url>
<cachesize>1024</cachesize>
</share>
</videos>