The Samba-Bugzilla – Bug 1877
Auth failed using options --password-file with particular password
Last modified: 2005-03-16 16:48:11 UTC
If I use a particular password, stored in a password-file then I get a "auth
failed" error message.
This password fails
this one is ok
Server: FreeBSD5, rsync version 2.6.2 protocol version 28
Windows XP Home
CYGWIN_NT-5.1 judi 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown
rsync version 2.6.2 protocol version 28
(Cygwin installer said 2.6.2-3)
The command was:
rsync -rRtvz \
--password-file /home/Judi/.rsync.secrets \
This issue is similar to the one I reported here in bug 1508.
Weirdly this password worked fine for a few months then someone his the "install
service pack 2" on WinXP and then it stopped. But the odd thing is changing the
password fixed the issue; and yes I have retried the old password and the
operations breaks again.
Please let me know if this is something I should submit to the Cygwin folk.
WORKAROUND: use simple passwords?
I am unable to duplicate this using 2.6.3. One possible reason for the failure
in 2.6.2 is that rsync would fail to read a line in the secrets or password file
if the file did not end in a newline.