You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Xandy Johnson <xa...@fgm.com> on 2004/03/05 03:51:16 UTC

Using mod_auth_radius with Subversion

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

Re: Using mod_auth_radius with Subversion

Posted by Sander Striker <st...@apache.org>.
On Fri, 2004-03-05 at 04:51, Xandy Johnson wrote:
[...]
> 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?

Yes, I can confirm that SVN doesn't handle cookies.

Sander

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