<?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>SysAdmin Adventures &#187; fail</title>
	<atom:link href="http://blog.tpa.me.uk/tag/fail/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tpa.me.uk</link>
	<description>Tech notes from a Systems Administrator</description>
	<lastBuildDate>Mon, 31 Oct 2011 11:09:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>LDAP Support? You must be joking!</title>
		<link>http://blog.tpa.me.uk/2009/09/07/ldap-support-you-must-be-joking/</link>
		<comments>http://blog.tpa.me.uk/2009/09/07/ldap-support-you-must-be-joking/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:22:28 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[ldap]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[Web Apps]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[webapps]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=115</guid>
		<description><![CDATA[I wish I understood why LDAP support is so unbelievably piss-poor in so many software products. So many organisations use LDAP as their core user directory (whether OpenLDAP, Active Directory or some other LDAP implementation) or have a directory service that will provide its data via an LDAP interface. I see people screaming for LDAP [...]]]></description>
			<content:encoded><![CDATA[<p>I wish I understood why LDAP support is so unbelievably piss-poor in so many software products. So many organisations use LDAP as their core user directory (whether OpenLDAP, Active Directory or some other LDAP implementation) or have a directory service that will provide its data via an LDAP interface. I see people screaming for LDAP support in everything, but so little support from software coders/vendors; I can only assume because they personally don&#8217;t have much LDAP experience. Just about every F/OSS software project claims to have LDAP support, but because someone who didn&#8217;t totally understand the application itself wrote some add-on code to make it work. This leaves everyone else following poor instructions for adding-in support to an application that really should be supporting LDAP natively from day one.</p>
<p>For Request Tracker from BestPractical, I ended up re-writing the very limited user-contributed code that already existed into a fully-fledged extension for LDAP support. But it&#8217;s still not easy for RT administrators because my extension is not part of the core RT code; it is tacked-on over the top and, while I try to make it as easy as possible, people still run into problems with implementation. Also, when they need new features and I don&#8217;t have the time to implement them (which I don&#8217;t), they&#8217;re left up the creek with no paddle because the core development team didn&#8217;t write it and don&#8217;t intend to pick it up and code new features into it. In the case of RT, there is the suggestion that the LDAP code will be integrated into the next big version (RT4), but it is literally years too late.</p>
<p>At the moment I am having intense headaches over Foswiki, the fork of TWiki. This is the type of system that was born for use in organisations with existing user databases, but still getting it to take its user information out of LDAP is a <strong>NIGHTMARE</strong>. The basic principle is simple: have some perl code do an LDAP bind when a user tries to login, and if successful, do a search on their information and then map that information into the application based on a simple variable map. It&#8217;s how LDAP works in every app I&#8217;ve ever come across. But, to get this working in Foswiki you have to install four extensions (LdapContrib, LdapNgPlugin, GluePlugin &#038; NewUserPlugin), you have to go through activating and configuring each plugin, and telling the login system which one of the three (confusing and not well documented) options it should use for each of the processes, then you have to go into the Wiki pages themselves and start again. You have to write (in a special Wiki code you won&#8217;t be familiar with) your own templates for gathering the LDAP information and then code up how you&#8217;re going to pass this to the NewUserPlugin so that during auto-registration some magical process can take place to update the user&#8217;s information. And I&#8217;m willing to bet that if I want the information to stay up to date with the LDAP database I will need a fifth plugin to check for changes during login as Login doesn&#8217;t normally handle user information, that&#8217;s a registration thing.</p>
<p>It&#8217;s the same all over. Pick pretty much any F/OSS web-app you like that requires a user database and you will find that LDAP support is either not-present, tacked on haphazardly, or is available only via user-contributed code of varying quality and documentation.<br />
<br clear="none" /><br />
<center><strong>DEVELOPERS: PLEASE FOR THE LOVE OF GOD GET YOUR ACTS TOGETHER!!</strong></center><br />
<br clear="none" /><br />
When you design an application like these, your user authentication and information systems need to be able to handle an LDAP (or sql for that matter) back-end. It&#8217;s really not difficult. In most languages the template code for the ldap searches and binds has been done for you, you just have to use it. I do what I can to provide good code to help people get LDAP working in their apps but it is not easy and there&#8217;s only one of me.</p>
<p>LDAP is easy, but each individual application has its own way of doing user authentication. If I want to put LDAP code into an app, it means I have to understand the nuances of the code and then write around it. In systems such as RT and Foswiki, the authentication systems are so complex it can take weeks to get up to speed with how they work, even with direct input from the developers themselves. I just don&#8217;t have the time to learn every authentication system ever written. If the developers themselves took a moment to realise how simple it is to add LDAP support to code they already understand, and then to get off their arses and *do* it, life would be a lot easier for everyone and it wouldn&#8217;t be so hard to implement these systems in company networks. That means we could finally start pulling away from &#8220;pay someone else to do it&#8221; mentality that has companies throwing thousands of pounds at piss-poor software vendors just to save from spending the time working out how to do it themselves.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/07/ldap-support-you-must-be-joking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Save me from Allied Telesyn</title>
		<link>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/</link>
		<comments>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 12:12:37 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[allied]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[telesis]]></category>
		<category><![CDATA[telesyn]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=113</guid>
		<description><![CDATA[Another Monday morning, another failed fibre GBIC in an Allied Telesyn switch. Yay(!). And so cheap at £80 apiece to replace. I wouldn&#8217;t mind so much if these switches worked well, but they really really don&#8217;t. Web interface sometimes works, sometimes doesn&#8217;t. If it can be arsed to provide the images (because ALL links are [...]]]></description>
			<content:encoded><![CDATA[<p>Another Monday morning, another failed fibre GBIC in an Allied Telesyn switch. Yay(!). And so cheap at £80 apiece to replace. I wouldn&#8217;t mind so much if these switches worked well, but they really really don&#8217;t.</p>
<ul>
<li>Web interface sometimes works, sometimes doesn&#8217;t. If it can be arsed to provide the images (because ALL links are image links), it does so at its own discretion and provides no guarantee the right image will be in the right place.</li>
<li>Switches enjoy failing completely at random intervals prompting a hard-reset.</li>
<li>Sometimes, when they feel like challenging me, a single port will have a hissy-fit requiring that I reallocate the device plugged into the port, or hard-reset the whole switch.</li>
<li>Upon reboot, the switch with the VLAN suddenly has a selective memory and forgets to put the VLAN back in place and so the segregated customer network suddenly has full internal network access.</li>
<li>And, of course, there&#8217;s the GBICs, which die on average once every three months or so.</li>
</ul>
<p>Thanks SO much Allied Telesyn,<br />
No love.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/07/save-me-from-allied-telesyn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SELinux in One Sentence</title>
		<link>http://blog.tpa.me.uk/2009/09/02/selinux-in-one-sentence/</link>
		<comments>http://blog.tpa.me.uk/2009/09/02/selinux-in-one-sentence/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:24:23 +0000</pubDate>
		<dc:creator>Zordrak</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[selinux]]></category>
		<category><![CDATA[yodawg]]></category>

		<guid isPermaLink="false">http://blog.tpa.me.uk/?p=106</guid>
		<description><![CDATA[Yo dawg, we herd you can&#8217;t secure yo box so we put security in yo security so you can get hacked while you get hacked! Care of Andy @ d00t :: http://d00t.org/]]></description>
			<content:encoded><![CDATA[<blockquote><p>Yo dawg, we herd you can&#8217;t secure yo box so we put security in yo security so you can get hacked while you get hacked!</p></blockquote>
<p>Care of Andy @ d00t :: <a href="http://d00t.org/" onclick="pageTracker._trackPageview('/outgoing/d00t.org/?referer=');">http://d00t.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tpa.me.uk/2009/09/02/selinux-in-one-sentence/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

