Ignore:
Timestamp:
Apr 10, 2007, 5:27:38 AM (14 years ago)
Author:
Paul Smedley
Message:

Updated source to 3.0.25rc1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/docs/htmldocs/manpages/net.8.html

    r1 r26  
    169169DN standard LDAP DN, and the attributes are a list of LDAP fields
    170170to show in the result.
    171 </p><p>Example: <strong class="userinput"><code>net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName</code></strong></p></div><div class="refsect2" lang="en"><a name="id273042"></a><h3>ADS WORKGROUP</h3><p>Print out workgroup name for specified kerberos realm.</p></div><div class="refsect2" lang="en"><a name="id273052"></a><h3>USERSHARE</h3><p>Starting with version 3.0.23, a Samba server now supports the ability for
     171</p><p>Example: <strong class="userinput"><code>net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName</code></strong></p></div><div class="refsect2" lang="en"><a name="id273042"></a><h3>ADS WORKGROUP</h3><p>Print out workgroup name for specified kerberos realm.</p></div><div class="refsect2" lang="en"><a name="id273052"></a><h3>SAM CREATEBUILTINGROUP &lt;NAME&gt;</h3><p>
     172(Re)Create a BUILTIN group.
     173Only a wellknown set of BUILTIN groups can be created with this command.
     174This is the list of currently recognized group names: Administrators,
     175Users, Guests, Power Users, Account Operators, Server Operators, Print
     176Operators, Backup Operators, Replicator, RAS Servers, Pre-Windows 2000
     177ompatible Access.
     178
     179This command requires a running Winbindd with idmap allocation properly
     180configured. The group gid will be allocated out of the winbindd range.
     181</p></div><div class="refsect2" lang="en"><a name="id273067"></a><h3>SAM CREATELOCALGROUP &lt;NAME&gt;</h3><p>
     182Create a LOCAL group (also known as Alias).
     183
     184This command requires a running Winbindd with idmap allocation properly
     185configured. The group gid will be allocated out of the winbindd range.
     186</p></div><div class="refsect2" lang="en"><a name="id273078"></a><h3>SAM MAPUNIXGROUP &lt;NAME&gt;</h3><p>
     187Map an existing Unix group and make it a Domain Group, the domain group
     188will have the same name.
     189</p></div><div class="refsect2" lang="en"><a name="id273089"></a><h3>SAM ADDMEM &lt;GROUP&gt; &lt;MEMBER&gt;</h3><p>
     190Add a member to a Local group. The group can be specified only by name,
     191the member can be specified by name or SID.
     192</p></div><div class="refsect2" lang="en"><a name="id273101"></a><h3>SAM DELMEM  &lt;GROUP&gt; &lt;MEMBER&gt;</h3><p>
     193Remove a member from a Local group. The group and the member must be
     194specified by name.
     195</p></div><div class="refsect2" lang="en"><a name="id273112"></a><h3>SAM LISTMEM &lt;GROUP&gt;</h3><p>
     196List Local group members. The group must be specified by name.
     197</p></div><div class="refsect2" lang="en"><a name="id273123"></a><h3>SAM LIST &lt;users|groups|localgroups|builtin|workstations&gt; [verbose]</h3><p>
     198List the specified set of accounts by name. If verbose is specified,
     199the rid and description is also provided for each account.
     200</p></div><div class="refsect2" lang="en"><a name="id273135"></a><h3>SAM SHOW &lt;NAME&gt;</h3><p>
     201Show the full DOMAIN\\NAME the SID and the type for the corrisponding
     202account.
     203</p></div><div class="refsect2" lang="en"><a name="id273145"></a><h3>SAM SET HOMEDIR &lt;NAME&gt; &lt;DIRECTORY&gt;</h3><p>
     204Set the home directory for a user account.
     205</p></div><div class="refsect2" lang="en"><a name="id273156"></a><h3>SAM SET PROFILEPATH &lt;NAME&gt; &lt;PATH&gt;</h3><p>
     206Set the profile path for a user account.
     207</p></div><div class="refsect2" lang="en"><a name="id273166"></a><h3>SAM SET COMMENT &lt;NAME&gt; &lt;COMMENT&gt;</h3><p>
     208Set the comment for a user or group account.
     209</p></div><div class="refsect2" lang="en"><a name="id273177"></a><h3>SAM SET FULLNAME &lt;NAME&gt; &lt;FULL NAME&gt;</h3><p>
     210Set the full name for a user account.
     211</p></div><div class="refsect2" lang="en"><a name="id273187"></a><h3>SAM SET LOGONSCRIPT &lt;NAME&gt; &lt;SCRIPT&gt;</h3><p>
     212Set the logon script for a user account.
     213</p></div><div class="refsect2" lang="en"><a name="id273198"></a><h3>SAM SET HOMEDRIVE &lt;NAME&gt; &lt;DRIVE&gt;</h3><p>
     214Set the home drive for a user account.
     215</p></div><div class="refsect2" lang="en"><a name="id273209"></a><h3>SAM SET WORKSTATIONS &lt;NAME&gt; &lt;WORKSTATIONS&gt;</h3><p>
     216Set the workstations a user account is allowed to log in from.
     217</p></div><div class="refsect2" lang="en"><a name="id273219"></a><h3>SAM SET DISABLE &lt;NAME&gt;</h3><p>
     218Set the "disabled" flag for a user account.
     219</p></div><div class="refsect2" lang="en"><a name="id273230"></a><h3>SAM SET PWNOTREQ &lt;NAME&gt;</h3><p>
     220Set the "password not required" flag for a user account.
     221</p></div><div class="refsect2" lang="en"><a name="id273241"></a><h3>SAM SET AUTOLOCK &lt;NAME&gt;</h3><p>
     222Set the "autolock" flag for a user account.
     223</p></div><div class="refsect2" lang="en"><a name="id273251"></a><h3>SAM SET PWNOEXP &lt;NAME&gt;</h3><p>
     224Set the "password do not expire" flag for a user account.
     225</p></div><div class="refsect2" lang="en"><a name="id273262"></a><h3>SAM SET PWMUSTCHANGENOW &lt;NAME&gt; [yes|no]</h3><p>
     226Set or unset the "password must change" flag fro a user account.
     227</p></div><div class="refsect2" lang="en"><a name="id273273"></a><h3>SAM POLICY LIST</h3><p>
     228List the avilable account policies.
     229</p></div><div class="refsect2" lang="en"><a name="id273283"></a><h3>SAM POLICY SHOW &lt;account policy&gt;</h3><p>
     230Show the account policy value.
     231</p></div><div class="refsect2" lang="en"><a name="id273293"></a><h3>SAM POLICY SET &lt;account policy&gt; &lt;value&gt;</h3><p>
     232Set a value for the account policy.
     233Valid values can be: "forever", "never", "off", or a number.
     234</p></div><div class="refsect2" lang="en"><a name="id273305"></a><h3>SAM PROVISION</h3><p>
     235Only available if ldapsam:editposix is set and winbindd is running.
     236Properly populates the ldap tree with the basic accounts (Administrator)
     237and groups (Domain Users, Domain Admins, Domain Guests) on the ldap tree.
     238</p></div><div class="refsect2" lang="en"><a name="id273316"></a><h3>USERSHARE</h3><p>Starting with version 3.0.23, a Samba server now supports the ability for
    172239non-root users to add user define shares to be exported using the "net usershare"
    173240commands.
     
    198265</p><table class="simplelist" border="0" summary="Simple list"><tr><td>net usershare add sharename path [comment] [acl] [guest_ok=[y|n]] - to add or change a user defined share.</td></tr><tr><td>net usershare delete sharename - to delete a user defined share.</td></tr><tr><td>net usershare info [-l|--long] [wildcard sharename] - to print info about a user defined share.</td></tr><tr><td>net usershare list [-l|--long] [wildcard sharename] - to list user defined shares.</td></tr></table><p>
    199266
    200 </p><div class="refsect3" lang="en"><a name="id273099"></a><h4>USERSHARE ADD <em class="replaceable"><code>sharename</code></em> <em class="replaceable"><code>path</code></em> <em class="replaceable"><code>[comment]</code></em> <em class="replaceable"><code>[acl]</code></em> <em class="replaceable"><code>[guest_ok=[y|n]]</code></em></h4><p>
     267</p><div class="refsect3" lang="en"><a name="id273363"></a><h4>USERSHARE ADD <em class="replaceable"><code>sharename</code></em> <em class="replaceable"><code>path</code></em> <em class="replaceable"><code>[comment]</code></em> <em class="replaceable"><code>[acl]</code></em> <em class="replaceable"><code>[guest_ok=[y|n]]</code></em></h4><p>
    201268Add or replace a new user defined share, with name "sharename".
    202269</p><p>
     
    235302at connect time so will see the change immediately, there is no need
    236303to restart smbd on adding, deleting or changing a user defined share.
    237 </div><div class="refsect3" lang="en"><a name="id273157"></a><h4>USERSHARE DELETE <em class="replaceable"><code>sharename</code></em></h4><p>
     304</div><div class="refsect3" lang="en"><a name="id273421"></a><h4>USERSHARE DELETE <em class="replaceable"><code>sharename</code></em></h4><p>
    238305Deletes the user defined share by name. The Samba smbd daemon
    239306immediately notices this change, although it will not disconnect
    240307any users currently connected to the deleted share.
    241 </p></div><div class="refsect3" lang="en"><a name="id273171"></a><h4>USERSHARE INFO <em class="replaceable"><code>[-l|--long]</code></em> <em class="replaceable"><code>[wildcard sharename]</code></em></h4><p>
     308</p></div><div class="refsect3" lang="en"><a name="id273435"></a><h4>USERSHARE INFO <em class="replaceable"><code>[-l|--long]</code></em> <em class="replaceable"><code>[wildcard sharename]</code></em></h4><p>
    242309Get info on user defined shares owned by the current user matching the given pattern, or all users.
    243310</p><p>
     
    258325And is a list of the current settings of the user defined share that can be
    259326modified by the "net usershare add" command.
    260 </p></div><div class="refsect3" lang="en"><a name="id273199"></a><h4>USERSHARE LIST <em class="replaceable"><code>[-l|--long]</code></em> <em class="replaceable"><code>wildcard sharename</code></em></h4><p>
     327</p></div><div class="refsect3" lang="en"><a name="id273464"></a><h4>USERSHARE LIST <em class="replaceable"><code>[-l|--long]</code></em> <em class="replaceable"><code>wildcard sharename</code></em></h4><p>
    261328List all the user defined shares owned by the current user matching the given pattern, or all users.
    262329</p><p>
     
    266333If the '-l' or '--long' option is also given, it includes the names of user defined
    267334shares created by other users.
    268 </p></div></div><div class="refsect2" lang="en"><a name="id273224"></a><h3>HELP [COMMAND]</h3><p>Gives usage information for the specified command.</p></div></div><div class="refsect1" lang="en"><a name="id273235"></a><h2>VERSION</h2><p>This man page is complete for version 3.0 of the Samba
    269         suite.</p></div><div class="refsect1" lang="en"><a name="id273246"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
     335</p></div></div><div class="refsect2" lang="en"><a name="id273488"></a><h3>HELP [COMMAND]</h3><p>Gives usage information for the specified command.</p></div></div><div class="refsect1" lang="en"><a name="id273499"></a><h2>VERSION</h2><p>This man page is complete for version 3.0 of the Samba
     336        suite.</p></div><div class="refsect1" lang="en"><a name="id273510"></a><h2>AUTHOR</h2><p>The original Samba software and related utilities
    270337        were created by Andrew Tridgell. Samba is now developed
    271338        by the Samba Team as an Open Source project similar
Note: See TracChangeset for help on using the changeset viewer.