Defect #1558
closedCommits to SVN show null author
0%
Description
Hi,
I setup SVN to handle authentication to subversion as shown below. Everything works great and it authenticates users based on their membership in a project or not. However, when I commit files to the repository it is showing a null author, not the same user name that was used to check out. What is going on?
Here's my /etc/httpd/conf.d/subversion.conf:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
PerlLoadModule Apache::Authn::Redmine
<Location /repos>
DAV svn
SVNParentPath /var/svn
AuthType Basic
Authname "Redmine Project Tracking"
Require valid-user
PerlAccessHandler Apache::Authn::Redmine::access_handler
PerlAuthenHandler Apache::Authn::Redmine::authen_handler
RedmineDSN "DBI:mysql:database=redmine;host=localhost"
RedmineDbUser "redmine"
RedmineDbPass "Ayoka.Com"
</Location>
I put Redmine.pm in /usr/lib/perl5/site_perl/Apache/Authn/Redmine.pm
Updated by Philippe Lafoucrière over 16 years ago
- Target version deleted (
0.7.2)
Updated by Liwiusz Ociepa over 16 years ago
Can you write how to reproduce this bug and where do you see that null author (redmine svn browser, svn commandline tool, other svn browser)?
Updated by Liwiusz Ociepa over 16 years ago
- Status changed from New to Closed
Redmine.pm does not set author or any variable used by SVN. It only returns OK when access should be granted or FORBIDDEN/AUTH_REQUIRED/... otherwise. So this is not bug in Redmine.pm. It may be bug in your svn client/apache/dav_svn. It may be also bug in your configuration. Follow instructions in your Redmine.pm.