Total Pageviews

Friday, 28 December 2012

setup Samba Server under ubuntu

apt-get install samba samba-common smbclient
During installation it will ask you if you want to create password database. Say yes
Also use the secure connection option

For some reason samba have all directories read only. I guess it is a good practice
smb.conf change writeable to yes

You need to setup account for each individual in your linux box
smbpasswd tmtong

Somehow windows screw things up
Uninstall file sharing in network of control panel
Restart

Go to your ssh clients in windows, have port forward Outgoing and port 139
ssh to the server from your window machine
Put this in the window browser to see if it works
\\localhost\tmtong