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