diff --git a/docs/htmldocs/smbclient.1.html b/docs/htmldocs/smbclient.1.html index 69d29ab07cc..f0a6ced61b6 100644 --- a/docs/htmldocs/smbclient.1.html +++ b/docs/htmldocs/smbclient.1.html @@ -228,6 +228,7 @@ user "fred" with password "secret", you would specify.


-U fred%secret


on the command line. Note that there are no spaces around the percent symbol. +


You can specify a domain name as part of the username by using a username of the form "DOMAIN/user" or "DOMAIN\user".


If you specify the password as part of username then the -N option (suppress password prompt) is assumed.


If you specify the password as a parameter AND as part of username diff --git a/docs/manpages/smbclient.1 b/docs/manpages/smbclient.1 index 7f01392f186..260cb58c73a 100644 --- a/docs/manpages/smbclient.1 +++ b/docs/manpages/smbclient.1 @@ -259,6 +259,9 @@ to set the environment variable to be \f(CWUSER=username%password\fP so that a password is not passed on the command line (where it may be seen by the ps command)\&. .IP +You can specify a domain name as part of the username by using a +username of the form "DOMAIN/user" or "DOMAIN\euser"\&. +.IP If the service you are connecting to requires a password, it can be supplied using the \fB-U\fP option, by appending a percent symbol ("%") then the password to username\&. For example, to attach to a service as diff --git a/docs/yodldocs/smbclient.1.yo b/docs/yodldocs/smbclient.1.yo index 01cc9ee6fc4..8b42f281ff9 100644 --- a/docs/yodldocs/smbclient.1.yo +++ b/docs/yodldocs/smbclient.1.yo @@ -263,14 +263,14 @@ to set the environment variable to be tt(USER=username%password) so that a password is not passed on the command line (where it may be seen by the ps command). +You can specify a domain name as part of the username by using a +username of the form "DOMAIN/user" or "DOMAIN\user". + If the service you are connecting to requires a password, it can be supplied using the link(bf(-U))(minusU) option, by appending a percent symbol ("%") then the password to username. For example, to attach to a service as user tt("fred") with password tt("secret"), you would specify. nl() -You can specify a domain name as part of the username by using a -username of the form "DOMAIN/user" or "DOMAIN\user". - tt(-U fred%secret) nl() on the command line. Note that there are no spaces around the percent