Thursday, July 12, 2007

SAMBA

Install SAMBA
sudo apt-get install samba samba-common

Connect to windows server
smb://windows_server_name

Configuration
Example of SAMBA configuration file :

/etc/samba/smb.conf:

[global]
workgroup = MSHOME
netbios name = THARTONO-LINUX
security = share
auth methods = guest # VM will be able to connect without any authentication
domain master = No
wins support = no
hosts allow = 127.0.0.1 # only virtual machine could connect to this server
hosts deny = 0.0.0.0/0 # any other machine can't connect to this server
#
[shared]
path = /home/thartono/data/shared # this is the shared folder
comment = read write
available = yes
browsable = yes
public = yes
writable = yes

No comments: