diff options
Diffstat (limited to 'docs/htmldocs/rpcclient.1.html')
-rw-r--r-- | docs/htmldocs/rpcclient.1.html | 129 |
1 files changed, 62 insertions, 67 deletions
diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html index 3669e19b03..9ffca61437 100644 --- a/docs/htmldocs/rpcclient.1.html +++ b/docs/htmldocs/rpcclient.1.html @@ -1,11 +1,10 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >rpcclient</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD +CONTENT="Modular DocBook HTML Stylesheet Version 1.57"></HEAD ><BODY CLASS="REFENTRY" BGCOLOR="#FFFFFF" @@ -16,8 +15,8 @@ ALINK="#0000FF" ><H1 ><A NAME="RPCCLIENT" -></A ->rpcclient</H1 +>rpcclient</A +></H1 ><DIV CLASS="REFNAMEDIV" ><A @@ -38,7 +37,7 @@ NAME="AEN8" ><B CLASS="COMMAND" >rpcclient</B -> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P +> [-A authfile] [-c <command string>] [-d debuglevel] [-h] [-l logfile] [-N] [-s <smb config file>] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P ></DIV ><DIV CLASS="REFSECT1" @@ -105,12 +104,21 @@ CLASS="FILENAME" password used in the connection. The format of the file is </P ><P +><TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="90%" +><TR +><TD ><PRE CLASS="PROGRAMLISTING" -> username = <value> - password = <value> - domain = <value> +> username = <value> + password = <value> + domain = <value> </PRE +></TD +></TR +></TABLE ></P ><P >Make certain that the permissions on the file restrict @@ -179,8 +187,8 @@ CLASS="PARAMETER" <TT CLASS="CONSTANT" >'.client'</TT -> will be appended. The log file is - never removed by the client. +> will be appended. The log file is never removed + by the client. </P ></DD ><DT @@ -194,20 +202,19 @@ CLASS="COMMAND" for a password. By default, <B CLASS="COMMAND" >rpcclient</B -> will - prompt for a password. See also the <TT +> will prompt + for a password. See also the <TT CLASS="PARAMETER" ><I >-U</I ></TT -> - option.</P +> option.</P ></DD ><DT >-s|--conf=smb.conf</DT ><DD ><P ->Specifies the location of the all-important +>Specifies the location of the all important <TT CLASS="FILENAME" >smb.conf</TT @@ -236,8 +243,8 @@ CLASS="CONSTANT" ><P >A third option is to use a credentials file which contains the plaintext of the username and password. This - option is mainly provided for scripts where the admin does not - wish to pass the credentials on the command line or via environment + option is mainly provided for scripts where the admin doesn't + desire to pass the credentials on the command line or via environment variables. If this method is used, make certain that the permissions on the file restrict access from unwanted users. See the <TT @@ -280,12 +287,8 @@ NAME="AEN101" ><H2 >COMMANDS</H2 ><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->LSARPC</I -></SPAN +><EM +>LSARPC</EM ></P ><P ></P @@ -311,7 +314,7 @@ CLASS="COMMAND" ><B CLASS="COMMAND" >lookupnames</B -> - Resolve a list +> - Resolve s list of usernames to SIDs. </P ></LI @@ -326,12 +329,8 @@ CLASS="COMMAND" ><P > </P ><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->SAMR</I -></SPAN +><EM +>SAMR</EM ></P ><P ></P @@ -396,12 +395,8 @@ CLASS="COMMAND" ><P > </P ><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->SPOOLSS</I -></SPAN +><EM +>SPOOLSS</EM ></P ><P ></P @@ -410,7 +405,7 @@ CLASS="EMPHASIS" ><P ><B CLASS="COMMAND" ->adddriver <arch> <config></B +>adddriver <arch> <config></B > - Execute an AddPrinterDriver() RPC to install the printer driver information on the server. Note that the driver files should @@ -437,6 +432,12 @@ CLASS="PARAMETER" > parameter is defined as follows: </P ><P +><TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="90%" +><TR +><TD ><PRE CLASS="PROGRAMLISTING" > Long Printer Name:\ @@ -448,6 +449,9 @@ CLASS="PROGRAMLISTING" Default Data Type:\ Comma Separated list of Files </PRE +></TD +></TR +></TABLE ></P ><P >Any empty fields should be enter as the string "NULL". </P @@ -463,8 +467,8 @@ CLASS="PROGRAMLISTING" ><P ><B CLASS="COMMAND" ->addprinter <printername> - <sharename> <drivername> <port></B +>addprinter <printername> + <sharename> <drivername> <port></B > - Add a printer on the remote server. This printer will be automatically shared. Be aware that the printer driver @@ -510,9 +514,9 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->enumjobs <printer></B +>enumjobs <printer></B > - - List the jobs and status of a given printer. + - List the jobs and status of a given printer. This command corresponds to the MS Platform SDK EnumJobs() function (* This command is currently unimplemented).</P ></LI @@ -552,7 +556,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdata <printername></B +>getdata <printername></B > - Retrieve the data for a given printer setting. See the <B @@ -566,7 +570,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriver <printername></B +>getdriver <printername></B > - Retrieve the printer driver information (such as driver file, config file, dependent files, etc...) for @@ -578,10 +582,10 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->getdriverdir <arch></B +>getdriverdir <arch></B > - Execute a GetPrinterDriverDirectory() - RPC to retrieve the SMB share name and subdirectory for + RPC to retreive the SMB share name and subdirectory for storing printer driver files for a given architecture. Possible values for <TT CLASS="PARAMETER" @@ -596,7 +600,7 @@ CLASS="PARAMETER" ><P ><B CLASS="COMMAND" ->getprinter <printername></B +>getprinter <printername></B > - Retrieve the current printer information. This command corresponds to the GetPrinter() MS Platform SDK function. @@ -606,7 +610,7 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->openprinter <printername></B +>openprinter <printername></B > - Execute an OpenPrinterEx() and ClosePrinter() RPC against a given printer. </P @@ -615,12 +619,11 @@ CLASS="COMMAND" ><P ><B CLASS="COMMAND" ->setdriver <printername> - <drivername></B -> - - Execute a SetPrinter() command to update the printer driver - associated with an installed printer. The printer driver must - already be correctly installed on the print server. </P +>setdriver <printername> <drivername></B +> + - Execute a SetPrinter() command to update the printer driver associated + with an installed printer. The printer driver must already be correctly + installed on the print server. </P ><P >See also the <B CLASS="COMMAND" @@ -634,12 +637,8 @@ CLASS="COMMAND" ></LI ></UL ><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->GENERAL OPTIONS</I -></SPAN +><EM +>GENERAL OPTIONS</EM ></P ><P ></P @@ -649,8 +648,8 @@ CLASS="EMPHASIS" ><B CLASS="COMMAND" >debuglevel</B -> - Set the current - debug level used to log information.</P +> - Set the current debug level + used to log information.</P ></LI ><LI ><P @@ -692,12 +691,8 @@ CLASS="COMMAND" ><P >From Luke Leighton's original rpcclient man page:</P ><P -><SPAN -CLASS="emphasis" -><I -CLASS="EMPHASIS" ->"WARNING!</I -></SPAN +><EM +>"WARNING!</EM > The MSRPC over SMB code has been developed from examining Network traces. No documentation is available from the original creators (Microsoft) on how MSRPC over |