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

Change "Author" name in SVN log

From: mercuryman <mercuryman01_at_gmail.com>
Date: Mon, 20 Jul 2009 13:58:54 -0700 (PDT)

I have setup SVN server with Apache 2 that serves multiple repositories and
LDAP as authentication agent. Its up and running well. The user ID in LDAP
database is an alpha-numeric ID like e032408. As this user ID is associated
with svn commit & svn log output shows this ID as "Author". This maks it
difficult to know who did the commit. Is there a way to replace/change this
ID & have SVN read user's "CN" from LDAP database & add it to svn log? Any
help is greatly appriciated. Here is my conf file.

# Load Subversion Apache Modules
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION

<Location />
AuthType Basic
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthName "Subversion repository"
AuthLDAPURL
"ldap://ldap.server.com/dc=server,dc=com?uid?sub?(objectClass=*)"
AuthLDAPBindDN
uid=svcSubversion,ou=ServiceAccounts,ou=Users,dc=server,dc=com
AuthLDAPBindPassword password

Require valid-user
</Location>

<Location /svn>
DAV svn
SVNParentPath /mnt/scm/subversion
SVNListParentPath On
SVNReposName "Subversion repository"

AuthzSVNAccessFile /etc/httpd/conf.d/access_file

Satisfy Any
Authname "Subversion repositry"
</Location>

-- 
View this message in context: http://www.nabble.com/Change-%22Author%22-name-in-SVN-log-tp24542566p24542566.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2372726
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-20 22:59:51 CEST

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.