Running SAMBA on a Linux machine
To start, stop or restart samba,/etc/init.d/smd start /etc/init.d/smd stop /etc/init.d/smd restart
Notable changes I made are:
My linux machine is a gateway server with two ethernet interfaces eth0 and eth1. For security reasons I set up SAMBA to run only on the internal interface
interfaces = 192.168.0.1/24 127.0.0.1/24 bind interfaces only = Yes
hosts allow = 127. 192.168.0. hosts deny = *
SAMBA authentification
For the file access permissions for the shares to work, you have to set up the SAMBA username/password by running smbpasswd program on the linux box.Then on the Windows machine login with the username/password created above with smbpasswd. Otherwise the file sharing will not work.