You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Basil James Whitehouse III <ja...@ingenura.com> on 2003/11/18 00:45:53 UTC

digest auth problems with 0.33

Hi all.

I'm in the middle of upgrading from 0.29 to 0.33 (you guys release too 
often for me to keep up =) and I was waiting for the format change to do 
it but it looks like that's been delayed) and am experiencing problems 
with using digest authentication with apache, but only with the command 
line client.

In 0.29 this worked fine for both the CLI and web browser, now it seems 
that only the web browser is successful.   This is using the windows 
build of 0.33, cygwin as the shell, and Debian unstable as the server.  
Here's what the command prompt, and various logs look like.  Let me know 
if there's anything else I can provide to help.  Oh, and please reply to 
this email as well as on list since I'm not subscribed.

command prompt
--------------
(cleared the cached password info before running commands)
$ svn co http://owl/svn/repos/sandboxAuthDigest
Authentication realm: <http://owl:80> Subversion Repository - Digest
Password for 'basil': *****
svn: Read access denied for root of edit
svn: REPORT request failed on 
'/svn/repos/sandboxAuthDigest/!svn/vcc/default'
svn:
Unable to open root of edit.

dav_svn.conf
------------
<Location /svn/repos/sandboxAuthDigest>
  DAV svn
  SVNPath /var/lib/svn/repositories/sandboxAuthDigest
  AuthType Digest
  AuthName "Subversion Repository - Digest"
  AuthDigestDomain /svn/repos/sandboxAuthDigest
  AuthDigestFile /var/lib/svn/digestPassword
  Require valid-user
</Location>

error log
---------
[Mon Nov 17 20:14:52 2003] [notice] Apache/2.0.48 (Debian GNU/Linux) 
DAV/2 SVN/0.33.0 configured -- resuming normal operations
[Mon Nov 17 20:18:53 2003] [error] [client 192.168.0.12] Digest: user 
basil: password mismatch: /svn/repos/sandboxAuthDigest/!svn/ver/1/
[Mon Nov 17 20:18:53 2003] [error] [client 192.168.0.12] A failure 
occurred while driving the update report editor  [500, #220000]
[Mon Nov 17 20:18:53 2003] [error] [client 192.168.0.12] (2)No such file 
or directory: Unable to open root of edit.  [500, #220000]

access log
----------
192.168.0.12 - - [17/Nov/2003:20:18:49 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 401 499 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 207 685 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/vcc/default HTTP/1.1" 207 436 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/bln/1 HTTP/1.1" 207 487 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 207 685 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/vcc/default HTTP/1.1" 207 487 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/bc/1 HTTP/1.1" 207 695 "-" "SVN/0.33.0 
(r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 207 685 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - - [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 401 499 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 207 685 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/vcc/default HTTP/1.1" 207 436 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:52 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest/!svn/bln/1 HTTP/1.1" 207 487 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:53 -0500] "PROPFIND 
/svn/repos/sandboxAuthDigest HTTP/1.1" 207 685 "-" "SVN/0.33.0 (r7737) 
neon/0.24.4"
192.168.0.12 - basil [17/Nov/2003:20:18:53 -0500] "REPORT 
/svn/repos/sandboxAuthDigest/!svn/vcc/default HTTP/1.1" 500 224 "-" 
"SVN/0.33.0 (r7737) neon/0.24.4"

------

web browser
-----------
(cleared the password cache before trying url)
http://owl/svn/repos/sandboxAuthDigest/

error.log
---------
nothing

access log
----------
192.168.0.12 - - [17/Nov/2003:20:16:16 -0500] "GET 
/svn/repos/sandboxAuthDigest/ HTTP/1.1" 401 499 "-" "Mozilla/5.0 
(Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031114 Firebird/0.7+"
192.168.0.12 - basil [17/Nov/2003:20:16:21 -0500] "GET 
/svn/repos/sandboxAuthDigest/ HTTP/1.1" 200 269 "-" "Mozilla/5.0 
(Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031114 Firebird/0.7+"


Thanks for any help,
Jamie.

-- 
Basil James Whitehouse III
Ingenura Inc.
jamie.whitehouse@ingenura.com
PGP Public Key: http://www.ingenura.com/keys/jamie.whitehouse.asc

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: digest auth problems with 0.33

Posted by Ben Collins-Sussman <su...@collab.net>.
On Mon, 2003-11-17 at 18:45, Basil James Whitehouse III wrote:
> Hi all.
> 
> I'm in the middle of upgrading from 0.29 to 0.33 (you guys release too 
> often for me to keep up =) and I was waiting for the format change to do 
> it but it looks like that's been delayed) and am experiencing problems 
> with using digest authentication with apache, but only with the command 
> line client.

Hm, well, it looks like 0.33 broke digest auth somehow, what with the
internal subrequests that mod_dav_svn is now doing.

Basil, would you file this as a new bug?  Just place URLs to your two
emails in the issue, so we can find all your information.

In the meantime, as a workaround, I think you need to switch to
basic-auth.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org