From e5ae6d548ff3c11a1be5ce3509da278b09994a34 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 24 Mar 2003 14:14:10 +0000 Subject: Document common arguments with entities (This used to be commit adafcbb9af4a22db0fefb70966564d8591b5baed) --- docs/docbook/manpages/rpcclient.1.sgml | 87 ++-------------------------------- 1 file changed, 4 insertions(+), 83 deletions(-) (limited to 'docs/docbook/manpages/rpcclient.1.sgml') 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 @@ -61,33 +61,12 @@ - - -A|--authfile=filename - 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 - - - -username = <value> -password = <value> -domain = <value> - - - Make certain that the permissions on the file restrict - access from unwanted users. - - - - -c|--command='command string' execute semicolon separated commands (listed below)) - &stdarg.help; - &stdarg.debuglevel; -I IP-address @@ -107,68 +86,10 @@ domain = <value> above. - - - -l|--logfile=logbasename - File name for log/debug files. The extension - '.client' will be appended. The log file is - never removed by the client. - - - - - - - -N|--nopass - instruct rpcclient not to ask - for a password. By default, rpcclient will - prompt for a password. See also the -U - option. - - - - - -s|--conf=smb.conf - Specifies the location of the all-important - smb.conf file. - - - - - - -U|--user=username[%password] - Sets the SMB username or username and password. - - If %password is not specified, the user will be prompted. The - client will first check the USER environment variable, then the - LOGNAME variable and if either exists, the - string is uppercased. If these environmental variables are not - found, the username GUEST is used. - - 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 - -A for more details. - - Be cautious about including passwords in scripts. Also, on - many systems the command line of a running process may be seen - via the ps command. To be safe always allow - rpcclient to prompt for a password and type - it in directly. - - - - -W|--workgroup=domain - 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). - - + &popt.common.samba; + &popt.common.credentials; + &popt.common.connection; + &stdarg.help; -- cgit