Samba on my Ubuntu 10.04 desktop VM

Samba File Server

Samba File Server

sudo apt-get install samba

First, edit the following key/value pairs in the [global] section of /etc/samba/smb.conf:

workgroup = WORKGROUP
security = SHARE

Create a new section at the bottom of /etc/samba/smb.conf:

[data]
comment = ubu1004 File Server Share
path = /srv/samba/share
browsable = yes
force user = craig
force group = craig
read only = no
create mask = 0755
guest ok = Yes

Create the share directory

sudo mkdir -p /srv/samba/share
sudo chown craig:craig /srv/samba/share/

restart the samba services

sudo service smbd restart

Now Seen on Host Vista box – can read/write files

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: