PDA

View Full Version : Samba from linux server? Iḿ loosing my hair!


SciFi
2003-10-07, 20:17
hi

have anyone got samba to work from a linux server? i have been fiddling with my smb.conf file forever! i have gotń it to work from a win xp mashine but not from my linux server..

please help!

franKiboY
2003-10-07, 21:06
samba is working perfect here.. here is my smb.conf file:


[global]
* path=/etc/samba
* domain master = yes
* domain logons = no
* local master = yes
* dns proxy = no
* encrypt passwords = yes
* keepalive = yes
* dos filetimes = true
* dos filetime resolution = yes
* getwd cache = yes
* read prediction = yes
* share modes = yes
* valid users = frank,xbox,nobody
* wins support = yes
* directory mask = 775
* preferred master = yes
* hosts allow = 192.168.1. 127.
* writable = yes
* ssl entropy bytes = 99
* map to guest = bad user
* security = share
* ssl require server cert = no
* log level = 2
* max packet = 0
* guest ok = yes
* netbios name = proxy
* log file = /etc/samba/samba.log.%m
* os level = 34
* socket options = tcp_nodelay, so_rcvbuf=8192 so_sndbuf=8192
* default = media
* create mask = 775

[media]
* path = /tmp/media
* force directory mode = 775
* writable = yes
* force create mode = 775
* sync always = yes
* comment = media files
* guest ok = yes


in /tmp/media i make links to all directories i want to access from xbmc.

to use samba i put something like this in xboxmediacenter.xml:


* * * * * * * *<bookmark>
* * * * * * * * * * * *<name>smb</name>
* * * * * * * * * * * *<path>smb://frank:xbox@workgroup/proxy/media/mp3</path>
* * * * * * * *</bookmark>

SciFi
2003-10-09, 10:39
hi frankiboy

after viewing your smb file i managed to get smb working :=) thanks!

i think i have some problems with users for samba. i can only see the shares when they are shared with "public = yes" access from xbmc.

going to troubleshoot some more tonight,

IndieRockSteve
2003-10-13, 22:56
does xbmc require a user to login? i'd rather just have the files shared public and non-writeable. but i can't seem to get it to do that. it worked fine in xbmp though.