Making Samba work on Linux
It doesn't by default. Symlinks are broken. We want simlinks to
be navigable as normal folder/files on windows.
Go to the [global] section and add
unix extensions = no
now we need to save that file and restart the service
symlinks = yes
wide links = yes
sudo service smbd restart
They're not hard to make, just a few lines at the bottom
comment = filesystem
guest ok = no
path = /home/files
read only = no
You don't want samba to be accessed from the wider net, so its
important to limit it. This can be done in the networking section of the [globals] area.
#### Networking ####
# The specific set of interfaces / networks to bind to
# This can be either the interface name or an IP address/netmask;
# interface names are normally preferred
interfaces = 127.0.0.0/8 virbr0
# Only bind to the named interfaces and/or networks; you must use the
# 'interfaces' option above to use this.
# It is recommended that you enable this feature if your Samba machine is
# not protected by a firewall or is a firewall itself. However, this
# option cannot handle dynamic or non-broadcast interfaces correctly.
bind interfaces only = yes