Bug 1877 - Auth failed using options --password-file with particular password
Summary: Auth failed using options --password-file with particular password
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 2.6.2
Hardware: Other Windows XP
: P3 minor (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2004-10-06 16:05 UTC by Andrew Liles
Modified: 2005-03-16 16:48 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Liles 2004-10-06 16:05:53 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 \
	--delete \
	--password-file /home/Judi/.rsync.secrets \
	/C/data \

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?
Comment 1 Wayne Davison 2005-01-10 13:10:02 UTC
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.