View Issue Details

IDProjectCategoryView StatusLast Update
0000718Subversion for OS/2 & eCSBugpublic2021-06-07 13:55
ReporterLewisR Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version1.14.x 
Target Version1.14.x 
Summary0000718: svnsync 1.14.0 (2020-08-24) seems to pass source credentials to local server instance and not to source server
DescriptionAttempting to init a mirror using a destination (mirror) URI for a local repository over the svn:// protocol, I noticed auth failures on the local server side. This is unexpected, because by definition, --source-username and --source-password should be sent to the source (remote server) side.
Steps To Reproduce{0}[j:\] svnsync init --source-username username --source-password pass svn://localhost/svn14-snap-test svn://hawking:3691/svn14-snap-test/
Additional InformationResult:

CLI says:
svnsync: E170001: Authorization failed

local svnserve.log says:

3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test open 2 cap=(edit-pipeline svndiff1 accepts-svndiff2 absent-entries depth mergeinfo log-revprops) / SVN/1.14.0%20(i386-pc-os2-emx) -
3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test rev-prop r0 svn:sync-lock
3352 2020-08-24T17:30:23.558000Z 127.0.0.1 - svn14-snap-test ERR - 0 170001 Authorization failed

Auth should be attempted against the remote (source) server, and not the local (destination) one.

For reference:

initialize (init): usage: svnsync initialize DEST_URL SOURCE_URL

--source-username ARG : connect to source repository with username ARG
--source-password ARG : connect to source repository with password ARG

This may tie in somehow with 0000717 and #713, if the source and destination are somehow being switched.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-08-24 17:46 LewisR New Issue