<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>MagicTrevor&#039;s Blog</title>
	<atom:link href="http://magictrevor.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://magictrevor.wordpress.com</link>
	<description>Just another techie&#039;s WordPress.com weblog</description>
	<lastBuildDate>Wed, 04 Jan 2012 02:51:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='magictrevor.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/dc2274980250c38b4c47edb10062f873?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>MagicTrevor&#039;s Blog</title>
		<link>http://magictrevor.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://magictrevor.wordpress.com/osd.xml" title="MagicTrevor&#039;s Blog" />
	<atom:link rel='hub' href='http://magictrevor.wordpress.com/?pushpress=hub'/>
		<item>
		<title>StartSSL (StartCOM) certificates and Tomcat</title>
		<link>http://magictrevor.wordpress.com/2011/01/26/startssl-startcom-certificates-and-tomcat/</link>
		<comments>http://magictrevor.wordpress.com/2011/01/26/startssl-startcom-certificates-and-tomcat/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 21:12:33 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Software General]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Certificate]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[StartSSL]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=131</guid>
		<description><![CDATA[StarSSL SSL certificates with Apache Tomcat server.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=131&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>StartSSL offers a great service &#8211; free SSL certificates that are trusted by most browsers.</p>
<p>When generating a certificate from a Certificate Signing Request they require the private key to be RSA 2048 bits and SHA1. Below are the commands I used setting up Tomcat on windows. It took me a while to get it just right so I thought I would share.</p>
<p>First, create the keystore containing the self signed certificate using the java keytool command. The keypass and storepass must be the same (Tomcat limitation). The important things for StartSSL compatability are the keysize, key algorithm and signing algorithm.</p>
<p><em>keytool -genkey -keysize 2048 -keyalg RSA -sigalg SHA1withRSA -alias myserver -keystore serverkeystore -keypass changeit -storepass changeit -dname &#8220;CN=myserver.mydomain.com,OU=ITS,O=OurCompany,L=Memphis,ST=Tennessee,C=US&#8221;</em></p>
<p>Next create the CSR</p>
<p><em>keytool -certreq -alias myserver -file myserver.csr -keystore serverkeystore</em></p>
<p>Copy and paste the contents of the CSR into the StartSSL Certificate wizard when prompted. Once the certificate is issued import it into the keystore along with the Certificate Chain that should be downloaded from the StartSSL site.</p>
<p><em>keytool -import -alias startsslca -file startssl.ca.cer -keystore serverkeystore -trustcacerts</em><br />
<em>keytool -import -alias startsslca2 -file startssl.sub.class2.server.ca.cer -keystore serverkeystore -trustcacerts</em><br />
<em>keytool -import -alias myserver -file myserver.mydomain.com.cer -keystore serverkeystore</em></p>
<p>Now, modify the Tomcat server.xml file to enable SSL and restart Tomcat. Sample SSL section below using port 8443.</p>
<p><span style="font-size:x-small;"><em>&lt;!&#8211; Define a SSL HTTP/1.1 Connector on port 8443 &#8211;&gt;</em><br />
<em>&lt;Connector port=&#8221;8443&#8243; maxHttpHeaderSize=&#8221;8192&#8243;</em><br />
<em>maxThreads=&#8221;150&#8243; minSpareThreads=&#8221;25&#8243; maxSpareThreads=&#8221;75&#8243;</em><br />
<em>enableLookups=&#8221;false&#8221; disableUploadTimeout=&#8221;true&#8221;</em><br />
<em>acceptCount=&#8221;100&#8243; scheme=&#8221;https&#8221; secure=&#8221;true&#8221;</em><br />
<em>clientAuth=&#8221;false&#8221; sslProtocol=&#8221;TLS&#8221; keystorePass=&#8221;changeit&#8221; keystoreFile=&#8221;D:\Program Files\Apache\Tomcat55\serverkeystore&#8221;/&gt;</em><br />
</span></p>
<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/131/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/131/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/131/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=131&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2011/01/26/startssl-startcom-certificates-and-tomcat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>iPhone battery life woes</title>
		<link>http://magictrevor.wordpress.com/2011/01/25/iphone-battery-life-woes/</link>
		<comments>http://magictrevor.wordpress.com/2011/01/25/iphone-battery-life-woes/#comments</comments>
		<pubDate>Tue, 25 Jan 2011 15:44:45 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[iPad / iPhone]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[hot]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[warm]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=123</guid>
		<description><![CDATA[iPhone getting warm and the battery life short.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=123&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --><br />
I have an iPhone 3GS that is coming up on 2 years old. I keep it up to date and it currently has iOS 4.2.1 installed.</p>
<p>About two weeks ago it started getting very warm and the battery charge would only last about 5 hours. Initially I thought it was a program running in the background that was going crazy. So I rebooted by holding down the Home and Sleep buttons until the screen went blank and then restarted. Same thing continued to happen. Next I made sure I had a current backup in iTunes and then did a Reset / Erase All Content and Settings on the phone. Then, I did a restore from the backup. Same thing. The phone would get very warm and the battery charge would only last 5 hours.</p>
<p>So, I decided to try the battery. I didn&#8217;t want to pay Apple $79.00 + $6.95 S&amp;H to change the battery when there was no guarantee this would fix it. So, I researched and purchased a battery and tools from <a href="http://www.directfix.com" target="_blank">http://www.directfix.com</a>. I chose them because they have taken the time to produce PDF instruction sheets and videos stepping you through the process.</p>
<p>The parts arrived very quickly (2 days) and I successfully replaced the battery and powered the phone back on. Same thing &#8211; warm and 5 hours battery life <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>The only thing left to try was to erase the phone and then reinstall all of the applications and settings manually, not using a backup. So, on the phone I did a Reset / Erase All Content and Settings. Then, I hooked up to iTunes and selected Setup as a new iPhone and went through the process of configuring the sync options and reloading all of my apps, music, email etc. and setting up the application settings.</p>
<p>Thankfully, this fixed the issues. My iPhone is now working as expected; it no longer gets warm and the battery has great life.</p>
<p>Could my phone have become infected with a virus? Or did something trip a bug in iOS? I just hope it wasn&#8217;t a virus but I am changing all of my passwords just in case.<br />
<!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=123&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2011/01/25/iphone-battery-life-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Verisign Certificate issues with Firefox</title>
		<link>http://magictrevor.wordpress.com/2010/12/07/verisign-certificate-issues-with-firefox/</link>
		<comments>http://magictrevor.wordpress.com/2010/12/07/verisign-certificate-issues-with-firefox/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 16:53:31 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software General]]></category>
		<category><![CDATA[WebLogic]]></category>
		<category><![CDATA[verisign CA error]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=111</guid>
		<description><![CDATA[Issue with Verisign certificates issued after October 2010<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=111&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>We recently had to renew a Verisign certificate for one of our domains.<br />
We installed the renewed certificate and restarted Apache (we are running Apache on RHEL&nbsp;&nbsp;5). Initially everything looked ok but we then found that Firefox was complaining that it could not validate the certificate although IE, Safari and Chrome did not complain. We also started seeing errors in our Weblogic logs for select applications running under that domain name -</p>
<p>java.io.IOException: weblogic.security.AuthenticationException: Incorrect block length 256 (modulus length 128) possibly incorrect SSLServerCertificateChainFileName set for this server certificate.</p>
<p>We called Verisign Support and they pointed us to the following bulletin</p>
<p><a href="https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&amp;id=AR657&amp;actp=search&amp;viewlocale=en_US">https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&amp;id=AR657&amp;actp=search&amp;viewlocale=en_US</a></p>
<p>Apparently to use certificates issued by them after October 2010 requires new intermmediate&nbsp;&nbsp;CAs. The article gives a link to download the required CA Bundle (Primary Intermediate CA and a Secondary Intermediate CA). Instead of supplying a file the page contains the text that has to be copied and pasted to create the certificate file. On Windows 7 using IE9 Beta and on XP using IE 8 we had issues copying and pasting the text; It would paste and look correct in Notepad but Apache would reject the file. In the end I tried using Google Chrome and Notepad on Windows 7 and it finally worked.</p>
<p>In case you run into the same problem,&nbsp;here is a link to Verisign2010.doc for you to use as your SSLCertificateChainFile&nbsp;&nbsp;in Apache. Save it as verisign.2010.cer &#8211; don not open in MS Word (I had to use the .doc extension to be able to upload it to wordpress).</p>
<p>&nbsp;</p>
<p><a href="http://magictrevor.files.wordpress.com/2010/12/verisign2010.doc">http://magictrevor.files.wordpress.com/2010/12/verisign2010.doc</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=111&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/12/07/verisign-certificate-issues-with-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Fix mouse pausing issues</title>
		<link>http://magictrevor.wordpress.com/2010/08/26/fix-mouse-pausing-issues/</link>
		<comments>http://magictrevor.wordpress.com/2010/08/26/fix-mouse-pausing-issues/#comments</comments>
		<pubDate>Thu, 26 Aug 2010 21:42:31 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[freeze]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[pause]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=101</guid>
		<description><![CDATA[Cure mouse pause / freezing issues on Windows 7.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=101&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>My work laptop was recently upgraded to a Dell Latitude E6500 running Windows 7.<br />
I wanted a mouse that didn&#8217;t have a cable or require a dongle. So, I installed a Dell Wireless 370 Bluetooth Mini-card (purchased for $9.95 from <a title="eParts and More" href="http://www.epartsandmore.com/" target="_blank">eParts and More</a>), installed the Dell <a title="Drivers" href="http://support.dell.com/support/downloads/download.aspx?c=us&amp;cs=RC968571&amp;l=en&amp;s=hea&amp;releaseid=R226750&amp;SystemID=lat_e6500&amp;os=W732&amp;osl=en&amp;deviceid=16166&amp;devlib=0&amp;typecnt=0&amp;vercnt=1&amp;catid=-1&amp;impid=-1&amp;formatcnt=0&amp;libid=5&amp;typeid=-1&amp;dateid=-1&amp;formatid=-1&amp;source=-1&amp;fileid=325098" target="_blank">drivers</a> and paired the Microsoft Bluetooth Notebook Mouse 5000 that I got on eBay for $29.95.<br />
Everything went smooth except that randomly the mouse would pause / freeze for a few seconds and then start working again. This got annoying very quickly. I did some searching and found quite a lot of posters with the same problem but no solution. I tried various solutions with no success but then found some information that led to a solution that worked for me. I thought I would post here in the hope of helping others solve this frustrating issue.</p>
<p>Go to Control Panel and select Power Options. Select the High Performance plan and then Select Change plan settings. Select Change advanced power settings. Scroll down to USB settings and click the + to expand. Click + to expand USB selective suspend setting. Disable Plugged in and On battery. Click Apply / OK and then close the power plan window.</p>
<p>The mouse will no longer pause / freeze.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=101&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/08/26/fix-mouse-pausing-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Securing SiteScope 10.10</title>
		<link>http://magictrevor.wordpress.com/2010/07/26/securing-sitescope-10-10/</link>
		<comments>http://magictrevor.wordpress.com/2010/07/26/securing-sitescope-10-10/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 20:36:31 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Software General]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ldaps]]></category>
		<category><![CDATA[SiteScope]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=88</guid>
		<description><![CDATA[Enable https and ldaps in SiteScope 10.10.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=88&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>We are running SiteScope 10.10 on Windows Server 2003 authenticating against Active Directory using LDAP. We needed to secure SiteScope by using https for the interface and secure LDAP (ldaps) for authentication. The manuals for Version 10.10 are not complete in their instructions on how to do this. This is how we did it.<br />
Note: These instructions work if you have the <em>Enable  configuration files</em> box checked in the <em>Preferences Main Panel. </em>If not checked you will have to use <em>PersistencyViewer.bat</em> in the SiteScope <em>bin </em>directory to make the changes to <em>master.config.<br />
</em>SiteScope runs on Tomcat and has a builtin http server used to display reports. Both have to be reconfigured to use https.<br />
The instructions assume the Domain Controllers are already setup to accept secure ldap connections on port 636.</p>
<ol>
<li>We use our own Certificate Authority (CA) and so needed SiteScope to trust it. This was done by importing our CA&#8217;s root certificate into the correct java certificate store. <em>c:\ss_10.10</em> is the directory where we have SiteScope is installed. These are the commands we used.<br />
<em>cd c:\ss_10.10\sitescope\java\lib\security<br />
..\..\bin\keytool -import -alias ourca -file our-ca.crt -keystore cacerts</em><br />
The default password for the cacerts store is <em>changeit</em> .</li>
<li>Next we changed the ldap service provider values in <em>c:\ss_10.10\SiteScope\groups\user.config</em> from<br />
<em>ldap://dc.ourdomain.local:389</em><br />
to<br />
<em>[LDAP-SSL]ldap://dc.ourdomain.local:636</em></li>
<li>Next a keystore was setup for SiteScope to use. Per HP, the keypass and storepass should be the same.<br />
<em>..\java\bin\keytool -genkey -alias sitescopeserver -keyalg &#8220;RSA&#8221; -keystore serverKeystore -keypass changeit -dname &#8220;CN=sitescope.ourdomain.local,OU=ITS,O=OurCompany,L=Memphis,ST=Tennessee,C=US&#8221; -storepass changeit</em></li>
<li>Next, a certificate request was generated and sent to the CA<br />
<em>..\java\bin\keytool -certreq -alias sitescopeserver -file sitescope_local.csr -keystore serverKeystore -keyalg &#8220;RSA&#8221;</em></li>
<li>The issued certificate was then imported into the keystore<br />
<em>..\java\bin\keytool -import -trustcacerts -alias sitescopeserver -file c:\Certs\drsitescope_local.crt -keystore serverKeystore</em></li>
<li>Next, tomcat had to be configured to create an https connector and disable the http connector.<br />
Edit <em>c:\ss_10.10\SiteScope\Tomcat\conf\server.xml</em> . Comment out the http connector definition and add the https connector definition<br />
<em>    &lt;!&#8211; Define a SSL Coyote HTTP/1.1 Connector on port 8443 &#8211;&gt;<br />
    &lt;Connector port=&#8221;8443&#8243;<br />
               maxThreads=&#8221;150&#8243; minSpareThreads=&#8221;25&#8243; maxSpareThreads=&#8221;75&#8243;<br />
               enableLookups=&#8221;false&#8221; acceptCount=&#8221;100&#8243;<br />
               debug=&#8221;0&#8243; connectionTimeout=&#8221;20000&#8243;<br />
               scheme=&#8221;https&#8221; secure=&#8221;true&#8221;<br />
               clientAuth=&#8221;false&#8221; sslProtocol=&#8221;TLS&#8221;<br />
               keystoreFile=&#8221;C:\SS_10.10\SiteScope\groups\serverKeystore&#8221; keystorePass=&#8221;changeit&#8221;<br />
               disableUploadTimeout=&#8221;true&#8221;<br />
            compression=&#8221;on&#8221;<br />
            compressionMinSize=&#8221;2048&#8243;<br />
         noCompressionUserAgents=&#8221;gozilla, traviata&#8221;<br />
         compressableMimeType=&#8221;text/html,text/xml&#8221;<br />
               /&gt;</em>  </li>
<li>Next, edit <em>c:\ss_10.10\SiteScope\groups\master.config</em> and define the new https port and cert password with the following lines<br />
<em>_httpsActivePort=8889<br />
_httpSecurePort=8889<br />
_httpSecureKeyPassword=changeit<br />
_httpSecureKeystorePassword=changeit</em></li>
<li>Once all of the above steps were completed we restarted the SiteScope windows service and then in IE went to the new URL <em>https://sitescope.ourdomain.local:8443/SiteScope/</em> and logged in.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/88/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/88/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/88/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=88&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/07/26/securing-sitescope-10-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Integrate Subversion with Active Directory via Secure LDAP</title>
		<link>http://magictrevor.wordpress.com/2010/07/21/integrate-subversion-with-active-directory-via-secure-ldap/</link>
		<comments>http://magictrevor.wordpress.com/2010/07/21/integrate-subversion-with-active-directory-via-secure-ldap/#comments</comments>
		<pubDate>Wed, 21 Jul 2010 20:37:37 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software General]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Collabnet]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[ldaps]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=79</guid>
		<description><![CDATA[Integrate svn with AD<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=79&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>We are running Subversion version control V1.6.3 on Red Hat Enterprise Linux (RHEL) V5.5. It is integrated with our Active Directory (Windows 2003 Domain Controllers) via Secure LDAP (ldaps) for user authentication. This is how it is setup.</p>
<ol>
<li>We use our own Certificate Authority (CA) to issue certificates for the Domain Controllers. So, to trust the certificates that AD presents when we connect to it we need to trust the root CA. We copied the CA’s root certificate to the <em>/opt/CollabNet_Subversion/openssl/certs</em> directory. Then, we trust it by adding the following line to the <em>httpd.conf</em> file<br />
<em>LDAPTrustedGlobalCert&nbsp;CA_BASE64 opt/CollabNet_Subversion/openssl/certs/root-ca.crt</em></li>
<li>We enable LDAP SSL by adding the following line to the <em>httpd.conf</em> file<br />
<em>LDAPTrustedMode SSL</em></li>
<li>Next we configured a combination of file and secure ldap&nbsp;authentication by adding the following lines in the Apache VirtualHost configuration. A regular domain user account (<em>ldapuser</em>&nbsp;in our case) is needed&nbsp;for the ldap&nbsp;lookups as AD does not allow anonymous ldap connections.<br />
<em>AuthType Basic<br />
AuthBasicProvider&nbsp;file ldap<br />
AuthName&nbsp;&#8221;Ourdomain Subversion repository&#8221;<br />
AuthUserFile /etc/httpd/conf/svn.pass<br />
AuthzLDAPAuthoritative off<br />
AuthLDAPBindDN &#8220;cn=ldapuser,ou=Corp,dc=ourdomain,dc=local&#8221;<br />
AuthLDAPBindPassword&nbsp;youguessit<br />
AuthLDAPURL&nbsp;ldaps://dc3.ourdomain.local:636/DC=ourdomain,DC=local?sAMAccountName?sub?(objectClass=user)<br />
Require valid-user<br />
AuthzSVNAccessFile /etc/httpd/conf.d/svn.access</em></li>
</ol>
<p><em>&nbsp;</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=79&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/07/21/integrate-subversion-with-active-directory-via-secure-ldap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Integrate Joomla! with Active Directory via Secure LDAP</title>
		<link>http://magictrevor.wordpress.com/2010/07/12/integrate-joomla-with-active-directory-via-secure-ldap/</link>
		<comments>http://magictrevor.wordpress.com/2010/07/12/integrate-joomla-with-active-directory-via-secure-ldap/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 15:39:49 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software General]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Joomla!]]></category>
		<category><![CDATA[ldap]]></category>
		<category><![CDATA[ldaps]]></category>
		<category><![CDATA[secure]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=67</guid>
		<description><![CDATA[Configure Joomla! to authenticate against Active Directory<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=67&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>We are running Joomla! Content Management System (CMS) Version 1.5.9 on Red Hat Enterprise Linux (RHEL) V5.5. It is integrated with our Active Directory (Windows 2003 Domain Controllers) via Secure LDAP (ldaps) for user authentication. This is how it is setup.</p>
<ol>
<li>We use our own Certificate Authority (CA) to issue certificates for the Domain Controllers. So, to trust the certificates that AD presents when we connect to it we need to trust the root CA. We copied the CA&#8217;s root certificate to <em>/etc/pki/tls/certs</em> on the Linux server hosting Joomla! and then ran the commands <br />
<em>cd /etc/pki/tls/certs<br />
ln -s root-ca.crt `openssl x509 -hash -noout -in root-ca.crt`.0</em></li>
<li>Next we had to tell Joomla! to connect to Active Directory using the Secure LDAP (ldaps) protocol. This is not documented anywhere but by looking at the Joomla! code we found out the way to do this is in the Host parameter field of the LDAP Authentication plugin. Instead of just entering a host name put in the full connection string e.g.<br />
<em>ldaps://dc3.ourdomain.local</em> . Note the name of the domain controller must be as it is specified on the Domain Controllers certificate. In the Port field, enter <em>636</em>. It is best to point Joomla! to a DC that is also a Global Catalog server, particularly if you have a multi-domain forest; you may have problems with referrals otherwise.</li>
<li>These are the rest of the parameters for the LDAP Authentication plugin. All of our user accounts are in an Organizational Unit (OU) Corp.<br />
After making the changes, restart Apache.<br />
Note that Active Directory does not allow ldap anonymous connections so you must have a user setup to be able to connect to AD via LDAP. A regular Domain User acount is all that is needed in this case.<br />
LDAP V3 &#8211; <em>Yes<br />
</em>Negotiate TLS &#8211; <em>No</em><br />
Allow Refferals &#8211; <em>No</em><br />
Authorization Method &#8211; <em>Bind and Search</em><br />
Base DN &#8211; <em>OU=Corp,DC=ourdomain, DC=local</em><br />
Search String &#8211; <em>sAMAccountName=[search]<br />
</em>User&#8217;s DN &#8211; Blank<br />
Connect Username - <em>CN=ldap_user,OU=Corp,DC=ourdomain,DC=local</em><br />
Connect Password &#8211; <em>********</em><br />
Map: Full Name &#8211; <em>displayName<br />
</em>Map: E-mail &#8211; <em>mail<br />
</em>Map: User ID &#8211; <em>sAMAccountName</em></li>
<li>In the plugin Details section, enable the plugin, set Access level to Public and Order to 1.<br />
<strong>Important:</strong> Make sure the Authentication &#8211; Joomla plugin is enabled and and set to Order 2. Also, in User Manager make sure you have the local admin account defined and enabled so you can still login and make changes if ldap fails!</li>
</ol>
<p>The way this works is when a user first logs in using their domain credentials Joomla! will create a local matching entry in the user table. You can then use User Manager to assign the user to a group if they need more priviliges and to make other changes as required. You will see that the password fields are greyed out as this is set in AD.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=67&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/07/12/integrate-joomla-with-active-directory-via-secure-ldap/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>AT&amp;T customer? Check your bill carefully.</title>
		<link>http://magictrevor.wordpress.com/2010/07/07/att-customer-check-your-bill-carefully/</link>
		<comments>http://magictrevor.wordpress.com/2010/07/07/att-customer-check-your-bill-carefully/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 12:47:27 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=62</guid>
		<description><![CDATA[Worldwide Occasional Calling Monthly Fee. What is it?<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=62&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --></p>
<p>So, I get the AT&amp;T Home Phone Bill and there is a new charge on their called &#8220;Worldwide Occasional Calling Monthly Fee&#8221;. It is $1 a month but with the associated &#8220;Federal Universal Service Fund Fee&#8221;, &#8220;Carrier Cost Recovery Fee&#8221; and TN taxes it has increased my monthly bill by almost $4. I don&#8217;t use my AT&amp;T line for Worldwide calling (I use Google Voice or Skype) and did not order this service. I went on the AT&amp;T website but it would not let me remove this service. So, I called AT&amp;T. The customer service rep. said he had no idea why this was added to my bill, removed it and credited me the amount.<br />
Now I don&#8217;t know how many customers AT&amp;T has but charging each one an additional $4 a month would be a nice chunk of change I am sure. Just saying&#8230;&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=62&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/07/07/att-customer-check-your-bill-carefully/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Authenticating Linux logins against Active Directory</title>
		<link>http://magictrevor.wordpress.com/2010/06/15/authenticating-linux-logins-against-active-directory/</link>
		<comments>http://magictrevor.wordpress.com/2010/06/15/authenticating-linux-logins-against-active-directory/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 15:30:00 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=45</guid>
		<description><![CDATA[I had the need to authenticate logins to some CentOS 5.3 Linux box against a Windows 2000/2003 Active Directory domain. This blog entry details the setup I used. All of the users in AD are in an OU called Corp. We decided to make a new AD security group LinuxUsers; to login to a Linux box the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=45&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<div><a title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><img style="border:0;" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" alt="Bookmark and Share" width="125" height="16" /></a></div>
<p><!-- AddThis Button END --><br />
I had the need to authenticate logins to some CentOS 5.3 Linux box against a Windows 2000/2003 Active Directory domain. This blog entry details the setup I used.</p>
<p>All of the users in AD are in an OU called Corp. We decided to make a new AD security group LinuxUsers; to login to a Linux box the AD user has to be a member of this group.</p>
<p>We wanted the communications between the Linux boxes and the Windows Domain Controllers (DCs) to be secure so we wanted to use Secure LDAP (LDAPS) on port 636. This requires a certificate to be installed on each Domain Controller. This could be done by installing the Microsoft Certificate Authority on one of the DCs but this causes all machines in the domain to request a certificate and to start performing all domain communications over SSL. As this can cause issues and headaches I opted to just install a 3rd party certificate on each DC. Doing this just enables LDAPS on the DCs after they are rebooted and does not affect other domain traffic. I followed the instructions documentd by Microsoft in their KB article <a href="http://support.microsoft.com/kb/321051" target="_blank">321051</a>. We already have a certificate authority (CA) we use for issuing our own certificates (the <a href="http://xca.sourceforge.net/" target="_blank">XCA</a> program). This happily accepted the cert requests generated on the DCs and generated certs that the DCs liked.</p>
<p>The DCs also had to be configured to trust our CA. This involved installing our CA&#8217;s root certificate in the &#8216;Trusted Root Certification Authorities\Certificates&#8217; folder in the Local Computer certificate store on each DC using the Certificates MMC plugin. If this is not done errors will occur when Windows boots.</p>
<p>Each of the Linux boxes also had to be setup to trust our CA. This is so they will trust the certificate presented to them by the DCs when they open the LDAPS connection to the DCs. This involved importing our CA&#8217;s root certificate into Linux with these commands where root-ca.crt is our CA&#8217;s root certificate filename.</p>
<p><em>cp root-ca.crt /etc/pki/tls/certs; cd /etc/pki/tls/certs;ln -s root-ca.crt `openssl x509 -hash -noout -in root-ca.crt`.0</em></p>
<p>The next step was to setup the ldap client configuration on the CentOS 5.3 Linux boxes. Below is the <em>/etc/ldap.conf</em> file used to do this. Note that the servername in the URI must match what was used for the DCs certificates. Also not that AD does not allow anonymous lookups so a regular user account has to exist in AD that can be used by the Linux machines to bind with. In our case I used <em>linuxldapuser</em>.</p>
<p><em>base ou=Corp,dc=test,dc=local<br />
binddn cd=linuxldapuser,ou=Corp,dc=test,dc=local<br />
bindpw GuessThis!<br />
scope sub<br />
timelimit 120<br />
bind_timelimit 120<br />
idle_timelimit 3600<br />
pam_password ad<br />
pam_login_attribute sAMAccountName<br />
pam_filter &amp;(objectclass=User)(!(sAMAccountName=root))<br />
pam_member_attribute member<br />
pam_groupdn cn=LinuxUsers,ou=Corp,dc=test,dc=local<br />
uri ldaps://dc1.test.local ldaps://dc2.test.local ldaps://dc3.test.local<br />
ssl on<br />
nss_initgroups_ignoreusers root,ldap,named,avahi,haldaemon,vcsa,dbus</em></p>
<p>The pam_filter line is structured to prevent a potential security issue where a user called root could be created in Active Directory to gain root access on the Linux boxes.<br />
The nss_initgroups_ignoreusers line prevents the Linux machine from hanging on boot if it cannot contact one of the DCs; this is a documented <a href="https://bugzilla.redhat.com/show_bug.cgi?id=234541" target="_blank">bug</a>.</p>
<p>The next step was to configure PAM on the CentOS boxes to use ldap for authentication. Below are the authentification directives from the pam configuration file  <em>/etc/pam.d/system-auth</em> that I used.</p>
<p><em>auth        required      pam_env.so<br />
auth        sufficient    pam_ldap.so<br />
auth        sufficient    pam_unix.so nullok try_first_pass<br />
auth        requisite     pam_succeed_if.so uid &gt;= 500 quiet<br />
auth        required      pam_deny.so</em></p>
<p>This tells pam to try authenticating the user using the ldap module first. If this fails it will try using the unix authentication module, using the password that was typed in. This allows us to still authenticate accounts that are set up locally on the CentOS boxes that do not have a matching AD account, such as root and other service accounts. It also means these accounts can authenticate even if access to the DCs is down (network issues, maintenance etc.).</p>
<p>Finally, make sure that the CentOS boxes can resolve the hostnames of the Domain Controllers either via DNS or with entries in the local <em>/etc/hosts</em> file.</p>
<p>The above configuration is very basic; it does not try and do password synchronization between environments or any kind of UID/GID maping. It merely does authentication.<br />
Users must have an account in AD and Linux and the login name must be the same as this is what ldap uses to do the matchup and authentication. To ensure that these users only use their AD password to login their Linux password is locked using the <em>usermod -L username</em> command. To prevent them trying to change their password in the Linux environment we use the command <em>passwd -n 10000 username</em>. This means they have to change their password in the AD environment and that AD is used to control password policies for all accounts except for those that we specifically allow to login via the unix pam module.</p>
<p>Useful links<br />
<a href="http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/Linux-PAM_SAG.html" target="_blank">The Linux-PAM System Administrators&#8217; Guide</a><br />
<a href="http://www.padl.com/OSS/pam_ldap.html" target="_blank">The PAM LDAP module</a><br />
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=234541" target="_blank">Red Hat Bug # 234541</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=45&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/06/15/authenticating-linux-logins-against-active-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>

		<media:content url="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" medium="image">
			<media:title type="html">Bookmark and Share</media:title>
		</media:content>
	</item>
		<item>
		<title>Listen to iPhone on Dell laptop speakers</title>
		<link>http://magictrevor.wordpress.com/2010/04/28/listen-to-iphone-on-dell-laptop-speakers/</link>
		<comments>http://magictrevor.wordpress.com/2010/04/28/listen-to-iphone-on-dell-laptop-speakers/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 21:55:33 +0000</pubDate>
		<dc:creator>magictrevor</dc:creator>
				<category><![CDATA[iPad / iPhone]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://magictrevor.wordpress.com/?p=39</guid>
		<description><![CDATA[I recently purchased a nice little dock for my iPhone from Mertline. As well as being able to charge my iPhone when I need to it also has an audio out jack. This I planned on connecting to the Mic input on my work Dell laptop so I could listen to music when I didn&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=39&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!-- AddThis Button BEGIN --></p>
<p><DIV><A title="Bookmark and Share" href="http://www.addthis.com/bookmark.php?v=250&amp;username=magictrevor" target="_blank"><IMG height="16" alt="Bookmark and Share" src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125"></A></DIV><br />
<!-- AddThis Button END --></p>
<p>I recently purchased a nice little dock for my iPhone from <A href="http://www.meritline.com/iphone-charger-dock-black---p-39102.aspx" target="_blank">Mertline</A>. As well as being able to charge my iPhone when I need to it also has an audio out jack. This I planned on connecting to the Mic input on my work Dell laptop so I could listen to music when I didn&#8217;t want to wear headphones.<br />
The dock arrived from Singapore ($3.99 with free shipping!) and I hooked up the cables (purchased seperately from Honk Kong), docked my iPhone&nbsp;and selected some music to play. No sound from my Dell laptop. I checked the cable (3.5mm to 3.5mm stereo jacks) and found no problem. I plugged headphones into the dock instead of the cable and I got music. I plugged the cable back in &#8211; still no music from the laptop speakers. I tested that I could hear the regular windows sounds no problem.</p>
<p>So, I decided to turn to google.com for help. What I found was interesting. Turns out Dell ships most of their laptop models configured so that you cannot hear anything that is connected to the line-in or mic-in inputs; you can only record the input. I assume this is so that you do not get audio feedback and other issues with a mic being so close to the speakers.</p>
<p>Changing this depends on the operating system running and the sound card/chip installed.</p>
<p>On my work Dell D630C&nbsp;with SigmaTel&nbsp;sound running Windows XP SP3 I had to change three registry settings, reboot and then configure setting in Control Panel to make this setup work.<br />
If you have a different model laptop or operating sytem a search on google and some poking around in the registry (be careful!) will be needed.</p>
<p><OL></p>
<p><LI>Run regedit</LI></p>
<p><LI>Change the value of all occurences of EnableInputMonitor from&nbsp;0 to 1</LI></p>
<p><LI>Change the value of all occurences of EnableIntSpkrMute from 1 to 0</LI></p>
<p><LI>Change the value of all occurences of RecMonitorMute from 1 to 0</LI></p>
<p><LI>Reboot the machine</LI></p>
<p><LI>In Control Panel, click on Sounds and Audio Devices</LI></p>
<p><LI>Click on Audio</LI></p>
<p><LI>Click on Volume in the Sound recording section</LI></p>
<p><LI>Click on Options/Properties and check the Microphone box and click OK</LI></p>
<p><LI>Check the box for Microphone, set the Microphone volume level&nbsp;mid-way and&nbsp;then close the&nbsp;Recording Control window</LI></p>
<p><LI>Click&nbsp;OK in the Sounds and Audio Devices Properties window.</LI><br />
</OL><br />
My iPhone now plays through the speakers of my Dell laptop. Yay&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/magictrevor.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/magictrevor.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/magictrevor.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=magictrevor.wordpress.com&amp;blog=12662026&amp;post=39&amp;subd=magictrevor&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://magictrevor.wordpress.com/2010/04/28/listen-to-iphone-on-dell-laptop-speakers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/297a942a30c8963fb52e2f3e5bc9a062?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">magictrevor</media:title>
		</media:content>
	</item>
	</channel>
</rss>
