summaryrefslogtreecommitdiff
path: root/docs/htmldocs/rpcclient.1.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/rpcclient.1.html')
-rw-r--r--docs/htmldocs/rpcclient.1.html129
1 files changed, 67 insertions, 62 deletions
diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html
index 9ffca61437..3669e19b03 100644
--- a/docs/htmldocs/rpcclient.1.html
+++ b/docs/htmldocs/rpcclient.1.html
@@ -1,10 +1,11 @@
+<!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.57"></HEAD
+CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
@@ -15,8 +16,8 @@ ALINK="#0000FF"
><H1
><A
NAME="RPCCLIENT"
->rpcclient</A
-></H1
+></A
+>rpcclient</H1
><DIV
CLASS="REFNAMEDIV"
><A
@@ -37,7 +38,7 @@ NAME="AEN8"
><B
CLASS="COMMAND"
>rpcclient</B
-> [-A authfile] [-c &#60;command string&#62;] [-d debuglevel] [-h] [-l logfile] [-N] [-s &#60;smb config file&#62;] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P
+> [-A authfile] [-c &lt;command string&gt;] [-d debuglevel] [-h] [-l logfile] [-N] [-s &lt;smb config file&gt;] [-U username[%password]] [-W workgroup] [-N] [-I destinationIP] {server}</P
></DIV
><DIV
CLASS="REFSECT1"
@@ -104,21 +105,12 @@ 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 = &#60;value&#62;
- password = &#60;value&#62;
- domain = &#60;value&#62;
+> username = &lt;value&gt;
+ password = &lt;value&gt;
+ domain = &lt;value&gt;
</PRE
-></TD
-></TR
-></TABLE
></P
><P
>Make certain that the permissions on the file restrict
@@ -187,8 +179,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
@@ -202,19 +194,20 @@ 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
@@ -243,8 +236,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 doesn't
- desire to pass the credentials on the command line or via environment
+ option is mainly provided for scripts where the admin does not
+ wish 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
@@ -287,8 +280,12 @@ NAME="AEN101"
><H2
>COMMANDS</H2
><P
-><EM
->LSARPC</EM
+><SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>LSARPC</I
+></SPAN
></P
><P
></P
@@ -314,7 +311,7 @@ CLASS="COMMAND"
><B
CLASS="COMMAND"
>lookupnames</B
-> - Resolve s list
+> - Resolve a list
of usernames to SIDs.
</P
></LI
@@ -329,8 +326,12 @@ CLASS="COMMAND"
><P
> </P
><P
-><EM
->SAMR</EM
+><SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>SAMR</I
+></SPAN
></P
><P
></P
@@ -395,8 +396,12 @@ CLASS="COMMAND"
><P
> </P
><P
-><EM
->SPOOLSS</EM
+><SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>SPOOLSS</I
+></SPAN
></P
><P
></P
@@ -405,7 +410,7 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->adddriver &#60;arch&#62; &#60;config&#62;</B
+>adddriver &lt;arch&gt; &lt;config&gt;</B
>
- Execute an AddPrinterDriver() RPC to install the printer driver
information on the server. Note that the driver files should
@@ -432,12 +437,6 @@ CLASS="PARAMETER"
> parameter is defined as
follows: </P
><P
-><TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
><PRE
CLASS="PROGRAMLISTING"
> Long Printer Name:\
@@ -449,9 +448,6 @@ 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
@@ -467,8 +463,8 @@ CLASS="PROGRAMLISTING"
><P
><B
CLASS="COMMAND"
->addprinter &#60;printername&#62;
- &#60;sharename&#62; &#60;drivername&#62; &#60;port&#62;</B
+>addprinter &lt;printername&gt;
+ &lt;sharename&gt; &lt;drivername&gt; &lt;port&gt;</B
>
- Add a printer on the remote server. This printer
will be automatically shared. Be aware that the printer driver
@@ -514,9 +510,9 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->enumjobs &#60;printer&#62;</B
+>enumjobs &lt;printer&gt;</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
@@ -556,7 +552,7 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->getdata &#60;printername&#62;</B
+>getdata &lt;printername&gt;</B
>
- Retrieve the data for a given printer setting. See
the <B
@@ -570,7 +566,7 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->getdriver &#60;printername&#62;</B
+>getdriver &lt;printername&gt;</B
>
- Retrieve the printer driver information (such as driver file,
config file, dependent files, etc...) for
@@ -582,10 +578,10 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->getdriverdir &#60;arch&#62;</B
+>getdriverdir &lt;arch&gt;</B
>
- Execute a GetPrinterDriverDirectory()
- RPC to retreive the SMB share name and subdirectory for
+ RPC to retrieve the SMB share name and subdirectory for
storing printer driver files for a given architecture. Possible
values for <TT
CLASS="PARAMETER"
@@ -600,7 +596,7 @@ CLASS="PARAMETER"
><P
><B
CLASS="COMMAND"
->getprinter &#60;printername&#62;</B
+>getprinter &lt;printername&gt;</B
>
- Retrieve the current printer information. This command
corresponds to the GetPrinter() MS Platform SDK function.
@@ -610,7 +606,7 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->openprinter &#60;printername&#62;</B
+>openprinter &lt;printername&gt;</B
>
- Execute an OpenPrinterEx() and ClosePrinter() RPC
against a given printer. </P
@@ -619,11 +615,12 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->setdriver &#60;printername&#62; &#60;drivername&#62;</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 &lt;printername&gt;
+ &lt;drivername&gt;</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"
@@ -637,8 +634,12 @@ CLASS="COMMAND"
></LI
></UL
><P
-><EM
->GENERAL OPTIONS</EM
+><SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>GENERAL OPTIONS</I
+></SPAN
></P
><P
></P
@@ -648,8 +649,8 @@ CLASS="COMMAND"
><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
@@ -691,8 +692,12 @@ CLASS="COMMAND"
><P
>From Luke Leighton's original rpcclient man page:</P
><P
-><EM
->"WARNING!</EM
+><SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>"WARNING!</I
+></SPAN
> 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