smb.conf

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
Revision as of 15:28, 9 September 2010 by Woozle (talk | contribs)
Jump to navigation Jump to search

Navigation

computing: software: Samba: smb.conf

Overview

smb.conf is the main configuration file for the Samba server, which provides Windows "Network Neighborhood" shares on Linux (and possibly on other non-Windows operating systems).

Articles

Parameters

[global]

[printers]

see /printers

[homes]

usershares

Starting with Samba version 3.0.23 the capability for non−root users to add, modify, and delete their own share definitions has been added. This capability is called usershares and is controlled by a set of parameters in the [global] section of the smb.conf. The relevant parameters are :

  • usershare allow guests - Controls if usershares can permit guest access.
  • usershare max shares - Maximum number of user defined shares allowed.
  • usershare owner only - If set only directories owned by the sharing user can be shared.
  • usershare path - Points to the directory containing the user defined share definitions. The filesystem permissions on this directory control who can create user defined shares.
  • usershare prefix allow list - Comma−separated list of absolute pathnames: only directories below the pathnames in this list are permitted.
  • usershare prefix deny list - Comma−separated list of absolute pathnames: directories below the pathnames in this list are prohibited.
  • usershare template share - Names a pre-existing share used as a template for creating new usershares. All other share parameters not specified in the user defined share definition are copied from this named share.