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

Mapping Apache usernames -> subversion usernames

From: Wesley J. Landaker <wjl_at_icecavern.net>
Date: 2006-10-21 00:49:24 CEST

Hi folks,

Is there a way to map apache/kerberos usernames to a set of different
subversion usernames?

For example, I am using apache2 with mod_auth_kerb so usernames show up

This works, but causes a number of problems and general ugliness. For
instance, it makes just about every script that uses the repository have to
jump through hoops, and doesn't match up with the rest of the history from
before when we used htpasswd auth.

Since every user maps to user@example.org, and there only is one realm, I
would like them to show up in subversion simply as "user". It seems like
there has got to be a way[1] to do this easily, either via subversion or

Any ideas?

For reference, here the relevent apache config:

<Location /svn/XXX>
  DAV svn
  SVNPath /srv/svn/repos/XXX
  AuthType Kerberos
  AuthName "XXX Subversion Repository"
  AuthzSVNAccessFile /srv/svn/repos/XXX/conf/authz.conf

[1] Well, I know one way, which I will do if I have to: hack the source of
either mod_auth_kerb or mod_dav_svn. ;) But that's not the "best" way.

Wesley J. Landaker <wjl@icecavern.net>
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Oct 21 00:50:01 2006

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.