Hi,
some time ago I did setup Bugzilla and Subversion with
Apache in the same box, with that in place I used the
same Mysql database from Bugzilla to authenticate the
Subversion users with mod_auth_mysql. All the accounts
can be managed through Bugzilla and you get a bug
tracking system that can be integrated with your
Subversion later. I haven't tried to make the Bugzilla
groups work with Subversion, but I did that on my
ViewCVS configuration. That said, Bugzilla has changed
alot since I did this setup, check if the database is
still compatible in the current versions.
A snipet from my http.conf:
<IfModule mod_dav_svn.c>
LoadModule authz_svn_module
/usr/lib/apache2/mod_authz_svn.so
<Location /svn>
DAV svn
SVNParentPath /srv/svn/repos
SSLRequireSSL
Require valid-user
AuthName "Development Server"
AuthType Basic
AuthMySQLHost localhost
AuthMySQLDB bugs
AuthMySQLUser bugs
AuthMySQLPassword rerum02
AuthMySQLUserTable profiles
AuthMySQLNameField login_name
AuthMySQLPasswordField cryptpassword
AuthzSVNAccessFile
/srv/svn/repos/general-access-control
</Location>
</IfModule>
I also had ViewCVS setup in the box with this
configurantion:
<IfDefine SVN_VIEWCVS>
ScriptAlias /viewcvs /srv/viewcvs/www/cgi/viewcvs.cgi
<Directory "/srv/viewcvs/www/cgi">
# Emprestamos o database do Bugzilla para autenticar
# o acesso ao ViewCVS.
# Para obter os grupos do Bugzilla nós "hackeamos"
# o mod_auth_mysql: aproveitando o fato de que ele não
# consiste os parâmetros AuthMySqlGroupTable e
# AuthMySQLGroupCondition, fazemos um join entre as
tabelas
# "profiles" e "groups".
# A query executada pelo mod_auth_mysql é a seguinte:
# select login_name, name
# from profiles, groups
# where login_name = '<username>'
# and groupset & bit;
#
AuthName "Development Server"
AuthType Basic
AuthMySQLHost localhost
AuthMySQLDB bugs
AuthMySQLUser bugs
AuthMySQLPassword rerum02
AuthMySQLUserTable profiles
AuthMySQLNameField login_name
AuthMySQLPasswordField cryptpassword
AuthMySqlGroupTable "profiles, groups"
AuthMySQLGroupField name
AuthMySQLGroupCondition "groupset & bit"
# Tudo tem que ser visto via HTTPS
# isso também garante que as páginas
# não vão ficar no cache de um PC dando bobeira.
SSLRequireSSL
# UTF-8 parece ser o encoding correto para os
# comentários que estão vindo do SVN.
AddDefaultCharset utf-8
AllowOverride None
Options +ExecCGI
# Negamos Acesso por Default
Order allow,deny
14
Deny from all
</Directory>
# Style Sheets, etc... Não altere.
<LocationMatch "^/viewcvs/\*docroot\*">
Allow from all
</LocationMatch>
# Libera acesso ao RIT para todos no grupo ViewCVS
<LocationMatch "^/viewcvs/rit">
Require group ViewCVS
Allow from all
</LocationMatch>
# Libera acesso ao "teste" para todos no grupo ViewCVS
<LocationMatch "^/viewcvs/teste">
Require group ViewCVS
Allow from all
</LocationMatch>
</IfDefine>
----- Original Message ----
From: "Muthusamy, Elavarasan"
<Elavarasan.Muthusamy@us.ing.com>
To: "users@subversion.tigris.org"
<users@subversion.tigris.org>
Sent: Wednesday, 5 April, 2006 11:45:21 AM
Subject: Subversion-Apache users management
Subversion-Apache users management Hi,
I am using subversion as my source control system
thro' Apache http server. I am using apache's password
(.htaccess) file for authentication and I want to
manage the users remotely (thro' browser). Please help
me to know the best practice for doing it.
Thanks and Regards,
Elavarasan Muthusamy
------------------------------------------------------------------------------
NOTICE: The information contained in this electronic
mail message is confidential and intended only for
certain recipients. If you are not an intended
recipient, you are hereby notified that any
disclosure, reproduction, distribution or other use of
this communication and any attachments is strictly
prohibited. If you have received this communication in
error, please notify the sender by reply transmission
and delete the message without copying or disclosing
it.
==============================================================================
Hi,
once I did setup Bugzilla and Subversion with Apache in the same box,
with that in place I used the same Mysql database from Bugzilla to
authenticate the Subversion users.
A snipet from my http.conf:
----- Original Message ----
From: "Muthusamy, Elavarasan" <Elavarasan.Muthusamy@us.ing.com>
To: "users@subversion.tigris.org" <users@subversion.tigris.org>
Sent: Wednesday, 5 April, 2006 11:45:21 AM
Subject: Subversion-Apache users management
Subversion-Apache users management Hi,
I
am using subversion as my source control system thro' Apache http
server. I am using apache's password (.htaccess) file for
authentication and I want to manage the users remotely (thro' browser).
Please help me to know the best practice for doing it.
Thanks and Regards,
Elavarasan Muthusamy
------------------------------------------------------------------------------
NOTICE: The information contained in this electronic mail message is
confidential and intended only for certain recipients. If you are not
an intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication and any
attachments is strictly prohibited. If you have received this
communication in error, please notify the sender by reply transmission
and delete the message without copying or disclosing it.
==============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 5 19:59:45 2006