svn with apache authentication with windows AD
From: <sanjeev.kumarroy_at_wipro.com>
Date: Thu, 10 Jul 2008 15:24:56 +0530
Hi,
I am a newbie to the SVN configuration stuff.
I have installed svn using apache2 on a Linux machine. I used
Now I am able to browse the SVN links using IE from a windows machine.
In place of using the svn-auth-file for doing the authentication now I
Can anyone please help me out with this?
Below is a list of steps that I have followed and what works for the
Installed apache 2
tar -zxvf httpd-2.2.9.tar.gz
cd /home/sanjeev/svn_rpm/httpd-2.2.9
./buildconf
./configure --enable-dav --enable-so
make
make install
After that I installed subversion-1.5.0:
tar -zxvf subversion-1.5.0.tar.gz
./configure --prefix=/usr/local/subversion --with-apr=/usr/local/apache2
make
make install
Created a new repository:
cd /usr/local/subversion
svnadmin create repository
cd repository
ported my database in place of the db in the existing repository
After the installation of the svn 1.5 the following modules
I also created the AuthzSVNAccessFile and the svn-auth-file in the conf
Then I added the entries for my repository to the httpd.conf file at the
<Location /test>
DAV svn
SVNParentPath /usr/local/subversion/repository
AuthzSVNAccessFile
AuthType Basic
AuthName "TEST-SubversionRepository"
AuthUserFile /home/bhdc-repo/conf/svn-auth-file
Require valid-user
</Location>
Also made the changes to the port no in the httpd.conf file
After the I started the apache by issuing the command:
/usr/local/apache2/bin/apachectl start
I was now able to browse the svn from a windows machine using the access
I have also installed openldap-2.3.39:
cd openldap-2.3.39
./configure -prefix=/usr/local/openldap
make depend
make
make install
PS: I tried building the mod_auth_kerb-5.3.tar.gz
However I faced the following error
I tried to configure it by using the below command:
However it fails with the following error:
checking whether we are using Heimdal... no
checking whether the GSSAPI libraries support SPNEGO... no
checking for apxs... no
checking for apxs2... no
configure: error: failed to find apache apxs executable
Please let me know if anyone has done the authentication for SVN running
Thanks.
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com
|
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.