<?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>AG&#039;s Latest! &#187; ldap</title>
	<atom:link href="http://web2.tigs.com.au/blogs/agit/tag/ldap/feed/" rel="self" type="application/rss+xml" />
	<link>http://web2.tigs.com.au/blogs/agit</link>
	<description>Total randomness...</description>
	<lastBuildDate>Sun, 15 Aug 2010 11:26:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>School Resource Booking System &#8211; MRBS</title>
		<link>http://web2.tigs.com.au/blogs/agit/2010/08/10/school-resource-booking-system-mrbs/</link>
		<comments>http://web2.tigs.com.au/blogs/agit/2010/08/10/school-resource-booking-system-mrbs/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 12:49:55 +0000</pubDate>
		<dc:creator>agreenlees</dc:creator>
				<category><![CDATA[Freeware Utils]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source / Freeware]]></category>
		<category><![CDATA[booking]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[mrbs]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[period]]></category>
		<category><![CDATA[resource]]></category>
		<category><![CDATA[room]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web-based]]></category>

		<guid isPermaLink="false">http://web2.tigs.com.au/blogs/agit/?p=437</guid>
		<description><![CDATA[I was asked by our new Library Director to find an alternative to our now out-of-date and somewhat cumbersome room/resource booking software. The software would need to allow staff to book various rooms, ICT resources, labs and mobile notebook trolleys throughout the school. A quick search came up with a number of positive reviews for  <a href='http://web2.tigs.com.au/blogs/agit/2010/08/10/school-resource-booking-system-mrbs/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I was asked by our new Library Director to find an alternative to our now out-of-date and somewhat cumbersome room/resource booking software. The software would need to allow staff to book various rooms, ICT resources, labs and mobile notebook trolleys throughout the school. A quick search came up with a number of positive reviews for <a title="MRBS Home" href="http://mrbs.sourceforge.net/" target="_blank">MRBS</a> as a school resource booking solution so I decided to try it out.</p>
<p>The prerequisites for MRBS are as follows:</p>
<p>- PHP 4/5<br />
- MySQL or PostgreSQL<br />
- A web server (such as Apache) that supports PHP<br />
- PHP-LDAP Modules (optional for LDAP authentication)</p>
<p>Luckily enough I already had an Ubuntu Linux production server in place with these prerequisites installed so I was ready to go. The install process is as follows:</p>
<ol>
<li>Extract the contents of the <a title="MRBS Files" href="http://sourceforge.net/projects/mrbs/files/" target="_blank">MRBS.tar.gz</a> file to your web servers storage folder (ie: Apache &#8211; <em>htdocs</em>, IIS -<em>inetpub</em>)</li>
<li>Create a <em>mrbs</em> database in MySQL<br />
<em><strong>CREATE  DATABASE  `mrbs` ;</strong></em></li>
<li>Create the database table structure using the supplied <em>tables.my.sql</em> script<br />
(<em>Optional: Add sample data to the database using the supplied sample-data.sql script</em>)</li>
<li>You must enter a timezone into the <em>config.inc.php</em> file before the system will function (ie: <strong><em>$timezone = &#8220;Sydney/Australia;</em></strong>)</li>
</ol>
<p>At this point the system is ready to use. However, I recommend a few extra steps for ease of use in a school environment:</p>
<p><span style="text-decoration: underline;">Enable period view and define school periods:</span></p>
<p>The default view for MRBS is time slots. Generally schools work to periods not time slots so a period view has been included in MRBS.<br />
To enable the period view:</p>
<ol>
<li>Include the following line of code in your <em>config.inc.php</em> file:<br />
<strong><em>$enable_periods = TRUE;</em></strong></li>
<li>Define the periods in the <em>config.inc.php</em> file. Example:</li>
<li><em><strong>$periods[] = &#8220;Before School&#8221;;<br />
$periods[] = &#8220;Mentor&#8221;;<br />
$periods[] = &#8220;Period 1&#8243;;<br />
$periods[] = &#8220;Period 2&#8243;;<br />
$periods[] = &#8220;Recess&#8221;;</strong></em></p>
<p>And so on&#8230;</li>
</ol>
<p><span style="text-decoration: underline;">Activate LDAP authentication:</span></p>
<p>We endeavor to provide a single-sign-on environment for our staff and students which means that LDAP authentication is a must have for any system that we implement into our network. This process was by far the hardest part of the MRBS install and took my colleague and I sometime to complete mainly due to the PHP-LDAP modules.<br />
To enable LDAP authentication:</p>
<ol>
<li>Install PHP-LDAP modules<br />
<em>I am not going to go into installing these modules in this post but am happy to lend a hand if you need help getting these working.</em></li>
<li>Define LDAP authentication commands in the <em>config.inc.php </em>file. Example:<br />
<strong><em>$auth['only_admin_can_book_repeat'] = TRUE;</em></strong><strong><em>$auth["type"] = &#8220;ldap&#8221;;</em></strong></p>
<p><strong><em>$ldap_host = &#8220;yourdomain.com.au&#8221;;<br />
$ldap_port = 389;<br />
$ldap_v3 = true;<br />
$ldap_tls = false;<br />
$ldap_base_dn = &#8220;ou=Users,dc=yourdomain,dc=com,dc=au&#8221;;<br />
$ldap_user_attrib = &#8220;sAMAccountName&#8221;;<br />
$ldap_dn_search_dn = &#8220;cn=Admin,ou=Users,dc=yourdomain,dc=com,dc=au&#8221;;<br />
$ldap_dn_search_attrib = &#8220;sAMAccountName&#8221;;<br />
$ldap_dn_search_password = &#8220;Admin_Password&#8221;;</em></strong></li>
<li>Define admin users from LDAP in the <em>config.inc.php</em> file<br />
<strong><em>$auth["admin"] = &#8220;Admin&#8221;;</em></strong></li>
</ol>
<p>Being open source the opportunities to endless for you to critique this system to your individual needs. We have edited various files within the system to do the following:</p>
<ul>
<li>Only allow admins to create repeat bookings</li>
<li>Change field labels by editing the language file (<em>lang.en</em>)</li>
<li>Apply the users<em> username</em> to the end of the displayed booking so staff can easily see who has made the booking</li>
<li>Add an &#8220;Override Creator&#8221; field for admins only so that they can make a booking on a staff members behalf</li>
<li>Edit the <em>Help</em> page to be more school specific help</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://web2.tigs.com.au/blogs/agit/2010/08/10/school-resource-booking-system-mrbs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moodle-Google Intergration</title>
		<link>http://web2.tigs.com.au/blogs/agit/2009/12/02/moodle-google-intergration/</link>
		<comments>http://web2.tigs.com.au/blogs/agit/2009/12/02/moodle-google-intergration/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 12:09:11 +0000</pubDate>
		<dc:creator>agreenlees</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[Open Source / Freeware]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[LMS]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[SAML]]></category>
		<category><![CDATA[school]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SSO]]></category>

		<guid isPermaLink="false">http://web2.tigs.com.au/blogs/agit/?p=285</guid>
		<description><![CDATA[The school I work at currently uses Moodle as our chosen LMS for students. Moodle is linked with our School Management system to sync courses, assignments and course enrollments among other things. This greatly assists in minimising administration work, but more on this at another time&#8230;
Our school also uses Google Apps Education Edition to provide  <a href='http://web2.tigs.com.au/blogs/agit/2009/12/02/moodle-google-intergration/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>The school I work at currently uses <a title="Moodle.org" href="http://moodle.org" target="_blank">Moodle</a> as our chosen LMS for students. Moodle is linked with our School Management system to sync courses, assignments and course enrollments among other things. This greatly assists in minimising administration work, but more on this at another time&#8230;</p>
<p>Our school also uses Google Apps Education Edition to provide our students with Email accounts and usage of the other Google Apps services. Google provides a great LDAP sync tool that can easily sync users and groups memberships but lacks a way to sync users passwords (not secure). For this to be possible a Single Sign On (SSO) system must come into the equation. These systems can cost thousands of dollars (depending on user numbers) from 3rd party developers or require a large amount of IT admin time and server resources to perfect a solid solution. I searched long and hard for a suitable tool for this job and tried a number of solutions but none worked well enough for my liking.</p>
<p>At the same time that I was searching for solutions for this issue I was also browsing around for some useful Moodle plugins. This is where I came across the <a title="Moodle-Google" href="http://moodle-google.googlecode.com/files/google.zip" target="_blank">Moodle-Google Intergration</a> plugin that would solve all my issues. The plugin provides a SAML based authentication method to allow users to use their LDAP credentials (LDAP must be configured in Moodle) to log into their Google Apps account. This plugin talks with the SSO feature built into Google Apps via SAML 2.0 post and the use of the generated keys and certificates for security. Users then login to Moodle and from there can access their Google Apps account.</p>
<p>More to come on the configuration of this plugin. Stay tuned&#8230;</p>
<p><a rel="lightbox" href="http://web2.tigs.com.au/blogs/agit/files/2009/12/Narradan1.jpg"><img class="alignnone size-thumbnail wp-image-294" title="Narradan" src="http://web2.tigs.com.au/blogs/agit/files/2009/12/Narradan1-150x150.jpg" alt="Narradan" width="150" height="150" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://web2.tigs.com.au/blogs/agit/2009/12/02/moodle-google-intergration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The WinMac Relationship (part 1)</title>
		<link>http://web2.tigs.com.au/blogs/agit/2008/06/17/the-winmac-relationship/</link>
		<comments>http://web2.tigs.com.au/blogs/agit/2008/06/17/the-winmac-relationship/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 13:44:46 +0000</pubDate>
		<dc:creator>agreenlees</dc:creator>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[OS X (Mac)]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[afp]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[xserve]]></category>

		<guid isPermaLink="false">http://web2.tigs.com.au/blogs/agit/?p=81</guid>
		<description><![CDATA[Recently our OS X Server crashed and burned. A Mac tech. and I tried put our heads together and attempted to bring the system back life and restore its previous state. The file system and user data was all intact however, we could not consistently keep the network services (AFP, Open Directory, etc.) running. We  <a href='http://web2.tigs.com.au/blogs/agit/2008/06/17/the-winmac-relationship/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Recently our OS X Server crashed and burned. A Mac tech. and I tried put our heads together and attempted to bring the system back life and restore its previous state. The file system and user data was all intact however, we could not consistently keep the network services (AFP, Open Directory, etc.) running. We even went as far as trying a complete rebuild on an alternative XServe then restoring the OD and Directory Services settings but this was also to no avail. Let me give you some background as to how our Mac network <span style="text-decoration: underline">WAS</span> setup;</p>
<p>We are primarily a Windows based domain. The only pocket of Macs we have are for our Photography and Visual Arts departments (and an odd Mac Book here and there). The original setup was conceived well before my time at my current company so up until I was thrown into the guts of the Mac network when the whole system went down my knowledge of the server setup was on a need to know basis. The XServe had a Directory Services LDAP connection to our Windows 2003 LDAP server and had a custom binding to pull user information from Active Directory. I never completely explored the custom mappings but from what I have been told it was a fairly intense setup to provide the out of the ordinary needs at the time.</p>
<p>This is my first job where I have had to support Macs so my knowledge was very limited but from the start I found the setup to be somewhat odd. The Macs would always take a considerable amount of time to startup (which I worked out later was due to Directory Services taking an age to authenticate), user accounts would randomly stop working or be denied access to applications. The main method behind the madness was to allow users to maintain their Windows based home folders, but also have a network mapped home folder on the Mac server when logged into a Mac computer. I had always wanted to reconfigure the server myself but without the necessary time or expertise I stopped myself from opening that can of worms. But with the server now down for the count I was forced to commission my plan&#8230;</p>
<p>More blabbering to come&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://web2.tigs.com.au/blogs/agit/2008/06/17/the-winmac-relationship/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
