From a2b71a0141763c20552bb45eeb4cb78c4b513118 Mon Sep 17 00:00:00 2001 From: bubulle Date: Sat, 1 Nov 2008 11:09:46 +0000 Subject: Revert the merge of 3.3.0~pre2 in upstream branch git-svn-id: svn://svn.debian.org/svn/pkg-samba/branches/samba/upstream@2200 fc4039ab-9d04-0410-8cac-899223bdd6b0 --- docs/htmldocs/manpages/net.8.html | 110 +++++++++++++++++++------------------- 1 file changed, 54 insertions(+), 56 deletions(-) (limited to 'docs/htmldocs/manpages/net.8.html') diff --git a/docs/htmldocs/manpages/net.8.html b/docs/htmldocs/manpages/net.8.html index a6b25bb896..94d7917bd1 100644 --- a/docs/htmldocs/manpages/net.8.html +++ b/docs/htmldocs/manpages/net.8.html @@ -167,20 +167,18 @@ user of the system can use this time to cancel the shutdown. announce the shutdown.

RPC SAMDUMP

Print out sam database of remote server. You need to run this against the PDC, from a Samba machine joined as a BDC.

RPC VAMPIRE

Export users, aliases and groups from remote server to local server. You need to run this against the PDC, from a Samba machine joined as a BDC. -

RPC VAMPIRE KEYTAB

Dump remote SAM database to local Kerberos keytab file. -

RPC VAMPIRE LDIF

Dump remote SAM database to local LDIF file or standard output. -

RPC GETSID

Fetch domain SID and store it in the local secrets.tdb.

ADS LEAVE

Make the remote host leave the domain it is part of.

ADS STATUS

Print out status of machine account of the local machine in ADS. +

RPC GETSID

Fetch domain SID and store it in the local secrets.tdb.

ADS LEAVE

Make the remote host leave the domain it is part of.

ADS STATUS

Print out status of machine account of the local machine in ADS. Prints out quite some debug info. Aimed at developers, regular -users should use NET ADS TESTJOIN.

ADS PRINTER

ADS PRINTER INFO [PRINTER] [SERVER]

+users should use NET ADS TESTJOIN.

ADS PRINTER

ADS PRINTER INFO [PRINTER] [SERVER]

Lookup info for PRINTER on SERVER. The printer name defaults to "*", the -server name defaults to the local host.

ADS PRINTER PUBLISH PRINTER

Publish specified printer using ADS.

ADS PRINTER REMOVE PRINTER

Remove specified printer from ADS directory.

ADS SEARCH EXPRESSION ATTRIBUTES...

Perform a raw LDAP search on a ADS server and dump the results. The +server name defaults to the local host.

ADS PRINTER PUBLISH PRINTER

Publish specified printer using ADS.

ADS PRINTER REMOVE PRINTER

Remove specified printer from ADS directory.

ADS SEARCH EXPRESSION ATTRIBUTES...

Perform a raw LDAP search on a ADS server and dump the results. The expression is a standard LDAP search expression, and the attributes are a list of LDAP fields to show in the results.

Example: net ads search '(objectCategory=group)' sAMAccountName -

ADS DN DN (attributes)

+

ADS DN DN (attributes)

Perform a raw LDAP search on a ADS server and dump the results. The DN standard LDAP DN, and the attributes are a list of LDAP fields to show in the result. -

Example: net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName

ADS WORKGROUP

Print out workgroup name for specified kerberos realm.

SAM CREATEBUILTINGROUP <NAME>

+

Example: net ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName

ADS WORKGROUP

Print out workgroup name for specified kerberos realm.

SAM CREATEBUILTINGROUP <NAME>

(Re)Create a BUILTIN group. Only a wellknown set of BUILTIN groups can be created with this command. This is the list of currently recognized group names: Administrators, @@ -190,78 +188,78 @@ compatible Access. This command requires a running Winbindd with idmap allocation properly configured. The group gid will be allocated out of the winbindd range. -

SAM CREATELOCALGROUP <NAME>

+

SAM CREATELOCALGROUP <NAME>

Create a LOCAL group (also known as Alias). This command requires a running Winbindd with idmap allocation properly configured. The group gid will be allocated out of the winbindd range. -

SAM DELETELOCALGROUP <NAME>

+

SAM DELETELOCALGROUP <NAME>

Delete an existing LOCAL group (also known as Alias). -

SAM MAPUNIXGROUP <NAME>

+

SAM MAPUNIXGROUP <NAME>

Map an existing Unix group and make it a Domain Group, the domain group will have the same name. -

SAM UNMAPUNIXGROUP <NAME>

+

SAM UNMAPUNIXGROUP <NAME>

Remove an existing group mapping entry. -

SAM ADDMEM <GROUP> <MEMBER>

+

SAM ADDMEM <GROUP> <MEMBER>

