From c36f5883b8d6ea3eee584561cb60ab533e095e5a Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Wed, 12 Sep 2007 05:17:37 +0000 Subject: Fix for Bug#4281 provided by Monyo. (This used to be commit d3e704efa40d973206498be1ead03da095f65128) --- docs/smbdotconf/misc/addsharecommand.xml | 48 +++++++++++++++-------------- docs/smbdotconf/misc/changesharecommand.xml | 44 ++++++++++++++------------ docs/smbdotconf/misc/deletesharecommand.xml | 38 +++++++++++++---------- 3 files changed, 70 insertions(+), 60 deletions(-) (limited to 'docs') diff --git a/docs/smbdotconf/misc/addsharecommand.xml b/docs/smbdotconf/misc/addsharecommand.xml index 9773bf60d6..9eb50f3dc3 100644 --- a/docs/smbdotconf/misc/addsharecommand.xml +++ b/docs/smbdotconf/misc/addsharecommand.xml @@ -4,43 +4,45 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - Samba 2.2.0 introduced the ability to dynamically - add and delete shares via the Windows NT 4.0 Server Manager. The - add share command is used to define an - external program or script which will add a new service definition - to smb.conf. In order to successfully - execute the add 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 add share command is used to define an external program + or script which will add a new service definition to smb.conf. In order + to successfully execute the add share command, smbd requires that the administrator be connected using a root account (i.e. uid == 0). - + + + If the connected account has SeDiskOperatorPrivilege, scripts defined in + change share parameter are executed as root. + + - When executed, smbd will automatically invoke the + When executed, smbd will automatically invoke the add share command with five parameters. - + - configFile - the location - of the global smb.conf file. + configFile - the location of the global smb.conf file. - + - shareName - the name of the new - share. + shareName - the name of the new share. - + pathName - path to an **existing** directory on disk. - + - comment - comment string to associate - with the new share. + comment - comment string to associate with the new + share. @@ -52,10 +54,10 @@ - + - This parameter is only used for add file shares. To add printer shares, - see the . + This parameter is only used for add file shares. To add printer shares, see the . diff --git a/docs/smbdotconf/misc/changesharecommand.xml b/docs/smbdotconf/misc/changesharecommand.xml index 4b65eda7b5..5a42e22559 100644 --- a/docs/smbdotconf/misc/changesharecommand.xml +++ b/docs/smbdotconf/misc/changesharecommand.xml @@ -4,42 +4,46 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - 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). - + + + If the connected account has SeDiskOperatorPrivilege, scripts defined in + change share parameter are executed as root. + + - When executed, smbd will automatically invoke the + When executed, smbd will automatically invoke the change share command with five parameters. - + - configFile - the location - of the global smb.conf file. + 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** directory on disk. - + - comment - comment string to associate + comment - comment string to associate with the new share. @@ -52,9 +56,9 @@ - + - This parameter is only used modify existing file shares definitions. To modify + 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. diff --git a/docs/smbdotconf/misc/deletesharecommand.xml b/docs/smbdotconf/misc/deletesharecommand.xml index 1afce2fd24..40eb6495db 100644 --- a/docs/smbdotconf/misc/deletesharecommand.xml +++ b/docs/smbdotconf/misc/deletesharecommand.xml @@ -4,37 +4,41 @@ advanced="1" developer="1" xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> - Samba 2.2.0 introduced the ability to dynamically - add and delete shares via the Windows NT 4.0 Server Manager. The - delete share command is used to define an - external program or script which will remove an existing service - definition from smb.conf. In order to successfully - execute the delete 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 delete share command is used to define an external + program or script which will remove an existing service definition from + smb.conf. In order to successfully execute the + delete share command, smbd + requires that the administrator be connected using a root account (i.e. uid == 0). - + + + If the connected account has SeDiskOperatorPrivilege, scripts defined in + change share parameter are executed as root. + + - When executed, smbd will automatically invoke the + When executed, smbd will automatically invoke the delete share command with two parameters. - + - configFile - the location - of the global smb.conf file. + configFile - the location + of the global smb.conf file. - + - shareName - the name of + shareName - the name of the existing service. - + - This parameter is only used to remove file shares. To delete printer shares, + This parameter is only used to remove file shares. To delete printer shares, see the . -- cgit