Integrating Subversion/Apache with Windows Active directory (LDAP)
From: Lafond, Pascal <PascalLafond_at_SierraSystems.com>
Date: 2005-12-01 22:52:34 CET
I have been unable to get my subversion install to work with Windows
I am using
- Subversion 1.2.3
- Apache 2.0.55 (apache_2.0.55-win32-x86-no_ssl.msi)
- Windows Server 2003
With no security subversion and apache work fine and I am able to access
When I try to set up LDAP security with httpd.conf file detailed below.
- Apache starts fine
- Connecting with IE I get prompted for my credentials
- Apache dies (stops)
Was anyone else able to get LDAP authentication working with apache
The relevant sections of my httpd.conf file are as follows
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
# Added for LDAP authentication
LoadModule ldap_module modules/util_ldap.so
LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_module modules/mod_dav.so
# Subversion
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
# Subversion
<Location /svn>
DAV svn
# any /svn/foo URL will map to a repository C:/svn/foo
SVNParentPath C:/svn
AuthType Basic
AuthName "Subversion repository"
AuthLDAPUrl ldap://servername/OU=WPG,DC=domain,DC=com
Require valid-user
</Location>
Note: I replaced the actual name of the server with servername and one
----Notice Regarding Confidentiality----
|
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.