Samba Tutorial: Create Private User Shares

Written By
Web Webster
Web Webster
Jan 14, 2010

[ Thanks to Andrew
Weber
for this link. ]

“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
domain.

“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
controllers.

“Home Directories

“This will create home directories on your Samba server that
users can access from their Windows clients.”

Advertisement


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.