- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs-xml/smbdotconf/misc/addsharecommand.xml
r203 r232 8 8 Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server 9 9 Manager. The <parameter moreinfo="none">add share command</parameter> is used to define an external program 10 or script which will add a new service definition to <filename moreinfo="none">smb.conf</filename>. In order 11 to successfully execute the <parameter moreinfo="none">add share command</parameter>, <command 12 moreinfo="none">smbd</command> requires that the administrator be connected using a root account (i.e. uid == 0). 10 or script which will add a new service definition to 11 <filename moreinfo="none">smb.conf</filename>. 13 12 </para> 14 13 15 <para> 16 If the connected account has <literal>SeDiskOperatorPrivilege</literal>, scripts defined in 17 <parameter moreinfo="none">change share</parameter> parameter are executed as root. 18 </para> 14 <para> 15 In order to successfully execute the 16 <parameter moreinfo="none">add share command</parameter>, 17 <command moreinfo="none">smbd</command> requires that the administrator 18 connects using a root account (i.e. uid == 0) or has the 19 <literal>SeDiskOperatorPrivilege</literal>. 20 Scripts defined in the <parameter moreinfo="none">add share command</parameter> 21 parameter are executed as root. 22 </para> 19 23 20 24 <para> … … 57 61 58 62 <para> 59 This parameter is only used for add file shares.To add printer shares, see the <smbconfoption63 This parameter is only used to add file shares. To add printer shares, see the <smbconfoption 60 64 name="addprinter command"/>. 61 65 </para>
Note:
See TracChangeset
for help on using the changeset viewer.