<?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>da.mned &#187; Uncategorized</title>
	<atom:link href="http://da.mned.co.uk/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://da.mned.co.uk</link>
	<description>- where I pollute the web -</description>
	<lastBuildDate>Fri, 06 Aug 2010 09:28:48 +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>Scotland Canoe Trip</title>
		<link>http://da.mned.co.uk/2010/06/scotland-canoe-trip/</link>
		<comments>http://da.mned.co.uk/2010/06/scotland-canoe-trip/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 10:47:13 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=133</guid>
		<description><![CDATA[I have put all the Scottish canoe trip up over on http://crocodil.es blog / site Photos and GPS stuff still to be uploaded as well as a write up of the trip!]]></description>
			<content:encoded><![CDATA[<p>I have put all the Scottish canoe trip up over on <a href="http://crocodil.es">http://crocodil.es</a> blog / site <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />    Photos and GPS stuff still to be uploaded as well as a write up of the trip! </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2010/06/scotland-canoe-trip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook default reminders,  18 hour madness</title>
		<link>http://da.mned.co.uk/2010/04/outlook-default-reminders-18-hour-madness/</link>
		<comments>http://da.mned.co.uk/2010/04/outlook-default-reminders-18-hour-madness/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:44:36 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/2010/04/outlook-default-reminders-18-hour-madness/</guid>
		<description><![CDATA[Microsoft in their infinite wisdom have two defaults for reminders on meeting requests, one is for appointments and one for all day events. The option in Tools -> Options is for appointments/meetings only and the defaults for all day events is hardcoded to 18 hours and can’t be changed. Now depending on how you create [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft in their infinite wisdom have two defaults for reminders on meeting requests,   one is for appointments and one for all day events.   The option in Tools -> Options is for appointments/meetings only and the defaults for all day events is hardcoded to 18 hours and can’t be changed.   Now depending on how you create the appointment and which view you are in will depend on which default you get.</p>
<p>If you are in month view and click on a date it will use the all day default (hardcoded to 18 hours) even if it is not an all day event!    If you click the new button or are in week or day view it will use the meeting/appointment default (whatever you set in the options).   </p>
<p>Madness!</p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2010/04/outlook-default-reminders-18-hour-madness/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Grepping Hell</title>
		<link>http://da.mned.co.uk/2010/03/grepping-hell/</link>
		<comments>http://da.mned.co.uk/2010/03/grepping-hell/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 10:37:53 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=127</guid>
		<description><![CDATA[Well that was a tad embarrassing I thought I had lost the ability to grep. All I wanted to do was find any instances of jt1.name in files in the current directory, simple I thought : grep jt1.name * Nope That returned loads of hits that didn&#8217;t match at all eg : modules/UpgradeWizard/commit.php:$from_dir = clean_path(remove_file_extension($install_file) [...]]]></description>
			<content:encoded><![CDATA[<p>Well that was a tad embarrassing I thought I had lost the ability to grep.  All I wanted to do was find any instances of jt1.name in files in the current directory,   simple I thought :<br />
<code>grep jt1.name *</code></p>
<p>Nope<br />
That returned loads of hits that didn&#8217;t match at all eg : </p>
<p><code><br />
modules/UpgradeWizard/commit.php:$from_dir = clean_path(remove_file_extension($install_file) . "-restore");<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the original file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the new file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store the meta data for the custom file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the original meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the new meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the fields that are used in the custom meta data file<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * this will store an associative array contianing all the merged fields<br />
modules/UpgradeWizard/SugarMerge/EditViewMerge.php:	 * Merges the fields together and stores them in $this->mergedFields<br />
modules/UpgradeWizard/preflight.php:	//Check the current and target versions and store them in session variables<br />
modules/UpgradeWizard/silentUpgrade.php://look for session vars there and restore them<br />
modules/UpgradeWizard/uw_ajax.php:		$desc .= $persistence['uw_restore_dir']."\n\n";<br />
modules/UpgradeWizard/uw_utils.php: * Backs-up files that are targeted for patch/upgrade to a restore directory<br />
modules/UpgradeWizard/uw_utils.php:	// create restore file directory<br />
modules/UpgradeWizard/uw_utils.php:		$_SESSION['uw_restore_dir'] = clean_path($rest_dir);<br />
modules/UpgradeWizard/uw_utils.php:			// get name of current file to place in restore directory<br />
modules/UpgradeWizard/uw_utils.php:			// only copy restore files for replacements - ignore new files from patch<br />
modules/UpgradeWizard/uw_utils.php:		$desc .= $_SESSION['uw_restore_dir'] . "\n\n";<br />
modules/UpgradeWizard/uw_utils.php:	if(isset($_SESSION['uw_restore_dir']))<br />
modules/UpgradeWizard/uw_utils.php:		unset($_SESSION['uw_restore_dir']);<br />
modules/Meetings/Meeting.php:// Meeting is used to store customer information.<br />
</code></p>
<p>Pages of this came up.   When I found the culprit I nearly fell off my chair,  some fluffy-kittening person at SugarCRM decided that when doing an upgrade they would make a backup unfortunately they made an interesting choice of names&#8230; </p>
<p><code><br />
drwxrws---  3 www-data www-data     4096 Jan 12 10:42 -restore<br />
drwxr-xr-x 19 www-data www-data     4096 Mar  9 16:43 .<br />
drwxr-xr-x  3 root     root         4096 Jan 23  2009 ..<br />
-rw-r--r--  1 www-data www-data      342 Mar  9 16:43 .htaccess<br />
-rw-r--r--  1 www-data www-data     2535 Mar  9 16:43 HandleAjaxCall.php<br />
-rw-r--r--  1 www-data www-data      155 Dec 17  2008 INSTALLATION.txt<br />
-rw-r--r--  1 www-data www-data    35147 Dec 17  2008 LICENSE.txt<br />
drwxr-xr-x  3 www-data www-data     4096 Oct 22 14:52 ModuleInstall<br />
-rw-r--r--  1 www-data www-data     5075 Dec 17  2008 SugarSecurity.php<br />
-rw-r--r--  1 www-data www-data     5590 Dec 17  2008 TreeData.php<br />
-rw-r--r--  1 www-data www-data     2488 Mar  9 16:43 WebToLeadCapture.php<br />
drwxr-xr-x  2 www-data www-data     4096 Dec 17  2008 XTemplate<br />
-rw-r--r--  1 www-data www-data     2490 Dec 17  2008 acceptDecline.php<br />
drwxr-xr-x 17 www-data www-data     4096 Mar  9 16:44 cache<br />
</code></p>
<p>That explains why it recursed too&#8230;.   I didn&#8217;t think you could add flags after the search string&#8230;  </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2010/03/grepping-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SugarCRM Sales Stage Problem</title>
		<link>http://da.mned.co.uk/2009/11/sugarcrm-sales-stage-problem/</link>
		<comments>http://da.mned.co.uk/2009/11/sugarcrm-sales-stage-problem/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 16:57:57 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Argh!]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/2009/11/sugarcrm-sales-stage-problem/</guid>
		<description><![CDATA[For future reference boys and girls the Sales Stage in SugarCRM can only be 25 characters long&#8230;. Well over 2 hours it took me to find that out&#8230;]]></description>
			<content:encoded><![CDATA[<p> For future reference boys and girls the Sales Stage in SugarCRM can only be 25 characters long&#8230;.</p>
<p>Well over 2 hours it took me to find that out&#8230; </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/11/sugarcrm-sales-stage-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Openfire Active Directory Authentication</title>
		<link>http://da.mned.co.uk/2009/10/openfire-active-directory-authentication/</link>
		<comments>http://da.mned.co.uk/2009/10/openfire-active-directory-authentication/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 11:03:12 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=119</guid>
		<description><![CDATA[Oh the joy and the pain of this&#8230;. After a very long time I have now got this working how I want it but it was painful getting the right runes to make the two play nicely. What I wanted: To have a group in AD that could access and authenticate to Openfire To have [...]]]></description>
			<content:encoded><![CDATA[<p>Oh the joy and the pain of this&#8230;.</p>
<p>After a very long time I have now got this working how I want it but it was painful getting the right runes to make the two play nicely.</p>
<h2>What I wanted:</h2>
<ul>
<li>To have a group in AD that could access and authenticate to Openfire</li>
<li>To have a groups in Openfire that were defined by an AD group.</li>
</ul>
<h2>AD Structure</h2>
<ul>
<li>All of our users are in a group called &#8220;Foo Users&#8221;</li>
<li>All of our groups are in &#8220;Foo Groups&#8221;</li>
<li>All of our Openfire users are in a group called &#8220;openfire&#8221; which  is inside &#8220;Foo Groups&#8221;</li>
<li>Our Openfire groups are in &#8220;Openfire Groups&#8221; which is in &#8220;Foo Groups&#8221; (I made &#8220;Openfire Groups&#8221; a universal group, this may or may not be needed).</li>
<li>I then made the &#8220;openfire&#8221; group a member of &#8220;Openfire Groups&#8221;</li>
<li>Our domain is called foo.com</li>
</ul>
<h2>The authentication</h2>
<ul>
<li><span title="dc="> ldap.baseDN : dc=&#8221;foo&#8221;,dc=&#8221;com&#8221;</span></li>
<li>adminDN : <span title="cn=">cn=&#8221;administrator&#8221;,cn=&#8221;Users&#8221;,dc=&#8221;foo&#8221;,dc=&#8221;com&#8221;</span></li>
<li><span title="cn=">Userfilter : </span>(&amp;(memberOf=CN=openfire,OU=Foo Groups,DC=foo,DC=com))</li>
<li>Groupfilter : (&amp;(memberOf=CN=openfire,OU=Foo Groups,DC=foo,DC=com))</li>
</ul>
<p>Hope this helps someone  <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/10/openfire-active-directory-authentication/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CVSNT SSH Access:  No Such Repository</title>
		<link>http://da.mned.co.uk/2009/09/cvsnt-ssh-access-no-such-repository/</link>
		<comments>http://da.mned.co.uk/2009/09/cvsnt-ssh-access-no-such-repository/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 15:31:04 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=117</guid>
		<description><![CDATA[CVSNT is a drop in replacement for CVS so they say Well ish&#8230;   To cut a very long story short I had a problem very similar to this one. I had removed my old CVS install and installed CVSNT in its place. I go to a dev machine,  use WinCVS and BANG no such repository!   [...]]]></description>
			<content:encoded><![CDATA[<p>CVSNT is a drop in replacement for CVS so they say <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Well ish&#8230;   To cut a very long story short I had a problem very similar to <a href="http://www.cvsnt.org/pipermail/cvsnt/2006-February/023797.html">this one.</a> I had removed my old CVS install and installed CVSNT in its place.</p>
<p>I go to a dev machine,  use WinCVS and BANG no such repository!   I run to my desk and ssh into the server,  no all our code is there and still in the same place and no change to the CVSROOT on the dev machines either.</p>
<p>Fast forward a few hours of keyboard bashing and searching&#8230;</p>
<p>Even if you are only accessing CVS via SSH you will still need to configure /etc/cvsnt/PServer just copy the PServer.example file to PServer edit the Repository0 section to put the path to your repository,  save and you are done <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>This is a CVSNT security measure apparently and it could have been mentioned a bit more prominantly IMHO <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Hope this saves someone else a lot of time and dry cleaning bill <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/09/cvsnt-ssh-access-no-such-repository/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why lobby when you can lunch in Corfu</title>
		<link>http://da.mned.co.uk/2009/08/why-lobby-when-you-can-lunch-in-corfu/</link>
		<comments>http://da.mned.co.uk/2009/08/why-lobby-when-you-can-lunch-in-corfu/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 20:05:05 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=115</guid>
		<description><![CDATA[I will assume you have heard the news about Lord Mandy, Geffen and a quick paid for amendment to UK Gov policy&#8230; On http://gl.u.gg a forum for nice people Spinnie who has a flair for playing devil&#8217;s advocate said Civil rights groups? It&#8217;s a civil right to steal stuff? I must have missed that memo. [...]]]></description>
			<content:encoded><![CDATA[<p>I will assume you have heard the news about Lord Mandy, Geffen and a quick paid for amendment to UK Gov policy&#8230;</p>
<p>On http://gl.u.gg a forum for nice people <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    Spinnie who has a flair for playing devil&#8217;s advocate said</p>
<blockquote><p>Civil rights groups? It&#8217;s a civil right to steal stuff? I must have missed that memo.</p></blockquote>
<p>It is a valid question and I offer the following:</p>
<blockquote><p>It is a civil right not to have a form of communication cut off on the basis of unsubstantiated rumor by an arbitrary commercial trade interest group.</p>
<p>Does this seem any more rational:</p>
<p>&#8220;The Associated Amateur Dramatics Union paid observer in the pub heard that you went to see a play and then spoke to several friends and said it was not very good, this was damaging to our revenue stream. Our source said that you had done this before. Therefore we demand the right that you no longer have the right to have a telephone to prevent you causing any more damage to our business.&#8221;</p></blockquote>
<p>There is nothing I fear more than Am-Dram societies getting organised.</p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/08/why-lobby-when-you-can-lunch-in-corfu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It is that time of year again&#8230;</title>
		<link>http://da.mned.co.uk/2009/08/it-is-that-time-of-year-again/</link>
		<comments>http://da.mned.co.uk/2009/08/it-is-that-time-of-year-again/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 19:45:54 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/2009/08/it-is-that-time-of-year-again/</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<div class="wp-caption aligncenter" style="width: 330px"><img alt="This is a live feed (updates once per min)" src="http://ti.gger.co.uk/bbf/webcam.jpeg" title="BBF LIVE 2009" width="320" height="240" /><p class="wp-caption-text">This is a live feed (updates once per min)</p></div>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/08/it-is-that-time-of-year-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenFire XMPP Server on Debian</title>
		<link>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/</link>
		<comments>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 13:54:48 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=110</guid>
		<description><![CDATA[I was asked today to set up an IM server for internal use,   originally they were specifying Windows messanger but I was able to suggest we try a proper standards based system instead So I need a server,  a few clicks in the Proxmox interface ( a rather nice way of handling OpenVZ virtualisation) and [...]]]></description>
			<content:encoded><![CDATA[<p>I was asked today to set up an IM server for internal use,   originally they were specifying Windows messanger but I was able to suggest we try a proper standards based system instead <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So I need a server,  a few clicks in the Proxmox interface ( a rather nice way of handling OpenVZ virtualisation) and I have a new blank Debian lenny box already to play with.</p>
<p>Added the non-free option to the apt repository (as we will need the Sun JRE) and off we go <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />    Apt decided to moan about :</p>
<pre>W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://security.debian.org lenny/updates Release:
The following signatures couldn't be verified because the public
key is not available: NO_PUBKEY 9AA38DCD55BE302B</pre>
<p>Which was solved by this post <a href="http://linux.com/community/blogs/Debian-Upgrading-to-Lenny-ERROR-no-public-key-available-for-the-following....html">here</a> <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A quick :</p>
<pre>apt-get install debian-archive-keyring</pre>
<p>and off we go again <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Next stop is the Java monster,  mercifully simple to install nowadays:</p>
<pre>apt-get install sun-java6-jre</pre>
<p>Next we grab the latest openfire deb,   then install:</p>
<pre>dpkg -i openfire_3.6.4_all.deb</pre>
<p>Which seemed to be too painless&#8230;</p>
<p>Fire up the Wizard on port 9090 from a browser and you are done <img src='http://da.mned.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/07/openfire-xmpp-server-on-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>It&#8217;s here!</title>
		<link>http://da.mned.co.uk/2009/05/its-here/</link>
		<comments>http://da.mned.co.uk/2009/05/its-here/#comments</comments>
		<pubDate>Tue, 19 May 2009 14:18:16 +0000</pubDate>
		<dc:creator>tig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[paddling]]></category>

		<guid isPermaLink="false">http://da.mned.co.uk/?p=95</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-medium wp-image-93" title="p5190002" src="http://da.mned.co.uk/wp-content/uploads/2009/05/p5190002-300x225.jpg" alt="p5190002" width="300" height="225" /></p>
<p style="text-align: center;"><img class="aligncenter size-large wp-image-94" title="p5190004" src="http://da.mned.co.uk/wp-content/uploads/2009/05/p5190004-1024x768.jpg" alt="p5190004" width="614" height="461" /></p>
]]></content:encoded>
			<wfw:commentRss>http://da.mned.co.uk/2009/05/its-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
