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

           Summary: 3.0.2 client won't cooperate with 2.6.9 server
           Product: rsync
           Version: 3.0.2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P3
         Component: core
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


Server: rsync  version 2.6.9  protocol version 29
Client: rsync  version 3.0.2  protocol version 30

Command line:
=============
rsync -aiHOvvvvvvvv --no-implied-dirs -e ssh --filter '+ files/**/.htaccess'
--filter '+ */' --filter '- files/**' --delete-after --max-delete 8
/home/abc/def/www/_ghi/ [EMAIL PROTECTED]:/home/abc12345/public_html

Before update of client (mirror source) from 2.6.9 to 3.0.2:
============================================================
cmd[0]=ssh cmd[1]=-l cmd[2]=abc12345 cmd[3]=homepages.xyz.de cmd[4]=rsync
cmd[5]=--server cmd[6]=-vvvvvlOHogDtpr cmd[7]=--log-format=%i
cmd[8]=--max-delete=8 cmd[9]=--delete cmd[10]=--delete-after cmd[11]=.
cmd[12]=/home/abc12345/public_html 
opening connection using ssh -l abc12345 homepages.xyz.de rsync --server
-vvvvvlOHogDtpr "--log-format=%i" --max-delete=8 --delete --delete-after .
/home/abc12345/public_html

(Client) Protocol versions: remote=29, negotiated=29

After update of client:
=======================
cmd[0]=ssh cmd[1]=-l cmd[2]=abc12345 cmd[3]=homepages.xyz.de cmd[4]=rsync
cmd[5]=--server cmd[6]=-vvvvvvvvlOHogDtpre.i cmd[7]=--log-format=%i
cmd[8]=--max-delete=8 cmd[9]=--delete-after cmd[10]=.
cmd[11]=/home/hg14363/public_html 
opening connection using: ssh -l abc12345 homepages.xyz.de rsync --server
-vvvvvvvvlOHogDtpre.i "--log-format=%i" --max-delete=8 --delete-after .
/home/abc12345/public_html 
note: iconv_open("ISO-8859-15", "ISO-8859-15") succeeded.

insecure -e option not allowed.
This account is restricted by rssh.
Allowed commands: scp sftp rsync

If you believe this is in error, please contact your system administrator.

rsync: connection unexpectedly closed (0 bytes received so far) [sender]

===============================================================================
Apparently the 2.6.9 server gets confused by the "e." option in cmd[6]. After
commenting out addition of "e." in options.c:server_options() everythings works
as before.


-- 
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.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to