Add a member to a Local group. The group can be specified only by name, the member can be specified by name or SID. -

SAM DELMEM <GROUP> <MEMBER>

+

SAM DELMEM <GROUP> <MEMBER>

Remove a member from a Local group. The group and the member must be specified by name. -

SAM LISTMEM <GROUP>

+

SAM LISTMEM <GROUP>

List Local group members. The group must be specified by name. -

SAM LIST <users|groups|localgroups|builtin|workstations> [verbose]

+

SAM LIST <users|groups|localgroups|builtin|workstations> [verbose]

List the specified set of accounts by name. If verbose is specified, the rid and description is also provided for each account. -

SAM SHOW <NAME>

+

SAM SHOW <NAME>

Show the full DOMAIN\\NAME the SID and the type for the corresponding account. -

SAM SET HOMEDIR <NAME> <DIRECTORY>

+

SAM SET HOMEDIR <NAME> <DIRECTORY>

Set the home directory for a user account. -

SAM SET PROFILEPATH <NAME> <PATH>

+

SAM SET PROFILEPATH <NAME> <PATH>

Set the profile path for a user account. -

SAM SET COMMENT <NAME> <COMMENT>

+

SAM SET COMMENT <NAME> <COMMENT>

Set the comment for a user or group account. -

SAM SET FULLNAME <NAME> <FULL NAME>

+

SAM SET FULLNAME <NAME> <FULL NAME>

Set the full name for a user account. -

SAM SET LOGONSCRIPT <NAME> <SCRIPT>

+

SAM SET LOGONSCRIPT <NAME> <SCRIPT>

Set the logon script for a user account. -

SAM SET HOMEDRIVE <NAME> <DRIVE>

+

SAM SET HOMEDRIVE <NAME> <DRIVE>

Set the home drive for a user account. -

SAM SET WORKSTATIONS <NAME> <WORKSTATIONS>

+

SAM SET WORKSTATIONS <NAME> <WORKSTATIONS>

Set the workstations a user account is allowed to log in from. -

SAM SET DISABLE <NAME>

+

SAM SET DISABLE <NAME>

Set the "disabled" flag for a user account. -

SAM SET PWNOTREQ <NAME>

+

SAM SET PWNOTREQ <NAME>

Set the "password not required" flag for a user account. -

SAM SET AUTOLOCK <NAME>

+

SAM SET AUTOLOCK <NAME>

Set the "autolock" flag for a user account. -

SAM SET PWNOEXP <NAME>

+

SAM SET PWNOEXP <NAME>

Set the "password do not expire" flag for a user account. -

SAM SET PWDMUSTCHANGENOW <NAME> [yes|no]

+

SAM SET PWDMUSTCHANGENOW <NAME> [yes|no]

Set or unset the "password must change" flag for a user account. -

SAM POLICY LIST

+

SAM POLICY LIST

List the available account policies. -

SAM POLICY SHOW <account policy>

+

SAM POLICY SHOW <account policy>

Show the account policy value. -

SAM POLICY SET <account policy> <value>

+

SAM POLICY SET <account policy> <value>

Set a value for the account policy. Valid values can be: "forever", "never", "off", or a number. -

SAM PROVISION

+

SAM PROVISION

Only available if ldapsam:editposix is set and winbindd is running. Properly populates the ldap tree with the basic accounts (Administrator) and groups (Domain Users, Domain Admins, Domain Guests) on the ldap tree. -

IDMAP DUMP <local tdb file name>

+

IDMAP DUMP <local tdb file name>

Dumps the mappings contained in the local tdb file specified. This command is useful to dump only the mappings produced by the idmap_tdb backend. -

IDMAP RESTORE [input file]

+

IDMAP RESTORE [input file]

Restore the mappings from the specified file or stdin. -

IDMAP SECRET <DOMAIN>|ALLOC <secret>

+

IDMAP SECRET <DOMAIN>|ALLOC <secret>

Store a secret for the specified domain, used primarily for domains that use idmap_ldap as a backend. In this case the secret is used as the password for the user DN used to bind to the ldap server. -

USERSHARE

Starting with version 3.0.23, a Samba server now supports the ability for +

USERSHARE

Starting with version 3.0.23, a Samba server now supports the ability for non-root users to add user defined shares to be exported using the "net usershare" commands.

@@ -290,7 +288,7 @@ can create user defined shares on demand using the commands below.

net usershare add sharename path [comment] [acl] [guest_ok=[y|n]] - to add or change a user defined share.
net usershare delete sharename - to delete a user defined share.
net usershare info [-l|--long] [wildcard sharename] - to print info about a user defined share.
net usershare list [-l|--long] [wildcard sharename] - to list user defined shares.

-

USERSHARE ADD sharename path [comment] [acl] [guest_ok=[y|n]]

+

