From 8b7f66c548ed170d2dab0c91ccff4aca00f4b52d Mon Sep 17 00:00:00 2001 From: Karolin Seeger Date: Tue, 6 Jan 2009 12:26:23 +0100 Subject: docs: Improve description of the share commands in man smb.conf. -Correct the parameter names. -Fix typos. -Fix related parameters. This fixes bug #6008. Thanks to TAKAHASHI Motonobu for reporting! Karolin --- docs-xml/smbdotconf/misc/changesharecommand.xml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'docs-xml/smbdotconf/misc/changesharecommand.xml') diff --git a/docs-xml/smbdotconf/misc/changesharecommand.xml b/docs-xml/smbdotconf/misc/changesharecommand.xml index 5a42e22559..2033fcf46c 100644 --- a/docs-xml/smbdotconf/misc/changesharecommand.xml +++ b/docs-xml/smbdotconf/misc/changesharecommand.xml @@ -8,14 +8,17 @@ 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). +moreinfo="none">smb.conf. - If the connected account has SeDiskOperatorPrivilege, scripts defined in - change share parameter are executed as root. + In order to successfully execute the + change share command, + smbd requires that the administrator + connects using a root account (i.e. uid == 0) or has the + SeDiskOperatorPrivilege. + Scripts defined in the change share command + parameter are executed as root. @@ -58,13 +61,14 @@ connected using a root account (i.e. uid == 0). - 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 to modify existing file share definitions. + To modify printer shares, use the "Printers..." folder as seen + when browsing the Samba host. add share command delete share command -/usr/local/bin/addshare +/usr/local/bin/changeshare -- cgit