[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Svn 1.6.x windows vista password cache regression

From: <dave_rodgman_at_fastmail.co.uk>
Date: Tue, 02 Jun 2009 12:05:13 +0100

As of Windows Vista, the collab-net svn 1.6.1 or 1.6.2 client binary is
no longer able to read authentication previously cached from directories
which have been created by *unix* versions of svn (i.e. Plain-text
password caching).

The same binaries work fine on older versions windows (e.g. XP all SPs,
and Win2003 server).

Steps to reproduce.

1) On a unix with some svn >= 1.2 cache password with

svn --config-dir <some-cross-mounted-dir> ls <some-server>

(should ask for name and password)

2) Repeating above with --non-interactive and --no-auth-cache should
work without asking for password.

svn --non-interactive --no-auth-cache --config-dir
<some-cross-mounted-dir> ls <some-server>

3) Then the following will work on all windows with svn < 1.6 and all
windows EXCEPT vista with svn >= 1.6

svn --non-interactive --no-auth-cache --config-dir
<windows-path-to-config> ls <same-server>

On windows vista and svn >= 1.6 the following error message is produced:

svn: Error running context: The wrong diskette is in the drive. Insert
%2 (Volume Serial Number: %3) into drive %1.

The svn binary works fine if it has cached (using windows encryption)
the password to the directory itself. Of course, then unix cannot read
the password.

regards

Dave

-- 
  
  dave_rodgman_at_fastmail.co.uk
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2358751
Received on 2009-06-02 17:05:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.