USERSHARE ADD sharename path [comment] [acl] [guest_ok=[y|n]]

Add or replace a new user defined share, with name "sharename".

"path" specifies the absolute pathname on the system to be exported. @@ -327,11 +325,11 @@ sharename as the one you wish to modify and specify the new options you wish. The Samba smbd daemon notices user defined share modifications at connect time so will see the change immediately, there is no need to restart smbd on adding, deleting or changing a user defined share. -

USERSHARE DELETE sharename

+

USERSHARE DELETE sharename

Deletes the user defined share by name. The Samba smbd daemon immediately notices this change, although it will not disconnect any users currently connected to the deleted share. -

USERSHARE INFO [-l|--long] [wildcard sharename]

+

USERSHARE INFO [-l|--long] [wildcard sharename]

Get info on user defined shares owned by the current user matching the given pattern, or all users.

net usershare info on its own dumps out info on the user defined shares that were @@ -350,7 +348,7 @@ guest_ok=n And is a list of the current settings of the user defined share that can be modified by the "net usershare add" command. -

USERSHARE LIST [-l|--long] wildcard sharename

+

USERSHARE LIST [-l|--long] wildcard sharename

List all the user defined shares owned by the current user matching the given pattern, or all users.

net usershare list on its own list out the names of the user defined shares that were @@ -358,7 +356,7 @@ created by the current user, or restricts the list to share names that match the wildcard pattern ('*' matches one or more characters, '?' matches only one character). If the '-l' or '--long' option is also given, it includes the names of user defined shares created by other users. -

CONF

Starting with version 3.2.0, a Samba server can be configured by data +

CONF

Starting with version 3.2.0, a Samba server can be configured by data stored in registry. This configuration data can be edited with the new "net conf" commands.

@@ -376,10 +374,10 @@ See the

CONF LIST

+

CONF LIST

Print the configuration data stored in the registry in a smb.conf-like format to standard output. -

CONF IMPORT [--test|-T] filename [section]

+

CONF IMPORT [--test|-T] filename [section]

This command imports configuration from a file in smb.conf format. If a section encountered in the input file is present in registry, its contents is replaced. Sections of registry configuration that have @@ -389,30 +387,30 @@ Optionally, a section may be specified to restrict the effect of the import command to that specific section. A test mode is enabled by specifying the parameter "-T" on the commandline. In test mode, no changes are made to the registry, and the resulting configuration is printed to standard output instead. -

CONF LISTSHARES

+

CONF LISTSHARES

List the names of the shares defined in registry. -

CONF DROP

+

CONF DROP

Delete the complete configuration data from registry. -

CONF SHOWSHARE sharename

+

CONF SHOWSHARE sharename

Show the definition of the share or section specified. It is valid to specify "global" as sharename to retrieve the global configuration options from registry. -

CONF ADDSHARE sharename path [writeable={y|N} [guest_ok={y|N} [comment]]]

Create a new share definition in registry. +

CONF ADDSHARE sharename path [writeable={y|N} [guest_ok={y|N} [comment]]]

Create a new share definition in registry. The sharename and path have to be given. The share name may not be "global". Optionally, values for the very common options "writeable", "guest ok" and a "comment" may be specified. The same result may be obtained by a sequence of "net conf setparm" commands. -

CONF DELSHARE sharename

+

CONF DELSHARE sharename

Delete a share definition from registry. -

CONF SETPARM section parameter value

+

CONF SETPARM section parameter value

Store a parameter in registry. The section may be global or a sharename. The section is created if it does not exist yet. -

CONF GETPARM section parameter

+

CONF GETPARM section parameter

Show a parameter stored in registry. -

CONF DELPARM section parameter

+

CONF DELPARM section parameter

Delete a parameter stored in registry. -

CONF GETINCLUDES section

+

CONF GETINCLUDES section

Get the list of includes for the provided section (global or share).

Note that due to the nature of the registry database and the nature of include directives, @@ -428,14 +426,14 @@ per share, and this list is evaluated after all the parameters of the share. Further note that currently, only files can be included from registry configuration. In the future, there will be the ability to include configuration data from other registry keys. -

CONF SETINCLUDES section [filename]+

+

CONF SETINCLUDES section [filename]+

Set the list of includes for the provided section (global or share) to the given list of one or more filenames. The filenames may contain the usual smb.conf macros like %I. -

CONF DELINCLUDES section

+

CONF DELINCLUDES section

Delete the list of includes from the provided section (global or share). -

HELP [COMMAND]

Gives usage information for the specified command.

VERSION

This man page is complete for version 3 of the Samba - suite.

AUTHOR

The original Samba software and related utilities +

HELP [COMMAND]

Gives usage information for the specified command.

VERSION

This man page is complete for version 3 of the Samba + suite.

AUTHOR

The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.

The net manpage was written by Jelmer Vernooij.

-- cgit v1.2.3