PROPOSAL: remove non -U password argument option from smbclient
John H Terpstra
jht at samba.org
Wed Jul 30 04:08:04 GMT 2003
On Wed, 30 Jul 2003, Tim Potter wrote:
> While looking at a bug in the smbclient tar option I discovered
> a weird fact about smbclient. The synopsis from the manual page is:
>
> smbclient servicename [ password ] [ other args...]
>
> If there is a non-option argument after the service name it will be
> treated as a password. Does anyone want to keep this behaviour?
> There's a bug at the moment where the password must be specified as
> the second argument and the one specified with -U doesn't work.
>
> I think we should stick with the standard ways of specifying usernames
> and passwords (-U user%pass, $USER environment variable) rather than
> having special behaviour for smbclient. It could break existing
> scripts though.
Right on Tim! -U user%pass is my vote!
- John T.
--
John H Terpstra
Email: jht at samba.org
More information about the samba-technical
mailing list