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

Problems with mod_authz_svn (bug in svn_config_enumerate?)

From: Fredrik Svensson XF (LD/EMP) <fredrik.xf.svensson_at_ericsson.com>
Date: 2004-05-25 20:46:41 CEST

Hello,

I'm trying to set up subversion to use client certificates together with
mod_authz_svn.
This doesn't seem to work. The problem is that parse_authz_lines uses
svn_config_enumerate to parse the access file. If the users has
equalsigns in the name, a Certificate DN has, the first sign will be used
as the separation between name and value.

This has the effect that a line in the access file
        /C=SE/ST=NA/O=Ericsson/OU=CPO/CN=admin/emailAddress=fredrik.svensson.xf@ericsson.se = rw
will be sent to the parse_authz_line from svn_config_enumerate as
        name = /C
        value = SE/ST=NA/O=Ericsson/OU=CPO/CN=admin/emailAddress=fredrik.svensson.xf@ericsson.se = rw

and parse_auth_line "return TRUE" to svn_config_enumerate telling it that the line had nothing
to do with the user we were trying to authenticate! :))

any quick suggestions how to solve this?

Kind Regards
Fredrik Svensson

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 25 20:47:30 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.