Brad Anderson
brad at sankatygroup.com
Sun Jul 22 19:11:50 EDT 2007
Jim Gallacher wrote: > Hi Brad, > > It's been awhile since I've messed with aaa, but I may have a spark of > an idea. > > Brad Anderson wrote: >> Hi, >> >> I'm trying to tie into Django's auth subsystem for http authn/authz in >> front of Subversion, as seen here: >> http://www.djangoproject.com/documentation/apache_auth/ >> >> So, my Apache 2.0.59 conf looks like this (with some mod_macro voodoo): >> >> ##################################################################### >> >> <Macro ProjectClosed $PROJ> >> <Location /projects/$PROJ> >> DAV svn >> SVNPath /var/svn/$PROJ >> AuthType Basic > > Try changing your AuthType to something else. Heck, you could even use: > > AuthType somethingelse > > but you'll likely want something a little clearer - dsource-auth might > be a good choice. You can retrieve this string in your handler with > req.auth_type(). Likewise req.auth_name() will get you the AuthName > setting. > > As I recall the AuthType Basic will cause the default authentication > mechanism to fire, and that's the thing that is generating the "couldn't > check access. No groups file?" verbiage in your log. Changed AuthType to dsource-auth, and no dice. I received this when trying 'svn up': > svn up svn: PROPFIND request failed on '/projects/test' svn: PROPFIND of '/projects/test': 401 Authorization Required (http://local.svn.dsource.org) and nothing was written in error_log, making me think the handler was bypassed completely. :( BA
|