summaryrefslogtreecommitdiff
path: root/docs/manpages/net.8
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/net.8')
-rw-r--r--docs/manpages/net.8672
1 files changed, 390 insertions, 282 deletions
diff --git a/docs/manpages/net.8 b/docs/manpages/net.8
index ce864d0d70..d473503792 100644
--- a/docs/manpages/net.8
+++ b/docs/manpages/net.8
@@ -1,441 +1,549 @@
-.\" This manpage has been automatically generated by docbook2man
-.\" from a DocBook document. This tool can be found at:
-.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
-.\" Please send any bug reports, improvements, comments, patches,
-.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "NET" "8" "19 april 2003" "" ""
-
+.\"Generated by db2man.xsl. Don't modify this, modify the source.
+.de Sh \" Subsection
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Ip \" List item
+.br
+.ie \\n(.$>=3 .ne \\$3
+.el .ne 3
+.IP "\\$1" \\$2
+..
+.TH "NET" 8 "" "" ""
.SH NAME
net \- Tool for administration of Samba and remote CIFS servers.
-.SH SYNOPSIS
+.SH "SYNOPSIS"
-\fBnet\fR \fB<ads|rap|rpc>\fR [ \fB-h\fR ] [ \fB-w workgroup\fR ] [ \fB-W myworkgroup\fR ] [ \fB-U user\fR ] [ \fB-I ip-address\fR ] [ \fB-p port\fR ] [ \fB-n myname\fR ] [ \fB-s conffile\fR ] [ \fB-S server\fR ] [ \fB-l\fR ] [ \fB-P\fR ] [ \fB-D debuglevel\fR ]
+.nf
+\fBnet\fR {<ads|rap|rpc>} [-h] [-w workgroup] [-W myworkgroup] [-U user] [-I ip-address]
+ [-p port] [-n myname] [-s conffile] [-S server] [-l] [-P] [-D debuglevel]
+
+.fi
.SH "DESCRIPTION"
+
.PP
-This tool is part of the \fBSamba\fR(7) suite.
+This tool is part of the \fBSamba\fR(7) suite\&.
+
.PP
-The samba net utility is meant to work just like the net utility
-available for windows and DOS. The first argument should be used
-to specify the protocol to use when executing a certain command.
-ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3)
-clients and RPC can be used for NT4 and Windows 2000. If this
-argument is omitted, net will try to determine it automatically.
-Not all commands are available on all protocols.
+The samba net utility is meant to work just like the net utility available for windows and DOS\&. The first argument should be used to specify the protocol to use when executing a certain command\&. ADS is used for ActiveDirectory, RAP is using for old (Win9x/NT3) clients and RPC can be used for NT4 and Windows 2000\&. If this argument is omitted, net will try to determine it automatically\&. Not all commands are available on all protocols\&.
+
.SH "OPTIONS"
+
.TP
-\fB-h|--help\fR
-Print a summary of command line options.
+-h|--help
+Print a summary of command line options\&.
+
+
.TP
-\fB-w target-workgroup\fR
-Sets target workgroup or domain. You have to specify
-either this option or the IP address or the name of a server.
+-w target-workgroup
+Sets target workgroup or domain\&. You have to specify either this option or the IP address or the name of a server\&.
+
+
.TP
-\fB-W workgroup\fR
+-W workgroup
Sets client workgroup or domain
+
+
.TP
-\fB-U user\fR
+-U user
User name to use
+
+
.TP
-\fB-I ip-address\fR
-IP address of target server to use. You have to
-specify either this option or a target workgroup or
-a target server.
+-I ip-address
+IP address of target server to use\&. You have to specify either this option or a target workgroup or a target server\&.
+
+
.TP
-\fB-p port\fR
-Port on the target server to connect to (usually 139 or 445).
-Defaults to trying 445 first, then 139.
+-p port
+Port on the target server to connect to (usually 139 or 445)\&. Defaults to trying 445 first, then 139\&.
+
+
.TP
-\fB-n <primary NetBIOS name>\fR
-This option allows you to override
-the NetBIOS name that Samba uses for itself. This is identical
-to setting the \fINetBIOS
-name\fR parameter in the \fBsmb.conf\fR(5) file. However, a command
-line setting will take precedence over settings in
-\fBsmb.conf\fR(5).
+-n <primary NetBIOS name>
+This option allows you to override the NetBIOS name that Samba uses for itself\&. This is identical to setting the \fINetBIOS name\fR parameter in the \fBsmb.conf\fR(5) file\&. However, a command line setting will take precedence over settings in \fBsmb.conf\fR(5)\&.
+
+
.TP
-\fB-s <configuration file>\fR
-The file specified contains the
-configuration details required by the server. The
-information in this file includes server-specific
-information such as what printcap file to use, as well
-as descriptions of all the services that the server is
-to provide. See \fIsmb.conf(5)\fR for more information.
-The default configuration file name is determined at
-compile time.
+-s <configuration file>
+The file specified contains the configuration details required by the server\&. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is to provide\&. See \fI smb\&.conf(5)\fR for more information\&. The default configuration file name is determined at compile time\&.
+
+
.TP
-\fB-S server\fR
-Name of target server. You should specify either
-this option or a target workgroup or a target IP address.
+-S server
+Name of target server\&. You should specify either this option or a target workgroup or a target IP address\&.
+
+
.TP
-\fB-l\fR
-When listing data, give more information on each item.
+-l
+When listing data, give more information on each item\&.
+
+
.TP
-\fB-P\fR
-Make queries to the external server using the machine account of the local server.
+-P
+Make queries to the external server using the machine account of the local server\&.
+
+
.TP
-\fB-d|--debug=debuglevel\fR
-\fIdebuglevel\fR is an integer
-from 0 to 10. The default value if this parameter is
-not specified is zero.
-
-The higher this value, the more detail will be
-logged to the log files about the activities of the
-server. At level 0, only critical errors and serious
-warnings will be logged. Level 1 is a reasonable level for
-day to day running - it generates a small amount of
-information about operations carried out.
-
-Levels above 1 will generate considerable
-amounts of log data, and should only be used when
-investigating a problem. Levels above 3 are designed for
-use only by developers and generate HUGE amounts of log
-data, most of which is extremely cryptic.
-
-Note that specifying this parameter here will
-override the log
-level file.
+-d|--debug=debuglevel
+\fIdebuglevel\fR is an integer from 0 to 10\&. The default value if this parameter is not specified is zero\&.
+
+
+The higher this value, the more detail will be logged to the log files about the activities of the server\&. At level 0, only critical errors and serious warnings will be logged\&. Level 1 is a reasonable level for day to day running - it generates a small amount of information about operations carried out\&.
+
+
+Levels above 1 will generate considerable amounts of log data, and should only be used when investigating a problem\&. Levels above 3 are designed for use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic\&.
+
+
+Note that specifying this parameter here will override the log level parameter in the \fIsmb\&.conf(5)\fR file\&.
+
+
.SH "COMMANDS"
+
.SS "TIME"
+
.PP
-The \fBNET TIME\fR command allows you to view the time on a remote server
-or synchronise the time on the local server with the time on the remote server.
-.SS "TIME"
+The \fBNET TIME\fR command allows you to view the time on a remote server or synchronise the time on the local server with the time on the remote server\&.
+
.PP
-Without any options, the \fBNET TIME\fR command
-displays the time on the remote server.
-.SS "TIME SYSTEM"
+Without any options, the \fBNET TIME\fR command displays the time on the remote server\&.
+
.PP
Displays the time on the remote server in a format ready for \fB/bin/date\fR
-.SS "TIME SET"
+
.PP
-Tries to set the date and time of the local server to that on
-the remote server using \fB/bin/date\fR.
-.SS "TIME ZONE"
+Tries to set the date and time of the local server to that on the remote server using \fB/bin/date\fR\&.
+
.PP
-Displays the timezone in hours from GMT on the remote computer.
-.SS "[RPC|ADS] JOIN [TYPE] [-U USERNAME[%PASSWORD]] [OPTIONS]"
+Displays the timezone in hours from GMT on the remote computer\&.
+
+.SS "[RPC|ADS] JOIN [TYPE] [-U username[%password]] [options]"
+
.PP
-Join a domain. If the account already exists on the server, and
-[TYPE] is MEMBER, the machine will attempt to join automatically.
-(Assuming that the machine has been created in server manager)
-Otherwise, a password will be prompted for, and a new account may
-be created.
+Join a domain\&. If the account already exists on the server, and [TYPE] is MEMBER, the machine will attempt to join automatically\&. (Assuming that the machine has been created in server manager) Otherwise, a password will be prompted for, and a new account may be created\&.
+
.PP
-[TYPE] may be PDC, BDC or MEMBER to specify the type of server
-joining the domain.
-.SS "[RPC] OLDJOIN [OPTIONS]"
+[TYPE] may be PDC, BDC or MEMBER to specify the type of server joining the domain\&.
+
+.SS "[RPC] OLDJOIN [options]"
+
.PP
-Join a domain. Use the OLDJOIN option to join the domain
-using the old style of domain joining - you need to create a trust
-account in server manager first.
+Join a domain\&. Use the OLDJOIN option to join the domain using the old style of domain joining - you need to create a trust account in server manager first\&.
+
.SS "[RPC|ADS] USER"
-.SS "[RPC|ADS] USER DELETE TARGET"
+
.PP
Delete specified user
-.SS "[RPC|ADS] USER LIST"
+
.PP
List all users
-.SS "[RPC|ADS] USER INFO TARGET"
+
.PP
-List the domain groups of a the specified user.
-.SS "[RPC|ADS] USER ADD NAME [PASSWORD] [-F USER FLAGS] [-C COMMENT]"
+List the domain groups of a the specified user\&.
+
.PP
-Add specified user.
+Add specified user\&.
+
.SS "[RPC|ADS] GROUP"
-.SS "[RPC|ADS] GROUP [MISC OPTIONS] [TARGETS]"
+
.PP
-List user groups.
-.SS "[RPC|ADS] GROUP DELETE NAME [MISC. OPTIONS]"
+List user groups\&.
+
.PP
-Delete specified group.
-.SS "[RPC|ADS] GROUP ADD NAME [-C COMMENT]"
+Delete specified group\&.
+
.PP
-Create specified group.
+Create specified group\&.
+
.SS "[RAP|RPC] SHARE"
-.SS "[RAP|RPC] SHARE [MISC. OPTIONS] [TARGETS]"
+
.PP
-Enumerates all exported resources (network shares) on target server.
-.SS "[RAP|RPC] SHARE ADD NAME=SERVERPATH [-C COMMENT] [-M MAXUSERS] [TARGETS]"
+Enumerates all exported resources (network shares) on target server\&.
+
.PP
-Adds a share from a server (makes the export active). Maxusers
-specifies the number of users that can be connected to the
-share simultaneously.
-.SS "SHARE DELETE SHARENAM"
+Adds a share from a server (makes the export active)\&. Maxusers specifies the number of users that can be connected to the share simultaneously\&.
+
.PP
-Delete specified share.
-.SS "[RPC|RAP] FILE"
+Delete specified share\&.
+
.SS "[RPC|RAP] FILE"
+
.PP
-List all open files on remote server.
-.SS "[RPC|RAP] FILE CLOSE FILEID"
+List all open files on remote server\&.
+
.PP
-Close file with specified \fIfileid\fR on
-remote server.
-.SS "[RPC|RAP] FILE INFO FILEID"
+Close file with specified \fIfileid\fR on remote server\&.
+
.PP
-Print information on specified \fIfileid\fR.
-Currently listed are: file-id, username, locks, path, permissions.
-.SS "[RAP|RPC] FILE USER"
-.sp
+Print information on specified \fIfileid\fR\&. Currently listed are: file-id, username, locks, path, permissions\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
+
.SS "SESSION"
-.SS "RAP SESSION"
+
.PP
-Without any other options, SESSION enumerates all active SMB/CIFS
-sessions on the target server.
-.SS "RAP SESSION DELETE|CLOSE CLIENT_NAME"
+Without any other options, SESSION enumerates all active SMB/CIFS sessions on the target server\&.
+
.PP
-Close the specified sessions.
-.SS "RAP SESSION INFO CLIENT_NAME"
+Close the specified sessions\&.
+
.PP
-Give a list with all the open files in specified session.
+Give a list with all the open files in specified session\&.
+
.SS "RAP SERVER DOMAIN"
+
.PP
-List all servers in specified domain or workgroup. Defaults
-to local domain.
+List all servers in specified domain or workgroup\&. Defaults to local domain\&.
+
.SS "RAP DOMAIN"
+
.PP
-Lists all domains and workgroups visible on the
-current network.
+Lists all domains and workgroups visible on the current network\&.
+
.SS "RAP PRINTQ"
-.SS "RAP PRINTQ LIST QUEUE_NAME"
+
.PP
-Lists the specified print queue and print jobs on the server.
-If the \fIQUEUE_NAME\fR is omitted, all
-queues are listed.
-.SS "RAP PRINTQ DELETE JOBID"
+Lists the specified print queue and print jobs on the server\&. If the \fIQUEUE_NAME\fR is omitted, all queues are listed\&.
+
.PP
-Delete job with specified id.
-.SS "RAP VALIDATE USER [PASSWORD]"
+Delete job with specified id\&.
+
+.SS "RAP VALIDATE user [password]"
+
.PP
-Validate whether the specified user can log in to the
-remote server. If the password is not specified on the commandline, it
-will be prompted.
-.sp
+Validate whether the specified user can log in to the remote server\&. If the password is not specified on the commandline, it will be prompted\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
+
.SS "RAP GROUPMEMBER"
-.SS "RAP GROUPMEMBER LIST GROUP"
+
.PP
-List all members of the specified group.
-.SS "RAP GROUPMEMBER DELETE GROUP USER"
+List all members of the specified group\&.
+
.PP
-Delete member from group.
-.SS "RAP GROUPMEMBER ADD GROUP USER"
+Delete member from group\&.
+
.PP
-Add member to group.
-.SS "RAP ADMIN COMMAND"
+Add member to group\&.
+
+.SS "RAP ADMIN command"
+
.PP
-Execute the specified \fIcommand\fR on
-the remote server. Only works with OS/2 servers.
-.sp
+Execute the specified \fIcommand\fR on the remote server\&. Only works with OS/2 servers\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
+
.SS "RAP SERVICE"
-.SS "RAP SERVICE START NAME [ARGUMENTS...]"
+
.PP
-Start the specified service on the remote server. Not implemented yet.
-.sp
+Start the specified service on the remote server\&. Not implemented yet\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
-.SS "RAP SERVICE STOP"
+
.PP
-Stop the specified service on the remote server.
-.sp
+Stop the specified service on the remote server\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
+
.SS "RAP PASSWORD USER OLDPASS NEWPASS"
+
.PP
-Change password of \fIUSER\fR from \fIOLDPASS\fR to \fINEWPASS\fR.
+Change password of \fIUSER\fR from \fIOLDPASS\fR to \fINEWPASS\fR\&.
+
.SS "LOOKUP"
-.SS "LOOKUP HOST HOSTNAME [TYPE]"
+
.PP
-Lookup the IP address of the given host with the specified type (netbios suffix).
-The type defaults to 0x20 (workstation).
-.SS "LOOKUP LDAP [DOMAIN"
+Lookup the IP address of the given host with the specified type (netbios suffix)\&. The type defaults to 0x20 (workstation)\&.
+
.PP
-Give IP address of LDAP server of specified \fIDOMAIN\fR. Defaults to local domain.
-.SS "LOOKUP KDC [REALM]"
+Give IP address of LDAP server of specified \fIDOMAIN\fR\&. Defaults to local domain\&.
+
.PP
-Give IP address of KDC for the specified \fIREALM\fR.
-Defaults to local realm.
-.SS "LOOKUP DC [DOMAIN]"
+Give IP address of KDC for the specified \fIREALM\fR\&. Defaults to local realm\&.
+
.PP
-Give IP's of Domain Controllers for specified \fIDOMAIN\fR. Defaults to local domain.
-.SS "LOOKUP MASTER DOMAIN"
+Give IP's of Domain Controllers for specified \fI DOMAIN\fR\&. Defaults to local domain\&.
+
.PP
-Give IP of master browser for specified \fIDOMAIN\fR
-or workgroup. Defaults to local domain.
+Give IP of master browser for specified \fIDOMAIN\fR or workgroup\&. Defaults to local domain\&.
+
.SS "CACHE"
+
+.PP
+Samba uses a general caching interface called 'gencache'\&. It can be controlled using 'NET CACHE'\&.
+
+.PP
+All the timeout parameters support the suffixes: s - Secondsm - Minutesh - Hoursd - Daysw - Weeks
+
+.PP
+Add specified key+data to the cache with the given timeout\&.
+
+.PP
+Delete key from the cache\&.
+
+.PP
+Update data of existing cache entry\&.
+
+.PP
+Search for the specified pattern in the cache data\&.
+
+.PP
+List all current items in the cache\&.
+
+.PP
+Remove all the current items from the cache\&.
+
+.SS "GETLOCALSID [DOMAIN]"
+
.PP
-Samba uses a general caching interface called 'gencache'. It
-can be controlled using 'NET CACHE'.
+Print the SID of the specified domain, or if the parameter is omitted, the SID of the domain the local server is in\&.
+
+.SS "SETLOCALSID S-1-5-21-x-y-z"
+
.PP
-All the timeout parameters support the suffixes:
+Sets domain sid for the local server to the specified SID\&.
+
+.SS "GROUPMAP"
+
+.PP
+Manage the mappings between Windows group SIDs and UNIX groups\&. Parameters take the for "parameter=value"\&. Common options include:
+
+.TP 3
+\(bu
+unixgroup - Name of the UNIX group
+
+.TP
+\(bu
+ntgroup - Name of the Windows NT group (must be resolvable to a SID
-s - Seconds
+.TP
+\(bu
+rid - Unsigned 32-bit integer
-m - Minutes
+.TP
+\(bu
+sid - Full SID in the form of "S-1-\&.\&.\&."
-h - Hours
+.TP
+\(bu
+type - Type of the group; either 'domain', 'local', or 'builtin'
-d - Days
+.TP
+\(bu
+comment - Freeform text description of the group
+
+.LP
-w - Weeks
-.SS "CACHE ADD KEY DATA TIME-OUT"
.PP
-Add specified key+data to the cache with the given timeout.
-.SS "CACHE DEL KEY"
+Add a new group mapping entry
+
.PP
-Delete key from the cache.
-.SS "CACHE SET KEY DATA TIME-OUT"
+net groupmap add {rid=int|sid=string} unixgroup=string [type={domain|local|builtin}] [ntgroup=string] [comment=string]
+
.PP
-Update data of existing cache entry.
-.SS "CACHE SEARCH PATTERN"
+Delete a group mapping entry
+
.PP
-Search for the specified pattern in the cache data.
-.SS "CACHE LIST"
+net groupmap delete {ntgroup=string|sid=SID}
+
.PP
-List all current items in the cache.
-.SS "CACHE FLUSH"
+Update en existing group entry
+
.PP
-Remove all the current items from the cache.
-.SS "GETLOCALSID [DOMAIN]"
+net groupmap modify {ntgroup=string|sid=SID} [unixgroup=string] [comment=string] [type={domain|local}
+
.PP
-Print the SID of the specified domain, or if the parameter is
-omitted, the SID of the domain the local server is in.
-.SS "SETLOCALSID S-1-5-21-X-Y-Z"
+List existing group mapping entries
+
.PP
-Sets domain sid for the local server to the specified SID.
+net groupmap list [verbose] [ntgroup=string] [sid=SID]
+
.SS "MAXRID"
+
.PP
-Prints out the highest RID currently in use on the local
-server (by the active 'passdb backend').
+Prints out the highest RID currently in use on the local server (by the active 'passdb backend')\&.
+
.SS "RPC INFO"
+
.PP
-Print information about the domain of the remote server,
-such as domain name, domain sid and number of users and groups.
+Print information about the domain of the remote server, such as domain name, domain sid and number of users and groups\&.
+
.SS "[RPC|ADS] TESTJOIN"
+
.PP
-Check whether participation in a domain is still valid.
+Check whether participation in a domain is still valid\&.
+
.SS "[RPC|ADS] CHANGETRUSTPW"
+
.PP
-Force change of domain trust password.
+Force change of domain trust password\&.
+
.SS "RPC TRUSTDOM"
-.SS "RPC TRUSTDOM ADD DOMAIN"
+
.PP
-Add a interdomain trust account for
-\fIDOMAIN\fR to the remote server.
-.SS "RPC TRUSTDOM DEL DOMAIM"
+Add a interdomain trust account for \fIDOMAIN\fR to the remote server\&.
+
.PP
-Remove interdomain trust account for
-\fIDOMAIN\fR from the remote server.
-.sp
+Remove interdomain trust account for \fIDOMAIN\fR from the remote server\&.
+
.RS
-.B "Note:"
-Currently NOT implemented.
+.Sh "Note"
+
+.PP
+Currently NOT implemented\&.
+
.RE
-.SS "RPC TRUSTDOM ESTABLISH DOMAIN"
+
.PP
-Establish a trust relationship to a trusting domain.
-Interdomain account must already be created on the remote PDC.
-.SS "RPC TRUSTDOM REVOKE DOMAIN"
+Establish a trust relationship to a trusting domain\&. Interdomain account must already be created on the remote PDC\&.
+
.PP
Abandon relationship to trusted domain
-.SS "RPC TRUSTDOM LIST"
+
.PP
-List all current interdomain trust relationships.
+List all current interdomain trust relationships\&.
+
.SS "RPC ABORTSHUTDOWN"
+
.PP
-Abort the shutdown of a remote server.
-.SS "SHUTDOWN [-T TIMEOUT] [-R] [-F] [-C MESSAGE]"
+Abort the shutdown of a remote server\&.
+
+.SS "SHUTDOWN [-t timeout] [-r] [-f] [-C message]"
+
.PP
-Shut down the remote server.
+Shut down the remote server\&.
+
.TP
-\fB-r\fR
-Reboot after shutdown.
+-r
+Reboot after shutdown\&.
+
+
.TP
-\fB-f\fR
-Force shutting down all applications.
+-f
+Force shutting down all applications\&.
+
+
.TP
-\fB-t timeout\fR
-Timeout before system will be shut down. An interactive
-user of the system can use this time to cancel the shutdown.
+-t timeout
+Timeout before system will be shut down\&. An interactive user of the system can use this time to cancel the shutdown\&.
+
+
.TP
-\fB-C message\fR
-Display the specified message on the screen to
-announce the shutdown.
+-C message
+Display the specified message on the screen to announce the shutdown\&.
+
+
.SS "SAMDUMP"
+
.PP
-Print out sam database of remote server. You need
-to run this on either a BDC.
+Print out sam database of remote server\&. You need to run this on either a BDC\&.
+
.SS "VAMPIRE"
+
.PP
-Export users, aliases and groups from remote server to
-local server. Can only be run an a BDC.
+Export users, aliases and groups from remote server to local server\&. Can only be run an a BDC\&.
+
.SS "GETSID"
+
.PP
-Fetch domain SID and store it in the local \fIsecrets.tdb\fR.
+Fetch domain SID and store it in the local \fIsecrets\&.tdb\fR\&.
+
.SS "ADS LEAVE"
+
.PP
-Make the remote host leave the domain it is part of.
+Make the remote host leave the domain it is part of\&.
+
.SS "ADS STATUS"
+
.PP
-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 \fBNET ADS TESTJOIN\fR.
+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 \fBNET ADS TESTJOIN\fR\&.
+
.SS "ADS PRINTER"
-.SS "ADS PRINTER INFO [PRINTER] [SERVER]"
+
.PP
-Lookup info for \fIPRINTER\fR on \fISERVER\fR. The printer name defaults to "*", the
-server name defaults to the local host.
-.SS "ADS PRINTER PUBLISH PRINTER"
+Lookup info for \fIPRINTER\fR on \fISERVER\fR\&. The printer name defaults to "*", the server name defaults to the local host\&.
+
.PP
-Publish specified printer using ADS.
-.SS "ADS PRINTER REMOVE PRINTER"
+Publish specified printer using ADS\&.
+
.PP
-Remove specified printer from ADS directory.
+Remove specified printer from ADS directory\&.
+
.SS "ADS SEARCH EXPRESSION ATTRIBUTES..."
+
.PP
-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.
+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\&.
+
.PP
-Example: \fBnet ads search '(objectCategory=group)' sAMAccountName\fR
-.SS "ADS DN DN (ATTRIBUTES)"
+Example: \fBnet ads search '(objectCategory=group)' sAMAccountName\fR
+
+.SS "ADS DN DN (attributes)"
+
.PP
-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.
+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\&.
+
.PP
Example: \fBnet ads dn 'CN=administrator,CN=Users,DC=my,DC=domain' SAMAccountName\fR
+
.SS "WORKGROUP"
+
.PP
-Print out workgroup name for specified kerberos realm.
+Print out workgroup name for specified kerberos realm\&.
+
.SS "HELP [COMMAND]"
+
.PP
-Gives usage information for the specified command.
+Gives usage information for the specified command\&.
+
.SH "VERSION"
+
.PP
-This man page is incomplete for version 3.0 of the Samba
-suite.
+This man page is complete for version 3\&.0 of the Samba suite\&.
+
.SH "AUTHOR"
+
.PP
-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 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\&.
+
.PP
-The net manpage was written by Jelmer Vernooij.
+The net manpage was written by Jelmer Vernooij\&.
+