From 6ab278b85719cb390de316a9632f710d235b2ced Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 14 Apr 2003 22:59:57 +0000 Subject: Convert a part of Misc section. More to come after a sleep (This used to be commit 1093c11fd47e5f4a76ce88ac77be2c3e9b1bc694) --- .../docbook/smbdotconf/misc/changesharecommand.xml | 88 ++++++++++++---------- 1 file changed, 50 insertions(+), 38 deletions(-) (limited to 'docs/docbook/smbdotconf/misc/changesharecommand.xml') diff --git a/docs/docbook/smbdotconf/misc/changesharecommand.xml b/docs/docbook/smbdotconf/misc/changesharecommand.xml index 3fb494c513..d0116594c0 100644 --- a/docs/docbook/smbdotconf/misc/changesharecommand.xml +++ b/docs/docbook/smbdotconf/misc/changesharecommand.xml @@ -1,50 +1,62 @@ - - change share command (G) - Samba 2.2.0 introduced the ability to dynamically - add and delete shares via the Windows NT 4.0 Server Manager. The - change share command is used to define an - external program or script which will modify an existing service definition - in smb.conf. In order to successfully - execute the change share command, smbd - requires that the administrator be connected using a root account (i.e. - uid == 0). - + + + Samba 2.2.0 introduced the ability to dynamically + add and delete shares via the Windows NT 4.0 Server Manager. The + change share command is used to define an + external program or script which will modify an existing service definition + in smb.conf. In order to successfully + execute the change share command, smbd + requires that the administrator be connected using a root account (i.e. + uid == 0). + - - When executed, smbd will automatically invoke the - change share command with four parameters. - + + When executed, smbd will automatically invoke the + change share command with four parameters. + - - configFile - the location + + + configFile - the location of the global smb.conf file. - + + - shareName - the name of the new + + shareName - the name of the new share. - + + - pathName - path to an **existing** + + pathName - path to an **existing** directory on disk. - + + - comment - comment string to associate + + comment - comment string to associate with the new share. - - + + + - - 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. - + + 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. + - - See also add share - command, delete - share command. - + + See also add share + command, delete + share command. + - Default: none - Example: change share command = /usr/local/bin/addshare - - + Default: none + + Example: change share command = /usr/local/bin/addshare + + -- cgit