<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Guru dell'Eccelso Picco &#187; apache2</title>
	<atom:link href="http://gurudelleccelsopicco.wordpress.com/tag/apache2/feed/" rel="self" type="application/rss+xml" />
	<link>http://gurudelleccelsopicco.wordpress.com</link>
	<description>... perchè Murphy era un ottimista!</description>
	<lastBuildDate>Fri, 28 Aug 2009 13:51:45 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='gurudelleccelsopicco.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/e458bc4a930c41a99ccb43ee1b6acb47?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Guru dell'Eccelso Picco &#187; apache2</title>
		<link>http://gurudelleccelsopicco.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://gurudelleccelsopicco.wordpress.com/osd.xml" title="Guru dell&#8217;Eccelso Picco" />
		<item>
		<title>SVN LDAP Authentication on Apache</title>
		<link>http://gurudelleccelsopicco.wordpress.com/2009/04/14/svn-ldap-authentication-on-apache/</link>
		<comments>http://gurudelleccelsopicco.wordpress.com/2009/04/14/svn-ldap-authentication-on-apache/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 12:16:49 +0000</pubDate>
		<dc:creator>liuk001</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[Thanks to this link I&#8217;ve successfully implemented the LDAP Authentication against a Microsoft Active Directory LDAP for Subversion Access via Apache2.
Thanks to the power and flexibility of Apache the configuration is really straightforward.
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).
Enable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gurudelleccelsopicco.wordpress.com&blog=4009472&post=39&subd=gurudelleccelsopicco&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><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>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/gurudelleccelsopicco.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/gurudelleccelsopicco.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/gurudelleccelsopicco.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/gurudelleccelsopicco.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/gurudelleccelsopicco.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/gurudelleccelsopicco.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/gurudelleccelsopicco.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/gurudelleccelsopicco.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/gurudelleccelsopicco.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/gurudelleccelsopicco.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=gurudelleccelsopicco.wordpress.com&blog=4009472&post=39&subd=gurudelleccelsopicco&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://gurudelleccelsopicco.wordpress.com/2009/04/14/svn-ldap-authentication-on-apache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8dd281270d0c460894b4684d303446b1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">liuk001</media:title>
		</media:content>
	</item>
	</channel>
</rss>