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

Using mod_auth_radius with Subversion

From: Xandy Johnson <xandy_at_fgm.com>
Date: 2004-03-05 04:51:16 CET

I'm attempting to use mod_auth_radius
<http://www.freeradius.org/mod_auth_radius/> with Subversion 1.0. I've
verified that mod_auth_radius is working by securing a regular directory
(i.e. not a Subversion repository). I've verified that Subversion works by
removing the Auth* and "require valid-user" directives from the
configuration below. However, attempting to use them both together, I get
the following:

broncos:~/src: svn list http://broncos.fgm.com/svn/junk
Authentication realm: <http://broncos.fgm.com:80> RADIUS authentication for
FGM_MAIN
Password for 'xandy':
subversion/libsvn_ra_dav/util.c:661: (apr_err=175002)
svn: PROPFIND request failed on '/'
subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
svn: PROPFIND of '/': 405 Method Not Allowed (http://broncos.fgm.com)
zsh: exit 1 svn list http://broncos.fgm.com/svn/junk

One thought I've had is that Subversion may not handle cookies, on which
mod_auth_radius relies. Can anyone confirm or deny that Subversion handles
cookies?

Here's the Apache configuration for the /svn location:
<Location /svn>
    DAV svn
    SVNParentPath /export/subversion

    AuthType Basic
    AuthName "RADIUS authentication for FGM_MAIN"
    AuthAuthoritative off
    AuthRadiusAuthoritative on
    AuthRadiusCookieValid 5
    AuthRadiusActive On
    require valid-user
</Location>

Please let me know if there's anything I can do to fix this or if there's
any other information I can provide to help debug it.

Thanks in advance,
Xandy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 9 00:15:13 2004

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