Installation
The rest of this presentation assumes a source installation.
Configuration
Configuration of samba is very simple. For the most part, a simple
./configure in the source directory of the distribution is all that is needed.
A few configuration options may be useful, listed below:
- --prefix=path
Install samba in path
- --with-ssl
Configure samba to use the Secure Socket Layer to encrypt traffic
between the client and server. This requires OpenSSL to be installed and
you must use the --with-sslinc=path to point to the OpenSSL include
directory. For information on using Samba with SSL, please see SSLeay.txt
included in the Samba docs/textdocs directory.
- --with-smbwrapper
Installs the smbwrapper program which allows Linux to access SMB
shares as if they were local directories
- --with-syslog
Configures samba to log via syslog rather than it's own logging
facilities.
- --with-automount
Support for using automount, useful if you wish to use Samba to share
NFS or other filesystems that must be first mounted.
- --with-quotas
Include support for disk quotas on shares
For a complete list of options, run ./configure --help
Once you have decided on a set of options, type:
./configure [options]
make
make install
If you are upgrading to a newer version of samba, the procedure is
exactly the same. Samba will save old versions of files, and you may
revert to the previous installation at any time by typing make
revert.
If all goes well, Samba should be installed and ready to go.