apt-get install samba
smbpasswd ((wonneproppen))
/etc/samba/smb.conf :
create mask = 0777
directory mask = 0777
[...]
[pictures]
comment = Schuelerbilder
path = /var/pictures
public = yes
writable = yes
printable = no
chmod = 0777
[files]
comment = foto-und-kind
path = /var/files
public = yes
writable = yes
printable = no
chmod = 0777
[archive]
comment = Bilderarchiv
path = /var/archive
public = yes
writable = no
printable = no
useradd fileserver passwd fileserver smbpasswd -a fileserver # erstellt einen neuen SAMBA-User ((wonneproppen)) smbpasswd -e fileserver # aktiviert den Account
yum install samba-client
Also, when trying to mount through Samba, use cifs and not smbfs:
mount -t cifs -o user=jorge,password=foo //192.168.1.1/media/music /music