[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 + client cert: "From" email address

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-28 17:13:12 CET

Graham Leggett wrote:
> Hi all,
>
> I have managed to get the FakeBasicAuth to work in conjunction with
> mod_authn_anon (Anonymous dummy *), however I have found a small problem
> with the commit-email.pl script.
>
> If the username is a certificate DN, your username ends up looking like
> this:
>
> /C=ZA/ST=blah/O=blah/OU=SVN/CN=Graham Leggett/emailAddress=email@address
>
> And the email's "from" address is set to this as well, which looks nothing
> like an email address.
>
> Would it be reasonable to change the commit-email.pl script so that if the
> username contains the string "emailAddress=", then that email is used as
> the "From" address, and if the user contains "CN=", then the common name
> is used as the full name of the person making the commit?

Make the magic strings "/CN=" and "/emailAddress=". Then, I think it's a
perfectly resonable change.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 28 17:19:25 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.