From 91f243f636b2284aca209d398d002e8733982d5f Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 29 Aug 2000 14:31:27 +0000 Subject: added the -A option for allowing the reading of user name and password credentials from a file. Designed for use when needed to passwd credentials between scripts --jerry (This used to be commit d8dde169e729ad5229d2bda8c9f306edb3c1239b) --- docs/manpages/smbclient.1 | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) (limited to 'docs/manpages/smbclient.1') diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1 index 6b3edb38fc..7f01392f18 100644 --- a/docs/manpages/smbclient.1 +++ b/docs/manpages/smbclient.1 @@ -285,6 +285,13 @@ that this may be very insecure on some systems but on others allows users to script smbclient commands without having a password appear in the command line of a process listing\&. .IP +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 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 \fB-A\fP for more details\&. +.IP Note: Some servers (including OS/2 and Windows for Workgroups) insist on an uppercase password\&. Lowercase or mixed case passwords may be rejected by these servers\&. @@ -295,6 +302,19 @@ line of a running process may be seen via the \f(CWps\fP command to be safe always allow smbclient to prompt for a password and type it in directly\&. .IP +.IP "\fB-A \fP" +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 +.IP +\f(CWusername = \fP +.br +\f(CWpassword =