Name
add share command = command — [global]
Synopsis
Allowable values: command
Default: NULL
Specifies a command that creates a new
share on the Samba server. This command
runs as root
when a share is created using the
Windows NT/2000/XP Server Manager. The client user must be logged on
as the root
user. The command will be passed the
name of the Samba configuration file, the name of the share to be
created, the full pathname of a directory on the Samba server (which
must already exist), and a string to use as a comment for the share,
in that order. The command must add a share definition for the share
to smb.conf.
See also add printer command
, for adding a print share.
Get Using Samba, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.