summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/smb.conf.5.html
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-05-04 18:55:50 +0000
committerGerald Carter <jerry@samba.org>2001-05-04 18:55:50 +0000
commitcf88c9fbc2f51f9195267accb216c917c4f43add (patch)
treea38084e1026e36d89cd55b808b046b08592eabae /docs/htmldocs/smb.conf.5.html
parent90c690eac43c4037d8c9ecc470cf36424992df71 (diff)
downloadsamba-cf88c9fbc2f51f9195267accb216c917c4f43add.tar.gz
samba-cf88c9fbc2f51f9195267accb216c917c4f43add.tar.xz
samba-cf88c9fbc2f51f9195267accb216c917c4f43add.zip
filled in 'change share command' parameter in smb.conf. Also regenerated
the HOWTO-Collection PDF and HTML formats.
Diffstat (limited to 'docs/htmldocs/smb.conf.5.html')
-rw-r--r--docs/htmldocs/smb.conf.5.html149
1 files changed, 144 insertions, 5 deletions
diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html
index 612b2736a84..732fcbbd9a1 100644
--- a/docs/htmldocs/smb.conf.5.html
+++ b/docs/htmldocs/smb.conf.5.html
@@ -4536,6 +4536,15 @@ CLASS="PARAMETER"
</P
><P
> See also <A
+HREF="#CHANGESHARECOMMAND"
+><TT
+CLASS="PARAMETER"
+><I
+>change share
+ command</I
+></TT
+></A
+>, <A
HREF="#DELETESHARECOMMAND"
><TT
CLASS="PARAMETER"
@@ -5269,7 +5278,128 @@ NAME="CHANGESHARECOMMAND"
>change share command (G)</DT
><DD
><P
-> </P
+>Samba 2.2.0 introduced the ability to dynamically
+ add and delete shares via the Windows NT 4.0 Server Manager. The
+ <TT
+CLASS="PARAMETER"
+><I
+>change share command</I
+></TT
+> is used to define an
+ external program or script which will modify an existing service definition
+ in <TT
+CLASS="FILENAME"
+>smb.conf</TT
+>. In order to successfully
+ execute the <TT
+CLASS="PARAMETER"
+><I
+>change share command</I
+></TT
+>, <B
+CLASS="COMMAND"
+>smbd</B
+>
+ requires that the administrator be connected using a root account (i.e.
+ uid == 0).
+ </P
+><P
+> When executed, <B
+CLASS="COMMAND"
+>smbd</B
+> will automatically invoke the
+ <TT
+CLASS="PARAMETER"
+><I
+>change share command</I
+></TT
+> with four parameters.
+ </P
+><P
+></P
+><UL
+><LI
+><P
+><TT
+CLASS="PARAMETER"
+><I
+>configFile</I
+></TT
+> - the location
+ of the global <TT
+CLASS="FILENAME"
+>smb.conf</TT
+> file.
+ </P
+></LI
+><LI
+><P
+><TT
+CLASS="PARAMETER"
+><I
+>shareName</I
+></TT
+> - the name of the new
+ share.
+ </P
+></LI
+><LI
+><P
+><TT
+CLASS="PARAMETER"
+><I
+>pathName</I
+></TT
+> - path to an **existing**
+ directory on disk.
+ </P
+></LI
+><LI
+><P
+><TT
+CLASS="PARAMETER"
+><I
+>comment</I
+></TT
+> - comment string to associate
+ with the new share.
+ </P
+></LI
+></UL
+><P
+> This parameter is only used modify existing file shares definitions. To modify
+ printer shares, use the "Printers..." folder as seen when browsing the Samba host.
+ </P
+><P
+> See also <A
+HREF="#ADDSHARECOMMAND"
+><TT
+CLASS="PARAMETER"
+><I
+>add share
+ command</I
+></TT
+></A
+>, <A
+HREF="#DELETESHARECOMMAND"
+><TT
+CLASS="PARAMETER"
+><I
+>delete
+ share command</I
+></TT
+></A
+>.
+ </P
+><P
+>Default: <EM
+>none</EM
+></P
+><P
+>Example: <B
+CLASS="COMMAND"
+>change share command = /usr/local/bin/addshare</B
+></P
></DD
><DT
><A
@@ -6474,6 +6604,15 @@ CLASS="PARAMETER"
command</I
></TT
></A
+>, <A
+HREF="#CHANGESHARECOMMAND"
+><TT
+CLASS="PARAMETER"
+><I
+>change
+ share</I
+></TT
+></A
>.
</P
><P
@@ -18282,7 +18421,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN5785"
+NAME="AEN5820"
></A
><H2
>WARNINGS</H2
@@ -18312,7 +18451,7 @@ TARGET="_top"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN5791"
+NAME="AEN5826"
></A
><H2
>VERSION</H2
@@ -18323,7 +18462,7 @@ NAME="AEN5791"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN5794"
+NAME="AEN5829"
></A
><H2
>SEE ALSO</H2
@@ -18402,7 +18541,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN5814"
+NAME="AEN5849"
></A
><H2
>AUTHOR</H2