<?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>John McLearldap | John McLear</title>
	<atom:link href="http://mclear.co.uk/category/ldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://mclear.co.uk</link>
	<description>My mission: To encourage effective use of ICT in Schools. My main focus is on ages 3-11.</description>
	<lastBuildDate>Thu, 17 May 2012 21:14:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://primaryblogger.co.uk/?v=3.3.2</generator>
		<item>
		<title>Etherpad with Active Directory (LDAP/AD)</title>
		<link>http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/</link>
		<comments>http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 17:20:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[ad]]></category>
		<category><![CDATA[etherpad]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[shibboleth]]></category>
		<category><![CDATA[single sign on]]></category>
		<category><![CDATA[sso]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/</guid>
		<description><![CDATA[So you want to host your own Etherpad deployment and you want to tie it into your schools AD/LDAP/Active directory? Below are the basic instructions for how to accomplish this. Alternatively you can pay us to do it. Get the patch lynx https://gist.github.com/10061b4b213619816db5 Get the etherpad source (warning- may take some time- go make a [...]]]></description>
			<content:encoded><![CDATA[<div>So you want to host your own <span class="blsp-spelling-error" id="SPELLING_ERROR_0">Etherpad</span> deployment and you want to tie it into your schools AD/<span class="blsp-spelling-error" id="SPELLING_ERROR_1">LDAP</span>/Active directory?  Below are the basic instructions for how to accomplish this.  <a rel="nofollow" href="http://primaryt.co.uk/contact.html">Alternatively you can pay us to do it.</a></div>
<div></div>
<div><b>Get the patch</b></div>
<div>lynx https://gist.github.com/10061b4b213619816db5 </div>
<div></div>
<div><b>Get the <span class="blsp-spelling-error" id="SPELLING_ERROR_2">etherpad</span> source (warning- may take some time- go make a cuppa tea)</b></div>
<div><span class="blsp-spelling-error" id="SPELLING_ERROR_3">hg</span> clone https://etherpad.googlecode.com/hg/ <span class="blsp-spelling-error" id="SPELLING_ERROR_4">etherpad</span> </div>
<div></div>
<div><b>Go to the <span class="blsp-spelling-error" id="SPELLING_ERROR_5">etherpad</span> folder</b></div>
<div><span class="blsp-spelling-error" id="SPELLING_ERROR_6">cd</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_7">etherpad</span> </div>
<div></div>
<div><b>Extract the patch</b></div>
<div>tar -<span class="blsp-spelling-error" id="SPELLING_ERROR_8">xvz</span> &#8211;strip-components=1 -f ../gist10061b4b213619816db5-e60df95e16c09700b4cf07cd87b9732dd7b15ace.tar.gz</div>
<div></div>
<div><b>Apply the patch</b></div>
<p>patch -p1 &lt; ldap_support.patch
<div>
<div></div>
<div><b>Set your superdomain</b></div>
<div>nano trunk/etherpad/src/etherpad/globals.js</div>
<div><i>add yourdomain.whatever to the SUPERDOMAINS</i></div>
<div></div>
<div><b>Edit pro_accounts.js</b></div>
<div>nano trunk/etherpad/src/etherpad/pro/pro_accounts.js</div>
<div></div>
<div><b>Change directory</b></div>
<div>cd trunk/etherpad</div>
<div></div>
<div><b>Add the useLdapconf to the config</b></div>
<div>echo &#8220;etherpad.useLdapConfiguration = ./etc/json.config&#8221; >> etc/etherpad.localdev-default.properties</div>
<div></div>
<div><b>Edit <span class="blsp-spelling-error" id="SPELLING_ERROR_9">json</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_10">config</span></b></div>
<div><span class="blsp-spelling-error" id="SPELLING_ERROR_11">nano</span> etc/<span class="blsp-spelling-error" id="SPELLING_ERROR_12">json</span>.<span class="blsp-spelling-error" id="SPELLING_ERROR_13">config</span></div>
<div></div>
<div><i>Paste in (you need the {}&#8217;s):  </i></div>
<div><i><br /></i></div>
<div><i>  {</i></div>
<div><i>    &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_14">url</span>&#8221;           : &#8220;ldap://localhost:10389&#8243;,</i></div>
<div><i>    &#8220;principal&#8221;     : &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_15">uid</span>=admin,<span class="blsp-spelling-error" id="SPELLING_ERROR_16">ou</span>=system&#8221;, </i></div>
<div><i>    &#8220;password&#8221;      : &#8220;secret&#8221;, </i></div>
<div><i>    &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_17">rootPath</span>&#8221;      : &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_18">ou</span>=users,<span class="blsp-spelling-error" id="SPELLING_ERROR_19">ou</span>=system&#8221;, </i></div>
<div><i>    &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_20">userClass</span>&#8221;     : &#8220;person&#8221;, </i></div>
<div><i>    &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_21">nameAttribute</span>&#8221; : &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_22">displayname</span>&#8220;, </i></div>
<div><i>    &#8220;<span class="blsp-spelling-error" id="SPELLING_ERROR_23">ldapSuffix</span>&#8221;    : &#8220;@<span class="blsp-spelling-error" id="SPELLING_ERROR_24">ldap</span>&#8221; </i></div>
<div><i>  }</i></div>
<div></div>
<div><i>Replacing the above with your settings.</i></div>
<div></div>
<div><b>Build your <span class="blsp-spelling-error" id="SPELLING_ERROR_25">etherpad</span></b></div>
<div>bin/<span class="blsp-spelling-error" id="SPELLING_ERROR_26">rebuildjar</span>.sh</div>
<div></div>
<div><b>Test your <span class="blsp-spelling-error" id="SPELLING_ERROR_27">etherpad</span></b></div>
<div>bin/run-local.sh</div>
<div></div>
<div><b>Browse to http://yourdomain.com:9000/ep/pro-account/sign-in</b></div>
<div></div>
<div><b>Type in your email address (of the user in <span class="blsp-spelling-error" id="SPELLING_ERROR_28">ldap</span>) and password</b></div>
<div></div>
<div>Fin!  Credit to Elliot <span class="blsp-spelling-error" id="SPELLING_ERROR_29">Kroo</span> and <span class="blsp-spelling-error" id="SPELLING_ERROR_30">Marcio</span> <span class="blsp-spelling-error" id="SPELLING_ERROR_31">Starke</span> &#8211; discussed further in <a rel="nofollow" href="http://groups.google.com/group/etherpad-open-source-discuss/browse_thread/thread/b0907ca86976f913">this google group</a>.</div>
<div></div>
<div>Shibboleth integration coming mid 2010 (if anyone wants to fund this please <a rel="nofollow" href="http://primaryt.co.uk/contact.html">get in touch</a>!)</div>
</div>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=298&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

