"If you use Samba you certainly want to create shares
which provide users with private shares. This tutorial will show
you how to create a share that is accessible to one user to store
their information. Security Mode
"The typical security mode that you will use for a simple user
share is security = user.
"Choosing a Database Type for Passwords
"smbpasswd–A text-mode flat database. You can use this on
a stand-alone Samba server, but you don’t want to use it in a
"tdbsam–This is a regular database file, which can store a
richer set of attributes than what the smbpasswd file can. You can
use it for either stand-alone Samba servers, or in a domain
that’s running a single domain controller.
"ldapsam–This type of database is set up with an ldap
directory for its backend. You can use this in a domain with
multiple domain controllers. You don’t want to use it for
either stand-alone Samba servers, or for domains with single domain
"This will create home directories on your Samba server that
users can access from their Windows clients."