Is it hard for you to play with smb.conf and other stuff? Are you afraid of doing any mistakes?
Then you have to think about using swat, the samba web administration tool.
We will first install samba, cifs-utils, swat and xinted, all needed for our SWAT installation.sudo apt-get install samba cifs-utils swat xinetdThen we will go ahead and enable swat in our internet service deamon,
sudo update-inetd --enable 'swat'after xinetd, we will create the swat service.
sudo dpkg-reconfigure xinetd
sudo cat > /etc/xinetd.d/swat <<-EOFSWAT needs to have access to the smb.conf file to edit it automatically. We will now give those permissions and restart the xinetd service:
service swat
{
port = 901
socket_type = stream
wait = no
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
EOF
sudo chmod g+w /etc/samba/smb.confBy now you should be able to login to the administration tool via http://localhost:901/
sudo chgrp adm /etc/samba/smb.conf
sudo service xinetd restart
Start sharing!