On Wed, Sep 16, 2009 at 04:59:59AM -0700, Justin wrote:
> Hi,
>
> We run svnserve with anon-access=write to save us maintaining password
> & user lists. However we'd like to be able to populate the author
> field (which is empty with anonymous write access).
>
> We're not worried about properly authenticated users/authors (we are a
> small enough group to trust each other to Do The Right Thing), but
> nonetheless we'd like the option to populate the Author field when we
> commit changes as it is useful to see who did what.
>
> Is there a way to add an Author without being fully authenticated?
It's not possible to pass additional parameters to the svnserve
process via svn://, so no, I don't think what you want to do is
possible.
But you could setup authentication with SSH, using a single, shared,
and non-passphrase protected SSH key[*]. Then you could, on the server side,
take control of the command executed and pass a --tunnel-user option
to the svnserve process invoked on the server when connecting via svn+ssh://.
See http://svnbook.red-bean.com/nightly/en/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshtricks.fixedcmd
Stefan
[*] I'd still recommend to just do authentication anyway, and generate
a unique and passphrase-protected SSH key for each user.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2395480
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-16 14:13:13 CEST