<?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 McLear &#187; ad</title>
	<atom:link href="http://mclear.co.uk/category/ad/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>Sat, 04 Feb 2012 14:22:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://primaryblogger.co.uk/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<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 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 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 href="http://primaryt.co.uk/contact.html">get in touch</a>!)</div>
</div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center shr-bookmarks-bg-caring">
<ul class="socials">
		<li class="shr-comfeed">
			<a href="http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=2&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=3&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=24&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=257&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-reddit">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=40&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=&amp;service=38&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-twitter">
			<a href="http://www.shareaholic.com/api/share/?title=Etherpad+with+Active+Directory+%28LDAP%2FAD%29&amp;link=http://mclear.co.uk/2010/02/03/etherpad-with-active-directory-ldapad/&amp;notes=So%20you%20want%20to%20host%20your%20own%20Etherpad%20deployment%20and%20you%20want%20to%20tie%20it%20into%20your%20schools%20AD%2FLDAP%2FActive%20directory%3F%20%20Below%20are%20the%20basic%20instructions%20for%20how%20to%20accomplish%20this.%20%20Alternatively%20you%20can%20pay%20us%20to%20do%20it.Get%20the%20patchlynx%20https%3A%2F%2Fgist.github.com%2F10061b4b213619816db5%20Get%20the%20etherpad%20sou&amp;short_link=&amp;shortener=none&amp;shortener_key=&amp;v=1&amp;apitype=1&amp;apikey=8afa39428933be41f8afdb8ea21a495c&amp;source=Shareaholic&amp;template=%2524%257Btitle%257D%2B-%2B%2524%257Bshort_link%257D&amp;service=7&amp;tags=&amp;ctype=" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
</ul><div style="clear: both;"></div><div class="shr-getshr" style="visibility:hidden;font-size:10px !important"><a target="_blank" href="http://www.shareaholic.com/?src=pub">Get Shareaholic</a></div><div style="clear: both;"></div></div>

<h3>Related Posts</h3>
<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>

