Simple file sharing with Samba 3

From lxadm | Linux administration tips, tutorials, HOWTOs and articles
Jump to: navigation, search

A simple smb.conf for a writable share in Samba 3 can look like below:

[global]
   map to guest = bad user

[db]
   path = /ngx
   guest ok = yes
   writeable = yes


You can mount it on Linux with:

mount -t cifs //192.168.0.11/db /mnt/db


See also simple file sharing with Samba 4.