<?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>Gavin Adams Information Blog</title>
	<atom:link href="http://www.gavinadams.org/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.gavinadams.org/blog</link>
	<description>Musings on hobbies, technology and topics of interest</description>
	<lastBuildDate>Tue, 05 Jan 2010 22:10:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Snow Leopard Certificate Sillyness</title>
		<link>http://www.gavinadams.org/blog/2010/01/05/snow-leopard-certificate-sillyness</link>
		<comments>http://www.gavinadams.org/blog/2010/01/05/snow-leopard-certificate-sillyness#comments</comments>
		<pubDate>Tue, 05 Jan 2010 22:10:46 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[PKI / Certificates]]></category>
		<category><![CDATA[pkcs12]]></category>
		<category><![CDATA[startssl.com]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=132</guid>
		<description><![CDATA[<p>I love OS X and every iteration has gotten better and better. But every once in a while tasks that should be simple&#8211;aren&#8217;t. Take the case of trying to add a S/MIME certificate to the Keychain.</p>
<p>In the past, simply double-clicking on the .p12 file would prompt for the passphrase and import it into the login [...]]]></description>
			<content:encoded><![CDATA[<p>I love OS X and every iteration has gotten better and better. But every once in a while tasks that should be simple&#8211;aren&#8217;t. Take the case of trying to add a S/MIME certificate to the Keychain.</p>
<p>In the past, simply double-clicking on the .p12 file would prompt for the passphrase and import it into the login chain. After getting my certificate issued by StartSSL and stored in Firefox, I exported the certificate and private key, set a passphrase, double-clicked, and&#8230;.</p>
<p><a href="http://www.gavinadams.org/blog/wp-content/uploads/2010/01/hate-the-keychain.png"><img class="aligncenter size-full wp-image-133" title="hate-the-keychain" src="http://www.gavinadams.org/blog/wp-content/uploads/2010/01/hate-the-keychain.png" alt="" width="750" height="385" /></a></p>
<p><strong>An error has occurred. Unable to import an item. The contents of this item cannot be retrieved. You failed to provide the necessary administrator authorization.</strong> <em>(Added so the search engines will pick this up)</em></p>
<p>And so the battle commenced. There really isn&#8217;t a lot out there discussing when Keychain Access fails. The closest similar discussion was by Midori Green (email thread <a href="http://www.mail-archive.com/openssl-users@openssl.org/msg59442.html">here</a>). The error was different, but it was the same attempt to import a PKCS12 file.</p>
<p>I tried using openssl to rearrange the certificates in the file (after exporting into PEM format), tried adding/removing/changing the private key passphrase, import/export from a Windows machine in .PFX format, and even trying to recreate the PKCS12 file from its&#8217; constituent parts.</p>
<p>Luckily, I ran across this post on <a href="http://krypted.com/mac-os-x/basic-pkcs12-management-with-security/">krypted.com</a> that mentioned the CLI command <em>security</em>. After placing the exported .p12 file (from Firefox) in a directory and launching terminal, I was able to use the command:</p>
<pre>linus:gadams$ <strong>security import startssl-smime-cert.p12 -f pkcs12 ~/Library/Keychains/login.keychain</strong>
1 identity imported.
2 certificates imported.
</pre>
<p>And <em>bam!</em>, the certificate loaded. Composing a new message in Mail.app showed the signing and encryption boxes. Although I still get invalid signatures when sending rich text format messages, plain text are properly getting signed.</p>
<p>I am curious exactly what command is executed when you double-click on a certificate file. I assume the <em>Keychain access </em>application makes underly calls to <em>security</em>, but I&#8217;d like to be able to trace the steps it takes.</p>
<p>Side note, I&#8217;m going to do an opinion piece of certificate authorities in general and digital certificates, SSL, S/MIME, and all that rot. There are some great options for small companies and individuals to get certificates at a cheap or free price. No Verisign or GTE Cybertrust (err Verizon Business) $$$$$ prices need apply!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2010/01/05/snow-leopard-certificate-sillyness/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DeltaCopy on Windows 7 and Scheduled Tasks</title>
		<link>http://www.gavinadams.org/blog/2009/10/22/deltacopy-on-windows-7-and-scheduled-tasks</link>
		<comments>http://www.gavinadams.org/blog/2009/10/22/deltacopy-on-windows-7-and-scheduled-tasks#comments</comments>
		<pubDate>Fri, 23 Oct 2009 03:08:29 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[deltacopy]]></category>
		<category><![CDATA[scheduled tasks]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=119</guid>
		<description><![CDATA[<p>DeltaCopy is a great easy to use rsync client (and server) for Windows. Based on Cygwin, it front-end the rsync client and adds the capabilities to schedule tasks and send email notifications.</p>
<p>In the past under Windows XP, scheduling tasks was a breeze. It still is under Windows 7, except by default they don&#8217;t run. I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp">DeltaCopy</a> is a great easy to use rsync client (and server) for Windows. Based on Cygwin, it front-end the rsync client and adds the capabilities to schedule tasks and send email notifications.</p>
<p>In the past under Windows XP, scheduling tasks was a breeze. It still is under Windows 7, except by default they don&#8217;t run. I assume the application hasn&#8217;t been fully tested under Windows 7, and I know it can have issues with UAC and the scheduler.</p>
<p>I&#8217;ll explain the steps I&#8217;ve taken to get backup tasks to operate.<span id="more-119"></span></p>
<h2>Installation</h2>
<p>A normal installation works fine, but to insure UAC doesn&#8217;t mess with anything I use C:\DeltaCopy as the installation directory.</p>
<h2>Creating a New Copy Job</h2>
<p>I won&#8217;t go through the details of selecting directories for backup, but when selecting the scheduling option, the way the task is created needs to be modified. For example, a new job called Backup Stuff is created:</p>
<p><img class="size-full wp-image-120 alignnone" title="Backup Jobs" src="http://www.gavinadams.org/blog/wp-content/uploads/2009/10/10-22-2009-10-49-40-PM.png" alt="Backup Jobs" width="631" height="638" /></p>
<p>By default the schedule is created, but not run. Selecting the Modify Schedule button shows the created settings:</p>
<p><img class="alignnone size-full wp-image-121" title="Default schedule options" src="http://www.gavinadams.org/blog/wp-content/uploads/2009/10/10-22-2009-10-49-52-PM.png" alt="Default schedule options" width="408" height="454" /></p>
<p>As you can see, the run command reference the .dcp file, which I assume contains the parameters for the backup job. On the run command, insert deltac.exe then a space, then the .DCP file, like so:</p>
<p><img class="alignnone size-full wp-image-122" title="Modified Settings" src="http://www.gavinadams.org/blog/wp-content/uploads/2009/10/10-22-2009-11-03-28-PM.png" alt="Modified Settings" width="416" height="461" /></p>
<p>Select the Schedule tab or settings for configuring the job like any other Windows task. When you hit apply, the job should run as expected.</p>
<p>let me know if anyone runs into problems with this!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/10/22/deltacopy-on-windows-7-and-scheduled-tasks/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Beware iJango</title>
		<link>http://www.gavinadams.org/blog/2009/07/26/beware-ijango</link>
		<comments>http://www.gavinadams.org/blog/2009/07/26/beware-ijango#comments</comments>
		<pubDate>Mon, 27 Jul 2009 00:49:21 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Scam]]></category>
		<category><![CDATA[beware]]></category>
		<category><![CDATA[ijango]]></category>
		<category><![CDATA[ponzi]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=113</guid>
		<description><![CDATA[<p>I normally don&#8217;t warn people about what should be obvious scams, but our neighborhood has been hit hard with &#8220;iJango! iJango! iJango!&#8221;. Basically, it&#8217;s another multi-level marketing scam.</p>
<p>If you get queried by friends or family, visit one of the various iJango sites then take a look at this article that exposes one of the main [...]]]></description>
			<content:encoded><![CDATA[<p>I normally don&#8217;t warn people about what should be obvious scams, but our neighborhood has been hit hard with &#8220;iJango! iJango! iJango!&#8221;. Basically, it&#8217;s another multi-level marketing scam.</p>
<p><span id="more-113"></span>If you get queried by friends or family, visit one of the various <a href="http://www.goinango.com/">iJango sites</a> then take a look at <a href="http://www.clicksniper.com/ijango-scam-cameron-sharpe/">this article</a> that exposes one of the main people behind this scheme. Make sure you visit a couple other sites on both sides before making any decision.</p>
<p>From what I see in the <a href="http://www.registerijango.com/portals/1/ijangocompplan070109.pdf">compensation plan</a>, this isn&#8217;t even the typical pyramid scheme. To make money, you have to generate 3 leads. So instead of the typical 2*n growth curve, you need to see a 3*n curve. To get your original $150 back, you need to sign up 21 people (assuming a 1 level deep return).</p>
<p>Google &#8220;pyramid scheme&#8221; and ijango. Grain of salt&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/07/26/beware-ijango/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wacom Graphire Tablet and Photoshop CS4 64-Bit</title>
		<link>http://www.gavinadams.org/blog/2009/06/17/wacom-graphire-tablet-and-photoshop-cs4-64-bit</link>
		<comments>http://www.gavinadams.org/blog/2009/06/17/wacom-graphire-tablet-and-photoshop-cs4-64-bit#comments</comments>
		<pubDate>Wed, 17 Jun 2009 18:07:40 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Graphire]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=110</guid>
		<description><![CDATA[<p>Overall Photoshop CS4 Extended is running like a champ in 64-bit mode. It sees 6GB of RAM and all my plugins are working fine. However, my older Wacom Graphire tablet isn&#8217;t working for pressure sensitivty in Photoshop. There is a solution!</p>
<p>I&#8217;m running Windows 7 RC1 64-bit  (build 7100), and downloaded the corresponding driver file for [...]]]></description>
			<content:encoded><![CDATA[<p>Overall Photoshop CS4 Extended is running like a champ in 64-bit mode. It sees 6GB of RAM and all my plugins are working fine. However, my older Wacom Graphire tablet isn&#8217;t working for pressure sensitivty in Photoshop. There is a solution!</p>
<p><span id="more-110"></span>I&#8217;m running Windows 7 RC1 64-bit  (build 7100), and downloaded the corresponding driver file for my tablet (release date of Sep 10, 2007). It works fine, and pressure sensitivity works in Photoshop 32-bit and the tablet preferences. Wacom support said to download the driver for the Intuos 4 (Vista OS). The driver is <a href="http://www.wacom.com/downloads/driver-detail.php?id=194"><strong>WacomTablet_611-3.exe</strong></a> (link may change) and after removing the older driver and installing this one, all tablet features working AOK!</p>
<p>Make sure to apply the 11.0.1 Photoshop update as there are numerous complaints of tablet issues with the initial CS4 release (11.0.0).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/06/17/wacom-graphire-tablet-and-photoshop-cs4-64-bit/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Using SB-800 Speedlight in Studio</title>
		<link>http://www.gavinadams.org/blog/2009/06/05/using-sb-800-speedlight-in-studio</link>
		<comments>http://www.gavinadams.org/blog/2009/06/05/using-sb-800-speedlight-in-studio#comments</comments>
		<pubDate>Fri, 05 Jun 2009 21:36:22 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=102</guid>
		<description><![CDATA[<p>So, I have a Nikon D-200, 2x AlienBees 400 strobes, and an SB-800 speedlight that I wish to use in a three light setup. Can I trigger the two AlienBees (AB)and the SB-800 without pre-flashes? Yes.</p>
<p>There are a couple settings required on the SB-800 and the D-200, but it works well.</p>
<p>I had the AB&#8217;s setup [...]]]></description>
			<content:encoded><![CDATA[<p>So, I have a Nikon <a href="http://www.amazon.com/gp/product/B000BY52NK?ie=UTF8&amp;tag=gavada-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=B000BY52NK">D-200</a>, 2x AlienBees 400 strobes, and an <a href="http://imaging.nikon.com/products/imaging/lineup/speedlights/sb-800/index.htm">SB-800 speedlight</a> that I wish to use in a three light setup. Can I trigger the two AlienBees (AB)and the SB-800 without pre-flashes? Yes.</p>
<p><span id="more-102"></span>There are a couple settings required on the SB-800 and the D-200, but it works well.</p>
<p>I had the AB&#8217;s setup and wanted to use the SB-800 as a hair or background light. Normally I shoot in Nikon&#8217;s Creative Lighting System (CLS) which provides a great way to manage speedlights off-shoe.</p>
<p>CLS is a communication mechanism between the camera and the speedlight(s). It uses a pre-flash that unfortunately the AlienBees see, which in turn has them fire, followed by the SB-800 firing and the camera taking the shot. End result is an unlit picture.</p>
<p>So, the quick and dirty of it:</p>
<ol>
<li>AlienBees are set to fire from the on-board flash (i.e., no sync cord or remote used)</li>
<li>Camera&#8217;s built-in flash is set for manual mode (e4 set to Manual and 1/128 power, to use as the strobe/speedlight trigger)</li>
<li>SB-800 is set to SU-4 mode (hold SEL button until four boxes come up, navigate to the mode icon, select SU-4)</li>
</ol>
<p>At this point, with the camera&#8217;s built-in flash up, when it fires (at 1/128th power), both the studio lights <em>and</em> the SB-800 will fire at their respective power settings. The SB-800 in SU-4 mode can be set to manual, at which point the power can be set from full (1/1) to 1/128. Also, you can change the focus from 24mm &#8211; 105mm, or leave the diffuser on which sets it at 14mm.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/06/05/using-sb-800-speedlight-in-studio/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple OS X 10.5.7 and Jawbone Headset</title>
		<link>http://www.gavinadams.org/blog/2009/05/13/apple-os-x-1057-and-jawbone-headset</link>
		<comments>http://www.gavinadams.org/blog/2009/05/13/apple-os-x-1057-and-jawbone-headset#comments</comments>
		<pubDate>Thu, 14 May 2009 01:31:20 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=98</guid>
		<description><![CDATA[<p>Normally Apple&#8217;s operating system, OS X, works well with accessories such as my new Jawbone headset. The headset works wonderfully on the iPhone, but do a Google search for &#8220;os x jawbone bluetooth mic static&#8221; and see issues that 10.5.x has with most microphones on bluetooth headsets.</p>
<p>After installing the 10.5.7 upgrade, pairing the headset with [...]]]></description>
			<content:encoded><![CDATA[<p>Normally Apple&#8217;s operating system, OS X, works well with accessories such as my new Jawbone headset. The headset works wonderfully on the iPhone, but do a Google search for &#8220;os x jawbone bluetooth mic static&#8221; and see issues that 10.5.x has with most microphones on bluetooth headsets.<span id="more-98"></span></p>
<p>After installing the 10.5.7 upgrade, pairing the headset with the MacBook Pro, then launching Audacity, for the first time I was able to record my voice <em>and</em> play it back. Next up is Skype, Ventrilio, and my favorite IAX softphone. It looks like 10.5.7 addressed the bluetooth issues with the Jawbone, here&#8217;s hoping everyone else&#8217;s headset work well too!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/05/13/apple-os-x-1057-and-jawbone-headset/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 5.2 &#8211; Apache &#8211; Kerberos / Active Directory Authentication</title>
		<link>http://www.gavinadams.org/blog/2009/03/25/centos-52-apache-kerberos-active-directory-authentication</link>
		<comments>http://www.gavinadams.org/blog/2009/03/25/centos-52-apache-kerberos-active-directory-authentication#comments</comments>
		<pubDate>Wed, 25 Mar 2009 19:36:40 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[CentOS 5.2]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Kerberos]]></category>
		<category><![CDATA[Microsoft Windows]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=35</guid>
		<description><![CDATA[<p>Linux and Windows Active Directory (AD) integration has come a long ways since 2000. It is now quite easy to take advantage of Kerberos for managing authentication at the host level (user logins and such). Surprisingly, it&#8217;s just as easy to the same in Apache now.</p>
<p>This posting will walk you through the steps needed to [...]]]></description>
			<content:encoded><![CDATA[<p>Linux and Windows Active Directory (AD) integration has come a long ways since 2000. It is now quite easy to take advantage of Kerberos for managing authentication at the host level (user logins and such). Surprisingly, it&#8217;s just as easy to the same in Apache now.</p>
<p>This posting will walk you through the steps needed to configure and test authentication against a valid AD user.</p>
<h3>Prerequisites</h3>
<p>It is assumed the following prerequisites are in place:</p>
<ul>
<li>CentOS 5.2 Server &#8211; fully updated</li>
<li>Apache, Kerberos, and supporting packages installed</li>
<li>Samba configured as member server (net ads join has been successfully performed)</li>
<li>Windows Server 2003 R2 or 2008 SP1 with UNIX Identity Management extensions installed</li>
<li>Kerberos working (kinit from a AD user properly authenticates and klist shows tickets)</li>
</ul>
<p><span id="more-35"></span>If possible, test this from a freshly installed machine. In this example, the following servers and realms will be referenced:</p>
<pre style="padding-left: 30px;">AD Server       dc01.example.com
Linux Server    www.example.com
Computer Object www
Kerberos Realm  EXAMPLE.COM</pre>
<h3>Creating the SPN</h3>
<p>Kerberos uses a <em>service principal name </em>for each service available on the host. For a server that can authenticate against AD, this would include at least the HOST principal. From the AD server, issue the setspn command to view the current SPN&#8217;s assigned to www.example.com (use the canonical name for www, not the FQDN):</p>
<pre style="padding-left: 30px;">C:\&gt;<strong>setspn -L www</strong>
Registered ServicePrincipalNames for CN=www,CN=Computers,DC=example,DC=com:
        HOST/www
        HOST/www.example.com</pre>
<p>Now as root on www issue the command to create the HTTP SPN (the net ads command is provided by the samba packages&#8211;make sure these are installed even if they are not used):</p>
<pre style="padding-left: 30px;">[root@www /]#<strong> net ads keytab add HTTP -U administrator</strong>
Processing principals to add...
administrator's password: <strong>*******</strong></pre>
<p>The -U is used to provide an administrator account with Domain Admin privileges. This step has added the SPN which we&#8217;ll see in AD, and it has also updated the local keytab file /etc/krb5.keytab with the SPN bits.</p>
<p>To verify the SPN has been created properly, issue the same setspn command and verify there are entries for HTTP. It should look something like this:</p>
<pre style="padding-left: 30px;">C:\&gt;<strong>setspn -L www</strong>
Registered ServicePrincipalNames for CN=www,CN=Computers,DC=example,DC=com:
        HTTP/www
        HTTP/www.example.com
        HOST/www
        HOST/www.example.com</pre>
<h3>Configure Apache</h3>
<p>Make sure the package mod_auth_kerb is installed. This should create the configuration file in /etc/httpd/conf.d/auth_kerb.conf which will load the Kerberos module and provide a commented out example (which we&#8217;ll use). First, because httpd runs as apache, we need to copy the keytab file and change permissions so that apache can read it. I&#8217;ve placed it in the default specified in the auth_kerb.conf file:</p>
<pre style="padding-left: 30px;">[root@www /]#<strong> cp /etc/krb5.keytab /etc/httpd/conf/keytab2</strong>
[root@www /]# <strong>ls -l /etc/httpd/conf</strong>
total 64
-rw-r--r-- 1 root   root   33760 Mar 25 14:01 httpd.conf
---------- 1 root   root    1321 Mar 25 15:06 keytab
-rw-r--r-- 1 root   root   12958 Nov 12 10:43 magic
[root@www /]# <strong>chown apache.apache /etc/httpd/conf/keytab2</strong>
[root@www /]# <strong>chmod 400 /etc/httpd/conf/keytab2</strong>
[root@www /]# <strong>ls -l /etc/httpd/conf</strong>
total 64
-rw-r--r-- 1 root   root   33760 Mar 25 14:01 httpd.conf
-r-------- 1 apache apache  1321 Mar 25 15:06 keytab
-rw-r--r-- 1 root   root   12958 Nov 12 10:43 magic</pre>
<h3>Create an Apache Location for Testing</h3>
<p>Now modify the &#8220;private&#8221; location and uncomment the directives and set them for the realm (changes from defaults in bold):</p>
<pre style="padding-left: 30px;">[root@www /]# vi /etc/http/conf.d/auth_kerb.conf# The mod_auth_kerb module implements Kerberos authentication over
# HTTP, following the "Negotiate" protocol.
#
LoadModule auth_kerb_module modules/mod_auth_kerb.so
#
# Sample configuration: Kerberos authentication must only be
# used over SSL to prevent replay attacks.  The keytab file
# configured must be readable only by the "apache" user, and
# must contain service keys for "HTTP/www.example.com", where
# "www.example.com" is the FQDN of this server.
#

#&lt;Location /private&gt;
#  SSLRequireSSL
 AuthType Kerberos
 AuthName "Kerberos Login"
 KrbMethodNegotiate On
 KrbMethodK5Passwd <strong>On</strong>
 KrbAuthRealms <strong>EXAMPLE.COM</strong>
 Krb5KeyTab /etc/httpd/conf/keytab
 require valid-user
&lt;/Location&gt;</pre>
<p>Create the directory (/var/www/html/private) and a test HTML file in the directory (index.html). Restart httpd and navigate to the URL (http://www.example.com/private/index.html). You should be prompted for credentials. Using a valid AD user and password should get you in. A side benefit is that if logged into a workstation within the domain (e.g., Windows XP, Vista, etc), using Internet Explorer should use your Kerberos credentials to authenticate.</p>
<h3>Uses</h3>
<p>For production use, any application or web service that can use Apache&#8217;s authentication mechanisms should work. Take care to understand that even if you enter a short username, the realm will be appended onto the end. In this example, the username gadams would appear as gadams@EXAMPLE.COM in the log files, and probably be presented to the referenced application.</p>
<h3>Credit</h3>
<p>I&#8217;d like to <a href="http://blog.scottlowe.org/" target="_blank">Scott Lowe </a>for all the articles he has done on Linux / AD / Kerberos integration, and<a href="http://blog.scottlowe.org/2006/08/10/kerberos-based-sso-with-apache/" target="_blank"> this article</a>, which was where I started my CentOS / Apache / Kerberos / AD journey. His article covers all the basics, but a lot has changed (for the better) since 2006. Thanks Scott!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/03/25/centos-52-apache-kerberos-active-directory-authentication/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>What to Install When a Hard Drive Gets Fried</title>
		<link>http://www.gavinadams.org/blog/2009/02/22/what-to-install-when-a-hard-drive-gets-fried</link>
		<comments>http://www.gavinadams.org/blog/2009/02/22/what-to-install-when-a-hard-drive-gets-fried#comments</comments>
		<pubDate>Sun, 22 Feb 2009 21:20:00 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=31</guid>
		<description><![CDATA[<p>When it&#8217;s time to lay down a new operating system on Intel system, do you go for:</p>

Windows Vista?
Linux?
Windows XP?
Hackintosh?
Windows 7 Beta?

<p>We recently had some bad weather here in North Georgia. Tornadoes, power lines down, etc. I came home from a business trip to my main PC with a failed power supply. No worries I thought, [...]]]></description>
			<content:encoded><![CDATA[<p>When it&#8217;s time to lay down a new operating system on Intel system, do you go for:</p>
<ul>
<li>Windows Vista?</li>
<li>Linux?</li>
<li>Windows XP?</li>
<li>Hackintosh?</li>
<li>Windows 7 Beta?</li>
</ul>
<p><span id="more-31"></span>We recently had some bad weather here in North Georgia. Tornadoes, power lines down, etc. I came home from a business trip to my main PC with a failed power supply. No worries I thought, off to Fry&#8217;s for a replacement.</p>
<p>Since I haven&#8217;t upgraded my PC in a couple years, I went with a modular power supply, high efficiency, etc. The problem with installing such a power supply in an Antec P180 case (still my favorite for quietness) is that the modular connectors need to be put in place after the power supply has been mounted.</p>
<p>That&#8217;s when I found out that the PCI-E connector (8 pin) will accept the SATA power connector (6 pin). Hook everything up and power up the PC. BIOS POST starts, but states in cannot see any hard disk drives. Sure enough they aren&#8217;t spinning, and by the way, what is that burning smell?? Oh noes!!!!</p>
<p>PCI-E provides a 12V rail while SATA drives prefer a more sedate 5V input. Needless to say, both drives smoked. Another trip to Fry&#8217;s and a 1TB Seagate later (that doesn&#8217;t have the firmware issue of the earlier Barrcudas), and it&#8217;s time to install an OS.</p>
<h2>Windows Vista</h2>
<p>The most obvious choice for home users. It&#8217;s the current operating system sold by Microsoft, supported, etc. And, I even have two copied of Vista Ultimate at home (thanks to the Microsoft Store a couple years ago). But two years ago when I installed Vista, I struggled with it for 4-6 months before falling back to XP (32-bit).</p>
<p>At work we still have issues with Vista compatibility and speed, so it&#8217;s not my first choice.</p>
<h2>Linux</h2>
<p>I work with Linux server installs daily (RedHat, CentOS, Debian), and have installed Ubuntu on a laptop for some Cisco simulation love (GNS3). But I still want to run software that I use for photography work and general Office productivity. So, not really an option just yet. I&#8217;ll give it a year or so and revisit.</p>
<h2>Windows XP</h2>
<p>Tried and true, stable, and getting looooong in the tooth. It&#8217;s what I was running before, and even though it worked fine, there still were some issues of newer hardware not being recognized, or development support no longer provided (Logitech G15 Gaming keyboard for example).</p>
<p>It is still an option, but comes in second.</p>
<h2>Hackintosh</h2>
<p>I love my MacBook Pro and the design and operation of OS X. My PC hardware would run it fine, but that means very messy upgrades from every dot release and major OS upgrade. Plus, I still need a Windows machine to do &#8220;work&#8221; work from time to time, and Fusion doesn&#8217;t always cut it.</p>
<h2>Windows 7 Beta (Build 7000)</h2>
<p>The reviews show Windows 7 having better stability than Vista, faster than XP, and even for an &#8220;early&#8221; beta, fully functional. And since I need to become familiar with the OS that most companies will deploy post-XP, a jump into the deep end seems doable.</p>
<p>Although there still numerous applications, drivers, and other bits to install if I do go back, it&#8217;ll be good to see how others who get Windows 7 will be affected.</p>
<p>One thing I have done (and saved my butt when I smoked my hard drives) is to make sure all my documents and media (photos, songs, video, etc) are backed up on the Internet (Dropbox) or on a couple other servers locally.</p>
<p>So when that day comes in August or Septemer or whenever WIndows 7 is released, I&#8217;ll be able to simply deactive applications (Adobe, iTunes, etc), reinstall, and restore the data. It&#8217;ll still be a weekend plus job, but I did almost get two years out of the previous XP install.</p>
<p>So tune in for short posts on the results of the Windows 7 install, what works (and doesn&#8217;t), and anything I find out along the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2009/02/22/what-to-install-when-a-hard-drive-gets-fried/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iGoogle &#8211; How to Remove Left Navigation Bar</title>
		<link>http://www.gavinadams.org/blog/2008/10/20/igoogle-how-to-remove-left-navigation-bar</link>
		<comments>http://www.gavinadams.org/blog/2008/10/20/igoogle-how-to-remove-left-navigation-bar#comments</comments>
		<pubDate>Mon, 20 Oct 2008 12:51:46 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[complaint]]></category>
		<category><![CDATA[iGoogle]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=19</guid>
		<description><![CDATA[<p>Log into iGoogle recently? Are the changes on the left side not to your liking? Well, it appears that Google haven&#8217;t added an option to change it back to the way it was, but a Slashdot poster has a working solution (required Firefox and Adblock Plus). From the Slashdot post:</p>
NVW55V (994264)   on Sun [...]]]></description>
			<content:encoded><![CDATA[<p>Log into iGoogle recently? Are the changes on the left side not to your liking? Well, it appears that Google haven&#8217;t added an option to change it back to the way it was, but a Slashdot poster has a working solution (required Firefox and Adblock Plus). From the Slashdot post:</p>
<pre><a href="http://slashdot.org/%7ENVW55V">NVW55V (994264)</a> <span class="zooicon"><a href="http://tech.slashdot.org/zoo.pl?op=check&amp;type=friend&amp;uid=994264"><img title="Alter Relationship" src="http://images.slashdot.org/neutral.png" alt="Alter Relationship" width="16" height="16" /></a></span> <span id="comment_otherdetails_25436735" class="otherdetails"> on Sun 19 Oct 10:34PM (<a href="http://tech.slashdot.org/comments.pl?sid=1000779&amp;cid=25436735">#25436735</a>) </span>
<div class="commentBody">
<div id="comment_body_25436735">This Adblock Plus rule will remove the new left tab:  <strong>google.com#TD(class=leftborder)</strong></div>
</div>
</pre>
<div>Just create a new filter in Adblock Plus with the content in bold above, and refresh the iGoogle page.</div>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2008/10/20/igoogle-how-to-remove-left-navigation-bar/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>SQL Server Management Studio Access to Remote Domains</title>
		<link>http://www.gavinadams.org/blog/2008/08/05/sql-server-management-studio-access-to-remote-domains</link>
		<comments>http://www.gavinadams.org/blog/2008/08/05/sql-server-management-studio-access-to-remote-domains#comments</comments>
		<pubDate>Tue, 05 Aug 2008 18:26:04 +0000</pubDate>
		<dc:creator>me@gavinadams.org</dc:creator>
				<category><![CDATA[SQL Server 2005]]></category>

		<guid isPermaLink="false">http://www.gavinadams.org/blog/?p=14</guid>
		<description><![CDATA[<p>So you need to access a SQL Server (2005) using the SQL Server Management Studio. The server is running with Active Directory only authentication, but your laptop isn&#8217;t in the target domain and you only have access to the SQL server port (TCP 1433). What to do?</p>
<p>Well, Galin Iliev has the answer. By using the [...]]]></description>
			<content:encoded><![CDATA[<p>So you need to access a SQL Server (2005) using the SQL Server Management Studio. The server is running with Active Directory only authentication, but your laptop isn&#8217;t in the target domain and you only have access to the SQL server port (TCP 1433). What to do?</p>
<p>Well, <a href="http://www.galcho.com/Blog/PermaLink.aspx?guid=20d0d23f-9f7d-46e8-a82c-971c1118996e" target="_blank">Galin Iliev has the answer.</a> By using the<strong> runas</strong> command with the <strong>/netonly</strong> switch, you can pass credentials to the Management Studio which are used for access to the remote server. Only correction to Galin&#8217;s post is that the SQL Server Management Studio executable is sqlwb.exe instead of ssmsee.exe.</p>
<p>So for us road warrior consultants, there is a way to access AD credentialed SQL server databases without have to join a domain or have any more network access than the TCP/IP port for the SQL server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gavinadams.org/blog/2008/08/05/sql-server-management-studio-access-to-remote-domains/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
