summaryrefslogtreecommitdiff
path: root/docs/docbook/manpages/rpcclient.1.sgml
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-24 14:14:10 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-24 14:14:10 +0000
commite5ae6d548ff3c11a1be5ce3509da278b09994a34 (patch)
treea029925c7ca8a04c269beb6e73c2d9afd7d7170d /docs/docbook/manpages/rpcclient.1.sgml
parent9ae249c6f10d3d548a6f1f19b34acf27e237f638 (diff)
downloadsamba-e5ae6d548ff3c11a1be5ce3509da278b09994a34.tar.gz
samba-e5ae6d548ff3c11a1be5ce3509da278b09994a34.tar.bz2
samba-e5ae6d548ff3c11a1be5ce3509da278b09994a34.zip
Document common arguments with entities
(This used to be commit adafcbb9af4a22db0fefb70966564d8591b5baed)
Diffstat (limited to 'docs/docbook/manpages/rpcclient.1.sgml')
-rw-r--r--docs/docbook/manpages/rpcclient.1.sgml87
1 files changed, 4 insertions, 83 deletions
diff --git a/docs/docbook/manpages/rpcclient.1.sgml b/docs/docbook/manpages/rpcclient.1.sgml
index 933938d438..225bb064ff 100644
--- a/docs/docbook/manpages/rpcclient.1.sgml
+++ b/docs/docbook/manpages/rpcclient.1.sgml
@@ -62,32 +62,11 @@
<varlistentry>
- <term>-A|--authfile=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>
-
-<para><programlisting>
-username = &lt;value&gt;
-password = &lt;value&gt;
-domain = &lt;value&gt;
-</programlisting></para>
-
- <para>Make certain that the permissions on the file restrict
- access from unwanted users. </para></listitem>
- </varlistentry>
-
-
-
- <varlistentry>
<term>-c|--command='command string'</term>
<listitem><para>execute semicolon separated commands (listed
below)) </para></listitem>
</varlistentry>
- &stdarg.help;
- &stdarg.debuglevel;
<varlistentry>
<term>-I IP-address</term>
@@ -107,68 +86,10 @@ domain = &lt;value&gt;
above. </para></listitem>
</varlistentry>
-
- <varlistentry>
- <term>-l|--logfile=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.
- </para></listitem>
- </varlistentry>
-
-
-
- <varlistentry>
- <term>-N|--nopass</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>
- </varlistentry>
-
-
- <varlistentry>
- <term>-s|--conf=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>
- <listitem><para>Sets the SMB username or username and password. </para>
-
- <para>If %password is not specified, the user will be prompted. The
- client will first check the <envar>USER</envar> environment variable, then the
- <envar>LOGNAME</envar> variable and if either exists, the
- string is uppercased. If these environmental variables are not
- found, the username <constant>GUEST</constant> is used. </para>
-
- <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
- 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>
-
- <para>Be cautious about including passwords in scripts. Also, on
- many systems the command line of a running process may be seen
- via the <command>ps</command> command. To be safe always allow
- <command>rpcclient</command> to prompt for a password and type
- it in directly. </para></listitem>
- </varlistentry>
-
- <varlistentry>
- <term>-W|--workgroup=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,
- it causes the client to log on using the server's local SAM (as
- opposed to the Domain SAM). </para></listitem>
- </varlistentry>
-
+ &popt.common.samba;
+ &popt.common.credentials;
+ &popt.common.connection;
+ &stdarg.help;
</variablelist>
</refsect1>