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

win32 exception on svn lock with https

From: Richard Cockerill <richard_cockerill_at_hotmail.com>
Date: 2006-12-20 05:55:08 CET

I am running svn 1.4.2 (Collabnet build) on Windows XP Professional
with a repository hosted in Apache 2.0.55 (running on the same box
for testing).
An unhandled win32 execption occurs (in the client) when I use svn
lock (see recipe
below) to lock a file from a repository with an https url. The
working copy requires svn cleanup after the failue.

Any assistance would be greatly appreciated.

regards

Richard Cockerill

Please note:
     The problem does NOT occur if I use http in place of https.

     The problem does NOT occur with subversion 1.4.2 client on OS X
     connecting to the same repository as above.

     The problem does NOT occur in subversion 1.3 (Collanet build).

     The problem does occur in subversion 1.4.0, 1.4.1, and
     1.4.2 (Collabnet builds).

     The problem does occur in TortoiseSVN 1.4.1, Build 7992 - 32 Bit
     , 2006/11/11 09:34:39.

The recipe to create the problem is as follows (Note that
C:\SubversionTestRepositories is the SVNParentPath of the apache
config):

svnadmin create C:\SubversionTestRepositories\LockTest
mkdir LockTest
svn checkout https://localhost/svn/LockTest LockTest
cd LockTest
echo foobar > foobar.txt
svn add foobar.txt
svn commit -m "adding foobar"
svn lock foobar.txt

svn --version
svn, version 1.4.2 (r22196)
    compiled Nov 3 2006, 16:53:07

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://
www.Collab.Net/).

The Apache config is (an excerpt from httpd.conf):

<Location /svn/>
    DAV svn

    # Enable compression for both directions
    SetOutputFilter DEFLATE
    SetInputFilter DEFLATE

    # Allow access to any repository in this directory.
    SVNParentPath c:\SubversionTestRepositories

    # Allow repositories to be listed on the base url.
    SVNListParentPath on

    AuthType SSPI
    AuthName "Subversion repositories"

    # Turn on sspi to integrate with the windows domain.
    SSPIAuth On

    # Make this the only authentication protocol allowed.
    SSPIAuthoritative On

    # The domain name to use for authentication.
    SSPIDomain xvt.com.au

    # Allow basic authentication for browsers that don't understand NTLM
    SSPIOfferBasic On

    # Force usernames to lowercase before comparison.
    SSPIUsernameCase lower

    # Insist on an authenticated user.
    Require valid-user

    # Control access with the following access file
    AuthzSVNAccessFile C:\LocalWorking\SubversionInstallation\access.txt
</Location>

Listen 443

SSLMutex default
SSLRandomSeed startup builtin
SSLSessionCache shm:logs/ssl_gcache_data(512000)
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM

# Turn on ssl on the default port
<VirtualHost *:443>
    SSLEngine On
    SSLCertificateFile conf/ssl.crt/server.crt
    SSLCertificateKeyFile conf/ssl.crt/server.key
</VirtualHost>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 20 05:55:56 2006

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.