Configuring a debian samba server
From DreamsteepWiki
Edit the following file
vi /etc/samba/smb.conf
Restart Samba on Debian
/etc/init.d/samba restart
TO SETUP SHARES
if you want to add shares to your samba server add the following lines in the config file.
[newshare] path = /newshare browseable = yes comment = share writable = yes public = yes guest ok = no
To SETUP USERS?
[allusers] comment = All Users path = /home/shares/allusers valid users = @users force group = users create mask = 0660 directory mask = 0771 writable = yes
Adding a User
useradd tom -m -G users
Now add the user to the Samba user database.
smbpasswd -a tom

