Anyone here use Subversion[1]? I've had the chance of setting up and installing Subversion on a RH9 machine with Apache. Logins to the repository(ies) are via Samba's winbindd and mod_auth_pam[2].
Following is the steps I took to set it all up. I've already previously set up winbindd and Samba to authenticate against our Active Directory: 1) Download the RPMS for RedHat[3]. RPMS for WhiteBox and Fedora Core are also available. (see list of RPMS needed below) 2) Install/Upgrade RPMS 3) Download the mod_auth_pam[2] source code 4) Untar and build mod_auth_pam[2] (make sure you have httpd-devel) 5) Edit /etc/httpd/conf/httpd.conf and add the following load lines LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so LoadModule pam_auth_module modules/mod_auth_pam.so 6) Restart apache 7) Edit /etc/pam.d/httpd, replace the auth and account lines with: auth required pam_winbind.so account required pam_winbind.so 8) Configure a DAV-accessible location in httpd.conf: <Location /svn> DAV svn # All repositories SVNParentPath /var/svn # Uncomment below to allow AutoVersioning, see SVN book [4] # SVNAutoversioning on AuthPAM_Enabled on AuthType basic AuthName "SVN Repository" # Per-tree access file AuthzSVNAccessFile /etc/httpd/conf/svn-access Require valid-user </Location> 9) Configure an Authz access file (Following grants All r/w): [/] *=rw 10) Try it out. Enjoy :) The server I setup is already live, and is accessible from even behind a restrictive firewall, and restricts developer access to various projects. (i.e. HTTP access only through a proxy, no other outgoing connections). CVS can't match up to that :) --- URLS: [1] Subversion : http://subversion.tigris.org/ [2] mod_auth_pam: http://pam.sourceforge.net/mod_auth_pam/ [3] Subversion RedHat RPMS: http://summersoft.fay.ar.us/pub/subversion/latest/ [4] Subversion book (soon to be an O'Reilly title): http://svnbook.red-bean.com/svnbook/ RPMS downloaded: apr apr-util apr-devel httpd httpd-devel neon subversion subversion-server subversion-tools -- JM Ibanez http://www.livejournal.com/~jmibanez/ http://www.mycgiserver.com/~butiki/ -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie