Installation command explanations
mkdir -p /etc/samba/private
mkdir -p /var/cache/samba
Directories needed for proper operation of the smbd and nmbd daemons.
--prefix=/usr : Sets the prefix for almost
all the file paths to /usr.
--sysconfdir=/etc : Sets the configuration
file directory to avoid the default of /usr/etc.
--localstatedir=/var : Sets the variable
data directory to avoid the default of /usr/var.
--with-fhs : Assigns all other file paths in a manner compliant with the Filesystem Hierarchy Standard.
--with-smbmount : Orders the creation of an extra binary for use by the mount command so that mounting remote SMB (windows) shares becomes no more complex than mounting remote NFS shares.
rm -rf /usr/private : Removes a directory
erroneously created by source/scripts/installbin.sh during the make install.