[Bug 1508] New: Using options --modify-window and --password-file cause error in rsync protocol data stream (code 12)

samba-bugs at samba.org samba-bugs at samba.org
Wed Jul 7 21:46:08 GMT 2004


https://bugzilla.samba.org/show_bug.cgi?id=1508

           Summary: Using options --modify-window and --password-file cause
                    error in rsync protocol data stream (code 12)
           Product: rsync
           Version: 2.6.2
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at samba.org
        ReportedBy: al at starfishzone.com
         QAContact: rsync-qa at samba.org


I use rsync on Cygwin and have found a new bug in version 2.6.2 that seems to 
be related to the combination of command line options.

I have 2 test cases and 2 machines.  Test case 1 succeeds on machine A & B
test case 2 fails on machine A (newer rsync) and succeeds on B.

Test Case 1 (both machines ok):
rsync -v --password-file .rsync.secrets t.txt 
backupjudi2 at host.starfishzone.com::judi2/

Test Case 2 (fails on machine B):
rsync -v --modify-window=1 --password-file .rsync.secrets t.txt 
backupjudi2 at host.starfishzone.com::judi2/

Machine A (failing on test 2):
Windows XP Home
CYGWIN_NT-5.1 judi 1.5.10(0.116/4/2) 2004-05-25 22:07 i686 unknown unknown 
Cygwin
rsync  version 2.6.2  protocol version 28

Machine B (both test ok)
Windows XP Home
CYGWIN_NT-5.1 Dell3 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown 
Cygwin
rsync  version 2.5.7  protocol version 26

Error says:
@ERROR: auth failed on module judi2
rsync: connection unexpectedly closed (102 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) 
at /home/lapo/packaging/tmp/rsync-2.6.2/io.c(342)

I have tried to use the
	--rsync-path=/SOME/PATH/rsync-debug 
but this does not go into debug mode nor create a trace file under Cygwin; it 
seems to ignore the option.

Please let me know if this is something I should submit to the Cygwin folk.

WORKAROUND: 
don't use the modify-window option(!)

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list