[Pkg-samba-maint] Bug#525859: Bug#525859: smbclient: breaks BackupPC backups of shares with password

Christian Perrier bubulle at debian.org
Mon Apr 27 16:31:06 UTC 2009


Quoting Flavio Stanchina (flavio at stanchina.net):
> FYI:
>
> smbclient 3.3.3-1~bpo50+1 from backports.org (and therefore, I guess,
> 3.3.3 from sid) behaves the same.
>
> The smbclient man page says this about the -N option:
>
>   If a password is specified on the command line and this option is also
>   defined the password on the command line will be silently ingnored and
>   no password will be used.
>
> It said the same in smbclient 3.0.30, but the behavior was clearly
> different: $PASSWD wasn't ignored.

I think that the current behaviour is correct and the former wasn't.

As the manpage says, using "-N" disables any password prompt, which
can be easily expanded to "any mean to provide a password to the
client is ignored".

So, I would say that the former behaviour of samba 3.0 was
inconsistent in some way to what the manpage says and the new one is
more logical.

So, I'm afraid that backuppc should, in some way adapt its way to pass
information to smbclient if it relies on using $PASSWD with "-N".

$

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20090427/bdd35426/attachment-0001.pgp>


More information about the Pkg-samba-maint mailing list