<?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>Sam Moffatt @ Pasamio.com &#187; pentaho</title>
	<atom:link href="http://pasamio.com/category/pentaho/feed/" rel="self" type="application/rss+xml" />
	<link>http://pasamio.com</link>
	<description>Sam Moffatt's Tech Blog: Writings on Technology</description>
	<lastBuildDate>Fri, 20 Jan 2012 08:40:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Today, 14-Jan-08: Query languages, LDAP, business intelligence and filesystems</title>
		<link>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/</link>
		<comments>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/#comments</comments>
		<pubDate>Mon, 14 Jan 2008 07:10:53 +0000</pubDate>
		<dc:creator>Pasamio</dc:creator>
				<category><![CDATA[authentication]]></category>
		<category><![CDATA[businessintelligence]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[edirectory]]></category>
		<category><![CDATA[endoftheday]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[filesystems]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[lca2008]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[linux.conf.au]]></category>
		<category><![CDATA[mdfs]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[pentaho]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[today]]></category>

		<guid isPermaLink="false">http://pasamio.com/?p=34</guid>
		<description><![CDATA[I&#8217;m going to start regularly writing daily posts about what I did today and the things I found interesting, I&#8217;ll at least try anyway. First up for today is a personal thing, I completed a rather largish Uni assignment today which reminded me of all of the pains that come with C++, but to follow [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to start regularly writing daily posts about what I did today and the things I found interesting, I&#8217;ll at least try anyway.</p>
<p>First up for today is a personal thing, I completed a rather largish Uni assignment today which reminded me of all of the pains that come with C++, but to follow that I returned to working on my filesystem in C, which is just more pain. I got a quick response back, and almost full marks (96%) so I&#8217;m happy for all of the time I put in to get it done and how its probably far more complicated than anything else that will be submitted (it used Boost Signals and a whole heap of other things that I don&#8217;t think will ever be taught in the subject for a long time). But hey, thats just Uni!</p>
<p>Today I finally managed to get Pentaho, some business intelligence (BI) software, to play nicely with Novell eDirectory&#8217;s LDAP interface. I must have missed the option, but Pentaho doesn&#8217;t seem to accept anonymous binding to the LDAP server, which means I need to bind as a user. By default our users funnily enough have less access than the anonymous account (which is actually a proxy account with full browse permissions). The solution was simple enough: we shunted our dummy Pentaho user into the same group as the anonymous proxy account and everything worked. So I&#8217;ve now got Pentaho using LDAP for authentication (yay!) and a MySQL database to get its role/group permissions. Funnily enough when its all said and done the documentation is pretty close to the mark.</p>
<p>But once I had that I don&#8217;t have an ability to manage the groups/roles within Pentaho, so I end up having to write some small PHP to manage that. Luckily I worked on a project a while back that I called &#8220;Joomla! Central Management for Users&#8221; which basically connected directly to MySQL databases of Joomla! installs and altered the users. I had originally built it with a plugin infrastructure in mind so that I could plug other stuff into it later. Starting this morning it only had a &#8216;connector&#8217; for Joomla! 1.0 via MySQL and LDAP, now it has one for the Pentaho security tables. This means I can easily copy users from LDAP or Joomla! into Pentaho without too much issues and has a debugged user interface already. But wait theres more!</p>
<p>When I was originally developing the tool I wrote a query language for it. See, SQL is a great language for databases, but its a bit hard to apply in situations where you don&#8217;t quite need all of that power. So I wrote my own query language. Its quite simple it can validate simple attributes and allows for set operations within &#8220;Sites&#8221; (a site is a container for users and groups). So for example I want to see all of the users who are on our web site but not in our LDAP directory:<br />
existsin &#8220;Web Sites&#8221; and not existsin &#8220;LDAP&#8221;</p>
<p>Primitive sure, but it because writing a large SQL expression for something simple. I hope to expand on it, but it already does what it needs to do for the time being.</p>
<p>So I&#8217;ve covered query languages, LDAP and BI! All I need now is the filesystem news. Today there was a whole heap of fan fare on Slashdot about the ZFS news from Apple, whilst thats cool and all (especially since I don&#8217;t mind Apple&#8217;s UI), I personally have my own filesystem that I&#8217;ve gotten back into to do some work on. It also happens to be a Uni assignment due on Friday! So I&#8217;ll be back to working on that and hopefully I&#8217;ll have it to a nice stage that I can do some lightening talks at linux.conf.au!</p>
]]></content:encoded>
			<wfw:commentRss>http://pasamio.com/2008/01/14/today-14-jan-08-query-languages-ldap-business-intelligence-and-filesystems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

