<?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>Joe's Amazing Technicolor Weblog &#187; LDAP</title>
	<atom:link href="http://slagwerks.com/blog/index.php/tag/ldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://slagwerks.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 23 Jul 2010 22:31:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>checking auth in Apache over LDAP with OS X</title>
		<link>http://slagwerks.com/blog/index.php/2009/05/27/checking-auth-in-apache-over-ldap-with-os-x/</link>
		<comments>http://slagwerks.com/blog/index.php/2009/05/27/checking-auth-in-apache-over-ldap-with-os-x/#comments</comments>
		<pubDate>Wed, 27 May 2009 15:32:57 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[os x]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=291</guid>
		<description><![CDATA[Here&#8217;s the configuration I&#8217;ve been working on: control access to Apache webserver by checking (over LDAP) against our existing user database, held in an OS X Open Directory. It&#8217;s taken me more casting about than I&#8217;d expected, but it looks like I&#8217;m finally&#160;there. In the beginning, I got a little confused by the HTTP auth [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the configuration I&#8217;ve been working on: control access to Apache webserver by checking (over <span class="caps">LDAP</span>) against our existing user database, held in an <span class="caps">OS</span> X Open Directory. It&#8217;s taken me more casting about than I&#8217;d expected, but it looks like I&#8217;m finally&nbsp;there.</p>
<p>In the beginning, I got a little confused by the <span class="caps">HTTP</span> auth options. I&#8217;d been hoping to use Digest mode, but a comment on <a href="http://www.latenightpc.com/blog/archives/2007/08/31/no-authtype-digest-with-ldap-authentication-provider-for-apache-today">this post</a> points out the logical problem with that: Digest doesn&#8217;t involve the password making its way to Apache, so there&#8217;s no way for it to pass the password along over&nbsp;<span class="caps">LDAP</span>.</p>
<p><span class="caps">BTW</span> this is under Tiger (<span class="caps">OS</span> X 10.4)&thinsp;&#8212;&thinsp;I&#8217;m not sure if anything changes with other versions of <span class="caps">OS</span>&nbsp;X.</p>
<p>Once figuring out that I did need to use Basic auth, <a href="http://www.productionmonkeys.net/guides/web-server/apache/ldap-authentication">Production Monkeys</a> got me most of the way with my Apache config. What I missed is that, at least with our <span class="caps">OD</span> configuration, it&#8217;s necessary to include the server name in the dc list. Here&#8217;s what worked for&nbsp;me:</p>
<p><code>&lt;Location "/somewhere"&gt;<br />
AuthType Basic<br />
AuthName "Whatever You Call This Auth"<br />
Require valid-user<br />
AuthBasicProvider ldap<br />
AuthLDAPURL ldap://servername.yourdomain.org/cn=users,dc=servername,dc=yourdomain,dc=org?uid<br />
AuthzLDAPAuthoritative off<br />&nbsp;&lt;/Location&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2009/05/27/checking-auth-in-apache-over-ldap-with-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Looking into running an OpenID server</title>
		<link>http://slagwerks.com/blog/index.php/2009/05/01/looking-into-running-an-openid-server/</link>
		<comments>http://slagwerks.com/blog/index.php/2009/05/01/looking-into-running-an-openid-server/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:08:46 +0000</pubDate>
		<dc:creator>joe</dc:creator>
				<category><![CDATA[Tech Stuff]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[openid]]></category>

		<guid isPermaLink="false">http://slagwerks.com/blog/?p=280</guid>
		<description><![CDATA[One of the first things that struck me about the IT systems at my current gig is that there are a bunch of different, unsyncronized authentication systems. In other words, to add a new user, you go to a handful of different admin interfaces and type in the same username and password for that&#160;person. Being [...]]]></description>
			<content:encoded><![CDATA[<p>One of the first things that struck me about the <span class="caps">IT</span> systems at my current gig is that there are a bunch of different, unsyncronized authentication systems. In other words, to add a new user, you go to a handful of different admin interfaces and type in the same username and password for that&nbsp;person.</p>
<p>Being a programmer, this kind of duplication <a href="http://c2.com/xp/CodeSmell.html">smells bad</a> to me, so I dug around for possible solutions. One of the systems happens to be Apple&#8217;s <a href="http://en.wikipedia.org/wiki/Apple_Open_Directory">Open Directory</a>, which speaks <span class="caps">LDAP</span>&thinsp;&#8212;&thinsp;seemed like the obvious integration point. However, it turned out that none of our other systems was predisposed to pulling in the auth info over <span class="caps">LDAP</span>. Since I only have a few dozen users to support, I filed the whole thing deep on my todo list and basically forgot about&nbsp;it.</p>
<p>Now, however, I&#8217;m starting to roll out new services, which are mostly web-based. Being loath to make the dup auth situation worse, I gave some more thought to this issue, and realized that OpenID might be a good solution. Off I went in search of an in-house OpenID server to store my user data. ( there is <a href="http://blogmatrix.blogmatrix.com/:entry:blogmatrix-2008-05-14-0000/">a tool for OpenID-enabling your <span class="caps">LDAP</span> server</a>, but reading about implementing it makes my head hurt&nbsp;)</p>
<p>Surprisingly, there don&#8217;t seem to be a huge amount of people running their own organization-level OpenID providers. After digging around for a while, I ended up at <a href="http://wiki.openid.net/Run_your_own_identity_server">a page on the openid.net wiki</a>, which does list a number of projects that enable you to run your own OpenID provider. Most of them look a bit half-baked or abandoned, but two appear to be alive and potentially appropriate for my needs: <a href="http://wiki.guruj.net/Clamshell!Home">clamshell</a> and&nbsp;<a href="http://source.keyboard-monkeys.org/projects/show/communityid">community-<span class="caps">ID</span></a>.</p>
<p>Next steps, then, are to install one or both <span class="amp">&amp;</span> see how it&nbsp;goes.</p>
]]></content:encoded>
			<wfw:commentRss>http://slagwerks.com/blog/index.php/2009/05/01/looking-into-running-an-openid-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
