diff -u -r --new-file --exclude .svn --exclude CVS samba-3.4.0pre2//docs/htmldocs/manpages/index.html samba-3.4.0rc1//docs/htmldocs/manpages/index.html --- samba-3.4.0pre2//docs/htmldocs/manpages/index.html 2009-06-02 09:48:18.000000000 +0200 +++ samba-3.4.0rc1//docs/htmldocs/manpages/index.html 2009-06-19 11:13:12.000000000 +0200 @@ -29,7 +29,7 @@
NetBIOS over TCP/IP client used to lookup NetBIOS names
tool to allow external access to Winbind's NTLM authentication function -
PAM module for Winbind +
PAM module for Winbind
manage the SAM database (Database of Samba Users)
A utility to report and change SIDs in registry files diff -u -r --new-file --exclude .svn --exclude CVS samba-3.4.0pre2//docs/htmldocs/manpages/net.8.html samba-3.4.0rc1//docs/htmldocs/manpages/net.8.html --- samba-3.4.0pre2//docs/htmldocs/manpages/net.8.html 2009-06-02 09:46:01.000000000 +0200 +++ samba-3.4.0rc1//docs/htmldocs/manpages/net.8.html 2009-06-19 11:10:54.000000000 +0200 @@ -217,54 +217,60 @@
List the specified set of accounts by name. If verbose is specified, the rid and description is also provided for each account. -
Set the workstations a user account is allowed to log in from. -
Set or unset the "password must change" flag for a user account. -
Set a value for the account policy. Valid values can be: "forever", "never", "off", or a number. -
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. -
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. -
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. -
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.
@@ -293,7 +299,7 @@
| 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. |
-
sharename path [comment] [acl] [guest_ok=[y|n]]+
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. @@ -330,11 +336,11 @@ 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. -
sharenameDeletes 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. -
[-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 @@ -353,7 +359,7 @@ And is a list of the current settings of the user defined share that can be modified by the "net usershare add" command. -
[-l|--long] wildcard sharenameList 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 @@ -361,7 +367,7 @@ 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. -
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.
@@ -379,10 +385,10 @@ format.
-
+
Print the configuration data stored in the registry in a smb.conf-like format to standard output. -
[--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 @@ -392,30 +398,30 @@ 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. -
sharenameShow the definition of the share or section specified. It is valid to specify "global" as sharename to retrieve the global configuration options from registry. -
sharename path [writeable={y|N} [guest_ok={y|N} [comment]]] Create a new share definition in registry. +
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. -
section parameter valueStore a parameter in registry. The section may be global or a sharename. The section is created if it does not exist yet. -
sectionGet 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, @@ -431,13 +437,13 @@ 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. -
Starting with version 3.4.0 net can read, dump, import and export native win32 eventlog files (usually *.evt). evt files are used by the native Windows eventviewer tools.
The import and export of evt files can only succeed when eventlog list is used in
@@ -447,25 +453,25 @@
| net eventlog dump - Dump a eventlog *.evt file on the screen. |
| net eventlog import - Import a eventlog *.evt into the samba internal tdb based representation of eventlogs. |
| net eventlog export - Export the samba internal tdb based representation of eventlogs into an eventlog *.evt file. |
-
filename+
filename eventlog
Imports a eventlog *.evt file defined by filename into the
samba internal tdb representation of eventlog defined by eventlog.
eventlog needs to part of the eventlog list
defined in smb.conf.
See the smb.conf(5) manpage for details.
-
filename eventlog
Exports the samba internal tdb representation of eventlog defined by eventlog
to a eventlog *.evt file defined by filename.
eventlog needs to part of the eventlog list
defined in smb.conf.
See the smb.conf(5) manpage for details.
-
Starting with version 3.2.0 Samba has support for remote join and unjoin APIs, both client and server-side. Windows supports remote join capabilities since Windows 2000.
In order for Samba to be joined or unjoined remotely an account must be used that is either member of the Domain Admins group, a member of the local Administrators group or a user that is granted the SeMachineAccountPrivilege privilege.
The client side support for remote join is implemented in the net dom commands which are:
| net dom join - Join a remote computer into a domain. |
| net dom unjoin - Unjoin a remote computer from a domain. |
| net dom renamecomputer - Renames a remote computer joined to a domain. |
-
domain=DOMAIN ou=OU account=ACCOUNT password=PASSWORD reboot+
domain=DOMAIN ou=OU account=ACCOUNT password=PASSWORD rebootJoins a computer into a domain. This command supports the following additional parameters:
DOMAIN can be a NetBIOS domain name (also known as short domain name) or a DNS domain name for Active Directory Domains. As in Windows, it is also possible to control which Domain Controller to use. This can be achieved by appending the DC name using the \ separator character. Example: MYDOM\MYDC. The DOMAIN parameter cannot be NULL.
OU can be set to a RFC 1779 LDAP DN, like ou=mymachines,cn=Users,dc=example,dc=com in order to create the machine account in a non-default LDAP containter. This optional parameter is only supported when joining Active Directory Domains.
ACCOUNT defines a domain account that will be used to join the machine to the domain. This domain account needs to have sufficient privileges to join machines.
PASSWORD defines the password for the domain account defined with ACCOUNT.
REBOOT is an optional parameter that can be set to reboot the remote machine after successful join to the domain.
Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to join. These additional parameters include: -S computer and -U user. @@ -474,7 +480,7 @@ net dom join -S xp -U XP\\administrator%secret domain=MYDOM account=MYDOM\\administrator password=topsecret reboot.
This example would connect to a computer named XP as the local administrator using password secret, and join the computer into a domain called MYDOM using the MYDOM domain administrator account and password topsecret. After successful join, the computer would reboot. -
account=ACCOUNT password=PASSWORD rebootUnjoins a computer from a domain. This command supports the following additional parameters:
ACCOUNT defines a domain account that will be used to unjoin the machine from the domain. This domain account needs to have sufficient privileges to unjoin machines.
PASSWORD defines the password for the domain account defined with ACCOUNT.
REBOOT is an optional parameter that can be set to reboot the remote machine after successful unjoin from the domain.
Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to unjoin. These additional parameters include: -S computer and -U user. @@ -483,7 +489,7 @@ net dom unjoin -S xp -U XP\\administrator%secret account=MYDOM\\administrator password=topsecret reboot.
This example would connect to a computer named XP as the local administrator using password secret, and unjoin the computer from the domain using the MYDOM domain administrator account and password topsecret. After successful unjoin, the computer would reboot. -
newname=NEWNAME account=ACCOUNT password=PASSWORD rebootRenames a computer that is joined to a domain. This command supports the following additional parameters:
NEWNAME defines the new name of the machine in the domain.
ACCOUNT defines a domain account that will be used to rename the machine in the domain. This domain account needs to have sufficient privileges to rename machines.
PASSWORD defines the password for the domain account defined with ACCOUNT.
REBOOT is an optional parameter that can be set to reboot the remote machine after successful rename in the domain.
Note that you also need to use standard net paramters to connect and authenticate to the remote machine that you want to rename in the domain. These additional parameters include: -S computer and -U user. @@ -492,8 +498,8 @@ net dom renamecomputer -S xp -U XP\\administrator%secret newname=XPNEW account=MYDOM\\administrator password=topsecret reboot.
This example would connect to a computer named XP as the local administrator using password secret, and rename the joined computer to XPNEW using the MYDOM domain administrator account and password topsecret. After successful rename, the computer would reboot. -