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.html131
1 files changed, 89 insertions, 42 deletions
diff --git a/docs/htmldocs/rpcclient.1.html b/docs/htmldocs/rpcclient.1.html
index e6953122c4..e695663c8a 100644
--- a/docs/htmldocs/rpcclient.1.html
+++ b/docs/htmldocs/rpcclient.1.html
@@ -1,12 +1,11 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<!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.76b+
-"></HEAD
+CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
@@ -16,7 +15,9 @@ VLINK="#840084"
ALINK="#0000FF"
><H1
><A
-NAME="RPCCLIENT">rpcclient</H1
+NAME="RPCCLIENT"
+></A
+>rpcclient</H1
><DIV
CLASS="REFNAMEDIV"
><A
@@ -29,13 +30,15 @@ NAME="AEN5"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN8"><H2
+NAME="AEN8"
+></A
+><H2
>Synopsis</H2
><P
><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"
@@ -102,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
@@ -130,6 +124,53 @@ CLASS="PROGRAMLISTING"
below)) </P
></DD
><DT
+>-d|--debug=debuglevel</DT
+><DD
+><P
+><TT
+CLASS="REPLACEABLE"
+><I
+>debuglevel</I
+></TT
+> is an integer
+from 0 to 10. The default value if this parameter is
+not specified is zero.</P
+><P
+>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.</P
+><P
+>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.</P
+><P
+>Note that specifying this parameter here will
+override the <A
+HREF="smb.conf.5.html#loglevel"
+TARGET="_top"
+>log
+level</A
+> parameter in the <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+><TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
+></A
+> file.</P
+></DD
+><DT
+>-h|--help</DT
+><DD
+><P
+>Print a summary of command line options.</P
+></DD
+><DT
>-I IP-address</DT
><DD
><P
@@ -262,14 +303,17 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN92"
+NAME="AEN107"
></A
><H2
>COMMANDS</H2
><P
+><SPAN
+CLASS="emphasis"
><I
CLASS="EMPHASIS"
>LSARPC</I
+></SPAN
></P
><P
></P
@@ -310,9 +354,12 @@ CLASS="COMMAND"
><P
> </P
><P
+><SPAN
+CLASS="emphasis"
><I
CLASS="EMPHASIS"
>SAMR</I
+></SPAN
></P
><P
></P
@@ -377,9 +424,12 @@ CLASS="COMMAND"
><P
> </P
><P
+><SPAN
+CLASS="emphasis"
><I
CLASS="EMPHASIS"
>SPOOLSS</I
+></SPAN
></P
><P
></P
@@ -388,7 +438,7 @@ CLASS="EMPHASIS"
><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
@@ -415,12 +465,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:\
@@ -432,9 +476,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
@@ -450,8 +491,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
@@ -497,7 +538,7 @@ 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.
This command corresponds to the MS Platform SDK EnumJobs()
@@ -539,7 +580,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
@@ -553,7 +594,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
@@ -565,7 +606,7 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->getdriverdir &#60;arch&#62;</B
+>getdriverdir &lt;arch&gt;</B
>
- Execute a GetPrinterDriverDirectory()
RPC to retrieve the SMB share name and subdirectory for
@@ -583,7 +624,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.
@@ -593,7 +634,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
@@ -602,8 +643,8 @@ CLASS="COMMAND"
><P
><B
CLASS="COMMAND"
->setdriver &#60;printername&#62;
- &#60;drivername&#62;</B
+>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
@@ -621,9 +662,12 @@ CLASS="COMMAND"
></LI
></UL
><P
+><SPAN
+CLASS="emphasis"
><I
CLASS="EMPHASIS"
>GENERAL OPTIONS</I
+></SPAN
></P
><P
></P
@@ -661,7 +705,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN212"
+NAME="AEN227"
></A
><H2
>BUGS</H2
@@ -676,9 +720,12 @@ CLASS="COMMAND"
><P
>From Luke Leighton's original rpcclient man page:</P
><P
+><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
@@ -703,7 +750,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN222"
+NAME="AEN237"
></A
><H2
>VERSION</H2
@@ -714,7 +761,7 @@ NAME="AEN222"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN225"
+NAME="AEN240"
></A
><H2
>AUTHOR</H2