diff options
Diffstat (limited to 'docs/docbook/manpages/rpcclient.1.sgml')
-rw-r--r-- | docs/docbook/manpages/rpcclient.1.sgml | 87 |
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 = <value> -password = <value> -domain = <value> -</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 = <value> 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> |