You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tim Liu <ti...@gmail.com> on 2006/11/03 09:55:29 UTC

Integrate Apache mod_auth_ldap with SVN

Folks,

I am new to SVN and need to authenticate SVN user to coorparate LDAP. After
Installation and setup on Apache/SVN, basice authentication and
authorization work fine. But, while turned it to LDAP, Apache fails to
start.

I am using mod_auth_ldap.so integrated with Apache release.

I read almost 155 messages in mailing list about LDAP ,read SVN book, read
apache doc and google it, but still don't figure it out. Hope people in the
list can help. thx in advance.

Steps
1. Install Apache 2.0.59 (Installer)
2. Install SVN 1.4 (binary installer)
3. copy 2 .so 1.dll from SVN to Apache modules directory
4. edit Apache conf\httpd.conf
LoadModule auth_ldap_module modules/mod_auth_ldap.so
...
LoadModule dav_svn_module "D:\ProgramFiles\Subversion\bin\mod_dav_svn.so"
LoadModule authz_svn_module
"D:\ProgramFiles\Subversion\bin\mod_authz_svn.so"
...
<Location /svn>
DAV svn
SVNListParentPath on
SVNParentPath D:\svn
</Location>
5. Fails to start Apache with System Event Log:
The Apache2 service terminated with service-specific error 1.

If i comment the following line, apache can start:
LoadModule auth_ldap_module modules/mod_auth_ldap.so

Any suggestions?

thx in advance

Tim

RE: Integrate Apache mod_auth_ldap with SVN

Posted by "Powell, Damian" <da...@davislangdon.com>.
> But, while turned it to LDAP, Apache fails to start.

Make sure you've added *both* of these lines to your httpd.config file:

LoadModule ldap_module modules/util_ldap.so 
LoadModule auth_ldap_module modules/mod_auth_ldap.so






**********************************************************************
	PRIVACY AND CONFIDENTIALITY NOTICE

This email, and any files transmitted with it, is strictly 
confidential and intended solely for the person or organisation to 
whom it is addressed. If it comes to the attention of any other 
unauthorised person, no action may be taken on it nor should it be 
copied or shown to any third party.

If you have received this email in error please return it
to postmaster@davislangdon.com

This email message has been swept for the presence of computer viruses.
**********************************************************************



<font face="Arial, Helvetica" style="font-size:7.6pt" color="black">Project Management | Cost Management | Management Consulting | Legal Support | Specification Consulting | Engineering Services | Property Tax &amp; Finance<br clear="all">&nbsp;</font><br><font face="Arial, Helvetica" style="font-size:7pt;" color="#808285">Davis Langdon LLP is a limited liability partnership registered in England and Wales with registered number OC306911. A list of members' names is available for inspection at MidCity Place, 71 High Holborn, London WC1V 6QS, the firm's principal place of business and registered office.<br><br>Davis Langdon LLP is a member firm of Davis Langdon &amp; Seah International, with offices in: England, Scotland, Wales, Ireland, France, Spain, Poland, Lebanon, Bahrain, UAE, Qatar, Saudi Arabia, Egypt, Brunei, China, Hong Kong, India, Indonesia, Korea, Malaysia, Philippines, Singapore, Thailand, Vietnam, Australia, New Zealand, South Africa, Botswana and the USA</font><br><br><hr><font face="Arial, Helvetica" style="font-size:7pt" color="black">PRIVACY AND CONFIDENTIALITY NOTICE<br><br>This email, and any files transmitted with it, is strictly confidential and intended solely for the person or organisation to whom it is addressed. If it comes to the attention of any other unauthorised person, no action may be taken on it nor should it be copied or shown to any third party. This email message has been swept for the presence of computer viruses.<br><br>If you have received this email in error please return it to <a href="mailto:postmaster@davislangdon.com">postmaster@davislangdon.com</a><hr></font>


_____________________________________________________________________
This e-mail has been scanned for viruses by Verizon Business Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org