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

Re: commit-email.pl and client certificates

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-01-26 20:10:57 CET

On Jan 26, 2005, at 1:03 PM, Graham Leggett wrote:

> Ben Collins-Sussman wrote:
>
>>> The commit-email.pl script however is listing the "Author" as blank
>>> in the
>>> emails - how can I convince it to place the CN of the client
>>> certificate
>>> into the author field?
>
>> It's not commit-email.pl's fault. Run 'svn log'. Notice that
>> there's no author at all for the revisions! Am I right?
>
> I couldn't tell you - I have no acesss to the SVN machine till
> tomorrow morning.
>
> What would cause there to be no author at all for the revisions?
>

If you've not configured apache to demand a 'valid user', then there's
no username associated with the commit.

Certificates are used to authenticate the link itself; but that does
mean the http request itself has a Basic Auth: header attached. My
guess is that you either want to

   a) 'Require valid-user', so that the users not only need a
certificate, but need to login to apache with a password as well, using
a typical htpasswd user db.

or

   b) Try using the SSL "FakeBasicAuth" directive, which I believe
copies the certificate CN into the basic-auth header of the http
request.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 26 20:18:20 2005

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

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