<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Guru dell&#039;Eccelso Picco &#187; active directory</title>
	<atom:link href="http://blog.gurudelleccelsopicco.org/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gurudelleccelsopicco.org</link>
	<description>Things should be as simple as possible, but not simpler. 		-- Albert Einstein</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:44:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SVN LDAP Authentication on Apache</title>
		<link>http://blog.gurudelleccelsopicco.org/2009/04/svn-ldap-authentication-on-apache/</link>
		<comments>http://blog.gurudelleccelsopicco.org/2009/04/svn-ldap-authentication-on-apache/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 12:16:49 +0000</pubDate>
		<dc:creator>Luca Maranzano</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[ldap authentication]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://gurudelleccelsopicco.wordpress.com/?p=39</guid>
		<description><![CDATA[<p>Thanks to this link I&#8217;ve successfully implemented the LDAP Authentication against a Microsoft Active Directory LDAP for Subversion Access via Apache2.</p>
<p>Thanks to the power and flexibility of Apache the configuration is really straightforward.</p>
<p>Install and configure Apache to serve the URL of the repository you want, for example https://svn.mydomain.com/ (SSL is preferable to clear text http).</p>
<p>Enable [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a title="Apache and subversion auth with MS AD" href="http://www.jejik.com/articles/2007/06/apache_and_subversion_authentication_with_microsoft_active_directory/" target="_blank">this</a> link I&#8217;ve successfully implemented the LDAP Authentication against a Microsoft Active Directory LDAP for Subversion Access via Apache2.</p>
<p>Thanks to the power and flexibility of Apache the configuration is really straightforward.</p>
<p>Install and configure Apache to serve the URL of the repository you want, for example https://svn.mydomain.com/ (SSL is preferable to clear text http).</p>
<p>Enable the DAV modules and the authnz_ldap extension.</p>
<p>Create an account in your AD to get access to the Directory (in this example ldap.svn). Create a Group in your AD (in this example SVNAllowed) where place the SVN-enabled users.</p>
<p>Add to the configuration of the Virtual Host this block:</p>
<blockquote><p><code>&lt;Location "/"&gt;<br />
LDAP Auth<br />
AuthBasicProvider ldap<br />
AuthType Basic<br />
AuthzLDAPAuthoritative off<br />
AuthName "My SVN Repository"<br />
AuthLDAPURL "ldap://dc.mycompany.com:389/DC=mycompany,DC=com?sAMAccountName?sub?(objectClass=*)" NONE<br />
AuthLDAPBindDN <span class="moz-txt-link-rfc2396E">"ldap.svn@mycompany.com"</span><br />
AuthLDAPBindPassword XXXXXXXXXXXXXXXXXX<br />
require valid-user<br />
&lt;/Location&gt;</code></p>
<p><code><br />
&lt;Location /svn&gt;<br />
DAV svn<br />
SVNParentPath /svn<br />
SVNListParentPath On</code><br />
<code><br />
# Check if the user is in this LDAP Group:<br />
require ldap-group CN=SVNAllowed,CN=Users,DC=mycompany,DC=com<br />
&lt;/Location&gt;</code></p></blockquote>
<p>And you are done!</p>
<p>Now every access to https://svn.mycompany.com/ will be authenticated against the AD backend. Access to https://svn.mycompany.com/svn/YourProject will be accessible only by the users in the group SVNAllowed.</p>
<p>You can also define fine-grained access to some repository (not included in this example).</p>
<p>Beware that Apache&#8217; mod_ldap will cache the user credentials for a default value of 600 seconds. See the manual page of the module for more options.</p>
<p>((enjoy))</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gurudelleccelsopicco.org/2009/04/svn-ldap-authentication-on-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

