summaryrefslogtreecommitdiffstats
path: root/docs/docbook/manpages/rpcclient.1.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/docbook/manpages/rpcclient.1.sgml')
-rw-r--r--docs/docbook/manpages/rpcclient.1.sgml73
1 files changed, 26 insertions, 47 deletions
diff --git a/docs/docbook/manpages/rpcclient.1.sgml b/docs/docbook/manpages/rpcclient.1.sgml
index 7a7a19c837b..773455fb2bf 100644
--- a/docs/docbook/manpages/rpcclient.1.sgml
+++ b/docs/docbook/manpages/rpcclient.1.sgml
@@ -26,7 +26,6 @@
<arg choice="opt">-U username[%password]</arg>
<arg choice="opt">-W workgroup</arg>
<arg choice="opt">-N</arg>
- <arg choice="opt">-I destinationIP</arg>
<arg choice="req">server</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -60,8 +59,7 @@
<varlistentry>
- <term>-A|--authfile=filename</term>
- <listitem><para>This option allows
+ <term>-A filename</term><listitem><para>This option allows
you to specify a file from which to read the username and
password used in the connection. The format of the file is
</para>
@@ -79,7 +77,7 @@
<varlistentry>
- <term>-c|--command='command string'</term>
+ <term>-c 'command string'</term>
<listitem><para>execute semicolon separated commands (listed
below)) </para></listitem>
</varlistentry>
@@ -88,7 +86,7 @@
<varlistentry>
- <term>-d|--debug=debuglevel</term>
+ <term>-d debuglevel</term>
<listitem><para>set the debuglevel. Debug level 0 is the lowest
and 100 being the highest. This should be set to 100 if you are
planning on submitting a bug report to the Samba team (see <filename>BUGS.txt</filename>).
@@ -99,60 +97,42 @@
<varlistentry>
- <term>-h|--help</term>
+ <term>-h</term>
<listitem><para>Print a summary of command line options.
</para></listitem>
</varlistentry>
- <varlistentry>
- <term>-I IP-address</term>
- <listitem><para><replaceable>IP address</replaceable> is the address of the server to connect to.
- It should be specified in standard "a.b.c.d" notation. </para>
-
- <para>Normally the client would attempt to locate a named
- SMB/CIFS server by looking it up via the NetBIOS name resolution
- mechanism described above in the <parameter>name resolve order</parameter>
- parameter above. Using this parameter will force the client
- to assume that the server is on the machine with the specified IP
- address and the NetBIOS name component of the resource being
- connected to will be ignored. </para>
-
- <para>There is no default for this parameter. If not supplied,
- it will be determined automatically by the client as described
- above. </para></listitem>
- </varlistentry>
<varlistentry>
- <term>-l|--logfile=logbasename</term>
+ <term>-l logbasename</term>
<listitem><para>File name for log/debug files. The extension
- <constant>'.client'</constant> will be appended. The log file is
- never removed by the client.
+ <constant>'.client'</constant> will be appended. The log file is never removed
+ by the client.
</para></listitem>
</varlistentry>
<varlistentry>
- <term>-N|--nopass</term>
+ <term>-N</term>
<listitem><para>instruct <command>rpcclient</command> not to ask
- for a password. By default, <command>rpcclient</command> will
- prompt for a password. See also the <parameter>-U</parameter>
- option.</para></listitem>
+ for a password. By default, <command>rpcclient</command> will prompt
+ for a password. See also the <parameter>-U</parameter> option.</para></listitem>
</varlistentry>
<varlistentry>
- <term>-s|--conf=smb.conf</term>
- <listitem><para>Specifies the location of the all-important
+ <term>-s smb.conf</term>
+ <listitem><para>Specifies the location of the all important
<filename>smb.conf</filename> file. </para></listitem>
</varlistentry>
<varlistentry>
- <term>-U|--user=username[%password]</term>
+ <term>-U username[%password]</term>
<listitem><para>Sets the SMB username or username and password. </para>
<para>If %password is not specified, the user will be prompted. The
@@ -163,8 +143,8 @@
<para>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
<parameter>-A</parameter> for more details. </para>
@@ -180,7 +160,7 @@
<varlistentry>
- <term>-W|--workgroup=domain</term>
+ <term>-W domain</term>
<listitem><para>Set the SMB domain of the username. This
overrides the default domain which is the domain defined in
smb.conf. If the domain specified is the same as the server's NetBIOS name,
@@ -204,7 +184,7 @@
of SIDs to usernames.
</para></listitem>
- <listitem><para><command>lookupnames</command> - Resolve a list
+ <listitem><para><command>lookupnames</command> - Resolve s list
of usernames to SIDs.
</para></listitem>
@@ -291,7 +271,7 @@
<listitem><para><command>enumjobs &lt;printer&gt;</command>
- - 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).</para></listitem>
@@ -340,7 +320,7 @@
<listitem><para><command>getdriverdir &lt;arch&gt;</command>
- 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 <parameter>arch</parameter> are "Windows 4.0"
(for Windows 95/98), "Windows NT x86", "Windows NT PowerPC", "Windows
@@ -360,11 +340,10 @@
against a given printer. </para></listitem>
- <listitem><para><command>setdriver &lt;printername&gt;
- &lt;drivername&gt;</command>
- - 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. </para>
+ <listitem><para><command>setdriver &lt;printername&gt; &lt;drivername&gt;</command>
+ - 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. </para>
<para>See also the <command>enumprinters</command> and
<command>enumdrivers</command> commands for obtaining a list of
@@ -376,8 +355,8 @@
<para><emphasis>GENERAL OPTIONS</emphasis></para>
<itemizedlist>
- <listitem><para><command>debuglevel</command> - Set the current
- debug level used to log information.</para></listitem>
+ <listitem><para><command>debuglevel</command> - Set the current debug level
+ used to log information.</para></listitem>
<listitem><para><command>help (?)</command> - Print a listing of all
known commands or extended help on a particular command.
@@ -420,7 +399,7 @@
<refsect1>
<title>VERSION</title>
- <para>This man page is correct for version 3.0 of the Samba
+ <para>This man page is correct for version 2.2 of the Samba
suite.</para>
</refsect1>