![]() |
XBMC SMB Linux Problems (Pls read devs) - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Archive (https://forum.kodi.tv/forumdisplay.php?fid=92) +--- Forum: First-generation XBOX support (https://forum.kodi.tv/forumdisplay.php?fid=158) +--- Thread: XBMC SMB Linux Problems (Pls read devs) (/showthread.php?tid=597) |
- anarche - 2003-12-08 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> - joe_user - 2003-12-09 your samba guest account is your system user "nobody", which does propably not have permission to your "files" share. set your samba guest account to "xbox" and try if that works. i tested xbmc with cvs from the 6th and it works with this setup. only problem is, that a movie crashs after 10minutes or so. i need to investigate into this issue, but haven't had time so far. - anarche - 2003-12-09 i will give that a shot, thanks for noticing that. also the timeout after 10 minutes has been an issue for a while now, so it might be a little fruitless looking into that. - cyrys - 2003-12-14 hey, i have tryied to this to night.. added this line in my smb.conf [global] socket options = so_keepalive deadtime = 15 keepalive = 0 and it help me in xbmp, it´s late and i havent solved my real prob. when i use same smb line in xbmc as in xbmp and it dont work.. what does u guys have in your settings.. hope u guys anderstund me in so tierd right now.. - spidalack - 2003-12-14 1: make sure you set your nameserver to something, do not leave it blank. point it toward your samba machine and make sure it as wins enabled 2: make sure you use the machine's samba name instead of it's ip. i have had some hugly issues when trying to access samba shares directly via the ip adress. 3: stupid question, the ip of your xbos is in host allow, right? 4: the entry should look like this <path>smb://username:password@netbiosname/folder</path> - cyrys - 2003-12-14 thanks, it was the nameserver thing.... i had it in xbmp and not i xbmc, now i realy need to get some sleep -zzzzzzz and about the---- [global] socket options = so_keepalive deadtime = 15 keepalive = 0 i think socket options = so_keepalive isnt needed byee - CoRe - 2003-12-30 well.. although i read everything above my xmbc does not list the files and directorys in my smb-share. it connects to my server (i hear the hdd working) but nothing appears on my tv-screen. i'm nearly fed up with this. the xbox-username is "steffi" (girlfriend, ay?), the smb-share is named "xbox" i'll paste my confs, both xmbc and smb and hope you can help: smb.conf Quote:[global] xmbc.xml Quote: <!-- my music shares !--> - Frodo - 2003-12-30 we're working on a complete new smb implementation based on samba 3. however this will take some time, so be patient. things will get better:-) frodo |