<?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>totalnetsolutions.net</title>
	<atom:link href="http://www.totalnetsolutions.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.totalnetsolutions.net</link>
	<description>totalnetsolutions.net - Complete Networking Solutions for business</description>
	<lastBuildDate>Wed, 14 Jul 2010 14:29:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>K9Mail Hosted Exchange ActiveSync Errors Solved</title>
		<link>http://www.totalnetsolutions.net/2010/07/14/k9mail-hosted-exchange-activesync-errors-solved/</link>
		<comments>http://www.totalnetsolutions.net/2010/07/14/k9mail-hosted-exchange-activesync-errors-solved/#comments</comments>
		<pubDate>Wed, 14 Jul 2010 13:53:38 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[activesync]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[hosted exchange]]></category>
		<category><![CDATA[k9mail]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=124</guid>
		<description><![CDATA[I&#8217;ve been fighting K9Mail for weeks now, trying to get it to sync with MailStreet (http://www.mailstreet.com who hosts &#8220;exchange.ms&#8221;) hosted Exchange. If you&#8217;ve already followed the instructions at the K9Mail Wiki with no success, read on. Thanks to the k9mail wiki on debugging connection issues and the fact that I already had the Android SDK [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been fighting K9Mail for weeks now, trying to get it to sync with MailStreet (http://www.mailstreet.com who hosts &#8220;exchange.ms&#8221;) hosted Exchange.  If you&#8217;ve already followed the instructions at the <a href="http://code.google.com/p/k9mail/wiki/K9MailAndExchange" target="_blank">K9Mail Wiki</a> with no success, read on.</p>
<p>Thanks to the k9mail wiki on <a href="http://code.google.com/p/k9mail/wiki/LoggingErrors" target="_blank">debugging connection issues</a> and the fact that I already had the Android SDK installed, I was able to solve the 2 related errors I was getting.  I would either get an &#8220;HTTP 404 not found&#8221; or an &#8220;HTTP 501 Not Implemented&#8221; depending on the settings I chose.  With no additional settings other than suggested in the Wiki, I&#8217;d get a &#8220;501 not implemented&#8221;.  If I tried to set a mailbox path, or a WebDAV path, I&#8217;d get the HTTP 404 Not Found.</p>
<p>In the debugging log, I saw that the system was calling &#8220;http://mail.$domain.exchange.ms/&#8221;$webDAVpath/Inbox &#8211; if I set it to a full URL, the full URL was getting appended.  When I attempted to hit those same paths in a full browser, I&#8217;d always get an HTTP 404.  So, digging in my history in Firefox, I found the following (cleaned) path:<br />
<code>http://mail.$domain.exchange.ms/exchange/$emailaddress/</code><br />
In this case $emailaddress was my Exchange mail address with the &#8220;@&#8221; stripped out.  Appending &#8220;Inbox&#8221; to the end of this path resulted in a valid load of my OWA inbox.</p>
<p>Plugging then: <em>/exchange/$emailaddress/</em> into the WebDAV box in K9Mail, and my email immediately loaded up.</p>
<p>Now I have Android syncing my calendars and contacts, and k9mail is handling my massive inbox!</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F07%2F14%2Fk9mail-hosted-exchange-activesync-errors-solved%2F&amp;title=K9Mail+Hosted+Exchange+ActiveSync+Errors+Solved" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2010/07/14/k9mail-hosted-exchange-activesync-errors-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Device or resource busy trying to open /dev/sdx1</title>
		<link>http://www.totalnetsolutions.net/2010/02/26/device-or-resource-busy-trying-to-open-devsdx1/</link>
		<comments>http://www.totalnetsolutions.net/2010/02/26/device-or-resource-busy-trying-to-open-devsdx1/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 21:22:55 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=119</guid>
		<description><![CDATA[Because not enough information exists in easy-to-find searches: as a simple reminder &#8211; SCSI device IDs can and will change. A few months ago I hot-added a new disk to an ssh bastion host (a VM on ESX). As these things tend to go, I eventually took a maintenance window and updated firmware/BIOS/OS on the [...]]]></description>
			<content:encoded><![CDATA[<p>Because not enough information exists in easy-to-find searches: as a simple reminder &#8211; SCSI device IDs can and will change.</p>
<p>A few months ago I hot-added a new disk to an ssh bastion host (a VM on ESX).  As these things tend to go, I eventually took a maintenance window and updated firmware/BIOS/OS on the ESX host.  When the bastion VM came back online, however, I was presented with an odd error:<br />
<code><br />
[root@bastion ~]: fsck /dev/sdc1<br />
e2fsck 1.39 (29-May-2006)<br />
fsck.ext3: Device or resource busy while trying to open /dev/sdc1<br />
Filesystem mounted or opened exclusively by another program?<br />
[root@oracle1 ~]# cat /proc/mounts<br />
rootfs / rootfs rw 0 0<br />
/dev/root / ext3 rw,data=ordered 0 0<br />
/dev /dev tmpfs rw 0 0<br />
/proc /proc proc rw 0 0<br />
none /selinux selinuxfs rw 0 0<br />
devpts /dev/pts devpts rw 0 0<br />
tmpfs /dev/shm tmpfs rw 0 0<br />
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0<br />
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0<br />
[root@oracle1 ~]# cat /etc/fstab<br />
/dev/main/root          /                       ext3    defaults        1 1<br />
/dev/sdc1               /home                   ext3    defaults        1 2<br />
/dev/main/var           /var                    ext3    defaults        1 2<br />
/dev/main/tmp           /tmp                    ext3    defaults        1 2<br />
LABEL=/boot             /boot                   ext3    defaults        1 2<br />
tmpfs                   /dev/shm                tmpfs   defaults        0 0<br />
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0<br />
sysfs                   /sys                    sysfs   defaults        0 0<br />
proc                    /proc                   proc    defaults        0 0<br />
/dev/main/swap          swap                    swap    defaults        0 0<br />
# Beginning of the block added by the VMware software<br />
.host:/                 /mnt/hgfs               vmhgfs  defaults,ttl=5     0 0<br />
# End of the block added by the VMware software<br />
</code><br />
So everything in the fstab is how I left it &#8211; /dev/sdc1 is the new disk I added that is giving errors mounting.  So I thought to check for corruption on the disk, and found the problem:<br />
<code><br />
[root@oracle1 ~]# fdisk -l<br />
Disk /dev/sda: 42.9 GB, 42949672960 bytes<br />
255 heads, 63 sectors/track, 5221 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14        5221    41833260   8e  Linux LVM<br />
Disk /dev/sdb: 42.9 GB, 42949672960 bytes<br />
255 heads, 63 sectors/track, 5221 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1        5221    41937651   83  Linux<br />
Disk /dev/sdc: 32.2 GB, 32212254720 bytes<br />
255 heads, 63 sectors/track, 3916 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes<br />
   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdc1   *           1        3917    31457279+  8e  Linux LVM<br />
</code></p>
<p>So, a simple fix &#8211; change &#8220;/dev/sdc1&#8243; to &#8220;/dev/sdb1&#8243; in /etc/fstab (or to VOLUME=home), and boot back up.</p>
<p>It&#8217;s not something that&#8217;ll probably happen on this server again, but it is something to be aware of, on both VM guests and on physical servers.  This is why so many newer Linux OSes are using UUID= or VOLUME= instead of device path for SCSI disks.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2010%2F02%2F26%2Fdevice-or-resource-busy-trying-to-open-devsdx1%2F&amp;title=Device+or+resource+busy+trying+to+open+%2Fdev%2Fsdx1" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2010/02/26/device-or-resource-busy-trying-to-open-devsdx1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determining spam on Twitter</title>
		<link>http://www.totalnetsolutions.net/2009/09/17/determining-spam-on-twitter/</link>
		<comments>http://www.totalnetsolutions.net/2009/09/17/determining-spam-on-twitter/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 23:34:21 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=112</guid>
		<description><![CDATA[First written on Twitter: @docsmooth: Signs of twitspam: bio is tinyurl; &#60;100 updates, &#62;200 following/ers;all updates &#8220;from twitfeed&#8221;, inc. link; no conversation. Check yourself! I just went through my followers list on twitblock.org and thought I&#8217;d write a bit deeper on this subject. Ways to determine a twitter spammer &#8211; higher scores are more likely [...]]]></description>
			<content:encoded><![CDATA[<p>First written <a href="http://twitter.com/docsmooth/status/2437085432" target="_blank">on Twitter</a>:</p>
<blockquote><p><a href="http://www.twitter.com/docsmooth" target="_blank">@docsmooth</a>: Signs of twitspam: bio is tinyurl; &lt;100 updates, &gt;200 following/ers;all updates &#8220;from twitfeed&#8221;, inc. link; no conversation. Check yourself!</p></blockquote>
<p>I just went through my followers list on <a href="http://twitblock.org/" target="_blank">twitblock.org</a> and thought I&#8217;d write a bit deeper on this subject.</p>
<p>Ways to determine a twitter spammer &#8211; higher scores are more likely spammers:</p>
<ul>
<li>Bio link is tinyurl or bit.ly or other URL shortener.  There is *never* a reason to put this in your URL link on Twitter, unless you&#8217;re hiding the destination. +10 pts</li>
<li>you have more than 200 &#8220;friends&#8221; and less than 100 updates. +2 pts</li>
<li>you have a follower/following ratio below. .5 +2pts</li>
<li>Every single tweet has a link. +5 pts</li>
<li>Every single tweet is from TwitFeed. +5 pts</li>
<li>More than 2 tweets are from an unregistered API app. +8 pts</li>
<li>You have never @replied anyone. +1 pts</li>
</ul>
<p>I generally block anyone above a &#8220;9&#8243; score on this scale.</p>
<p>(cross-posted from my personal blog as well)</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F17%2Fdetermining-spam-on-twitter%2F&amp;title=Determining+spam+on+Twitter" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/09/17/determining-spam-on-twitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgraded WordPress</title>
		<link>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/</link>
		<comments>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 04:05:40 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=110</guid>
		<description><![CDATA[Upgrading software &#8211; always required to keep things secure.  Windows, WordPress, Mac OSx, Linux, Office, Firefox, etc.  So I just finished upgrading TotalNetSolutions.net again.  Hopefully I&#8217;ll be able to be better about this, now that WordPress does the automatic upgrades now. I&#8217;ve been doing the automatic upgrades on one of my other sites since they [...]]]></description>
			<content:encoded><![CDATA[<p>Upgrading software &#8211; always required to keep things secure.  Windows, WordPress, Mac OSx, Linux, Office, Firefox, etc.  So I just finished upgrading TotalNetSolutions.net again.  Hopefully I&#8217;ll be able to be better about this, now that WordPress does the automatic upgrades now.</p>
<p>I&#8217;ve been doing the automatic upgrades on one of my other sites since they came out.  They&#8217;re easy, fast, and even more painless than the <a href="http://codex.wordpress.org/Upgrading_WordPress" target="_blank">3-step upgrade</a> that works so well.  So now, I should be able to keep TNS much further away from the &#8220;cobbler&#8217;s kids&#8221; syndrome so many small company&#8217;s systems suffer with.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F09%2F07%2Fupgraded-wordpress%2F&amp;title=Upgraded+WordPress" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/09/07/upgraded-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>KDE 4 and TweetDeck &#8211; small issue (fixed)</title>
		<link>http://www.totalnetsolutions.net/2009/05/07/kde-4-and-tweetdeck-small-issue-fixed/</link>
		<comments>http://www.totalnetsolutions.net/2009/05/07/kde-4-and-tweetdeck-small-issue-fixed/#comments</comments>
		<pubDate>Thu, 07 May 2009 15:05:00 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[tweetdeck]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=105</guid>
		<description><![CDATA[I&#8217;ve been using TweetDeck as a Twitter client for a while now, and love it. I recently updated my main laptop from Kubuntu 8.04 to Kubuntu 9.04, and even though the ATI x1300 3d driver is broken, I&#8217;m finally getting all the little annoyances fixed up. The biggest issue I had, though, was after the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using <a href="http://www.tweetdeck.com" target="_blank">TweetDeck</a> as a Twitter client for a while now, and love it.  I recently updated my main laptop from Kubuntu 8.04 to Kubuntu 9.04, and even though the ATI x1300 3d driver is broken, I&#8217;m finally getting all the little annoyances fixed up.</p>
<p>The biggest issue I had, though, was after the upgrade, TweetDeck was just showing a blank window, with only the &#8220;Tweet/All Friends/Replies/Direct Messages/Groups/Favorites&#8221; etc. buttons on the top.  There are a lot of posts about how to run Adobe Air and TweetDeck on x64 Ubuntu, but this is a 32-bit machine, so those fixes weren&#8217;t working.</p>
<p>The fix is surprisingly simple: make sure kwallet is running with an open wallet.  Full details in a nice concise post <a href="http://peter.upfold.org.uk/blog/2009/03/01/fix-blank-window-problem-in-tweetdeck-on-kde/" target="_blank">from Peter Upfold, here</a>.  One of his commenters mentioned an issue, but I believe it turned out to be a &#8220;no wallets were open&#8221; problem.  Thanks Peter!</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F07%2Fkde-4-and-tweetdeck-small-issue-fixed%2F&amp;title=KDE+4+and+TweetDeck+%26%238211%3B+small+issue+%28fixed%29" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/05/07/kde-4-and-tweetdeck-small-issue-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn off console beep on Ubuntu 9.04</title>
		<link>http://www.totalnetsolutions.net/2009/05/04/turn-off-console-beep-on-ubuntu-904/</link>
		<comments>http://www.totalnetsolutions.net/2009/05/04/turn-off-console-beep-on-ubuntu-904/#comments</comments>
		<pubDate>Mon, 04 May 2009 22:35:13 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=103</guid>
		<description><![CDATA[It used to be that you could edit /etc/modprobe.d/blacklist and add &#8220;blacklist pcspkr&#8221; to turn off the console beeps entirely on Ubuntu / Kubuntu.  As of 9.04, the module is now called &#8220;snd_pcsp&#8221;. So, to turn off console (not X terminal, but tty) beeps, you can do one of the following: 1) (This is my [...]]]></description>
			<content:encoded><![CDATA[<p>It used to be that you could edit /etc/modprobe.d/blacklist and add &#8220;blacklist pcspkr&#8221; to turn off the console beeps entirely on Ubuntu / Kubuntu.  As of 9.04, the module is now called &#8220;snd_pcsp&#8221;.</p>
<p>So, to turn off console (not X terminal, but tty) beeps, you can do one of the following:<br />
1) (This is my preference)<br />
<code><br />
echo blacklist snd_pcsp >> /etc/modprobe.d/blacklist.conf<br />
</code> </p>
<p>2) (I&#8217;ve done this, but it doesn&#8217;t affect all software)<br />
<code><br />
for i in 1 2 3 4 5 6<br />
do<br />
        setterm -blength 0 > /dev/tty$i<br />
done</code></p>
<p>3) (Only works per shell if ~/.inputrc is included)<br />
<code><br />
echo set bell-style visible >> ~/.inputrc<br />
</code></p>
<p>Enjoy more-sane editing from ttyX in the future!</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F05%2F04%2Fturn-off-console-beep-on-ubuntu-904%2F&amp;title=Turn+off+console+beep+on+Ubuntu+9.04" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/05/04/turn-off-console-beep-on-ubuntu-904/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How good is your backup?</title>
		<link>http://www.totalnetsolutions.net/2009/03/20/how-good-is-your-backup/</link>
		<comments>http://www.totalnetsolutions.net/2009/03/20/how-good-is-your-backup/#comments</comments>
		<pubDate>Fri, 20 Mar 2009 19:23:09 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=84</guid>
		<description><![CDATA[The past week has given me major troubles.  I was tasked with performing a restore of a large database from our offsite storage.  Upon getting the tapes back I found that their indexes were no longer available and I would need to read them in from the tapes&#8230;there were only 107 tapes.  Not knowing the [...]]]></description>
			<content:encoded><![CDATA[<p>The past week has given me major troubles.  I was tasked with performing a restore of a large database from our offsite storage.  Upon getting the tapes back I found that their indexes were no longer available and I would need to read them in from the tapes&#8230;there were only 107 tapes.  Not knowing the software well enough to accomplish this quickly I contacted support, where things began to get more&#8230;&#8221;interesting&#8221;.</p>
<p>After four hours on the phone I was able to determine the two tapes that would be needed to recover the 79Gb database file and started reading in the specific saveset that was needed.  Two hours later I was able to start a restore, which failed.  2Gb of the restore file was missing.  After another two hours on the phone with support I was told &#8220;Let&#8217;s reposition the tape.  It could take a while, on newer technology I&#8217;ve seen it take an hour, on LTO1 and LTO2 drives I&#8217;ve seen it take 8 hours.&#8221;  You guessed it, I have LTO2 drives.  Fortunately I have a multitude of drives to reposition the tapes with so it won&#8217;t impact backups, unfortunately I have a time limit on the restore that&#8217;s fast approaching.</p>
<p>So what do you do when you backup your file systems?  Do you simply believe that the software you backup with validates your tapes or do you test them regularly?  Are you satisfied with seeing an email at the end of a backup routine stating &#8220;SUCCESS&#8221;?  Then answer is simply NO.  <strong>Your backups are only as good as your ability to restore from them.</strong> Keeping that in mind and all the different technologies and services available what do you choose?</p>
<p>For us the answer is simple.  We require low cost, reliable, offsite secure data storage as do most companies nowadays.  TAPE.  We&#8217;ve looked into collocated services and replicated SANs with virtual tape backup but the cost far exceeds it&#8217;s benefits.  Tape technology has been proven over and over for decades.  There is no cost effective replacement for a good old fashioned tape, even taking into consideration the troubles it can give you.  Our entire datacenter can be put onto 6 tapes costing $25 each.  4.8TB for $150.</p>
<p>Any good backup initiative should be followed up with an equally adequate restore plan.  So next time you recommend a backup solution plan a regular restore plan to test because there&#8217;s nothing worse than spending an entire week restoring one file.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F20%2Fhow-good-is-your-backup%2F&amp;title=How+good+is+your+backup%3F" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/03/20/how-good-is-your-backup/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Samba on Likewise Open &#8211; errors with machine accounts</title>
		<link>http://www.totalnetsolutions.net/2009/03/05/samba-on-likewise-open-errors-with-machine-accounts/</link>
		<comments>http://www.totalnetsolutions.net/2009/03/05/samba-on-likewise-open-errors-with-machine-accounts/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 05:39:48 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Open Source Software]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[likewise]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[scripts]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=73</guid>
		<description><![CDATA[We&#8217;ve had a few customers and Open users posting about problems with machine accounts trying to access Samba shares and getting denied with: smbd/sesssetup.c:reply_spnego_kerberos(439) Username DOM\COMPUTER1$ is invalid on this system The &#8220;$&#8221; at the end of the account name means it&#8217;s a computer account, not a user. We&#8217;re seeing this for Citrix MetaFrame application [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve had a few customers and Open users posting about problems with machine accounts trying to access Samba shares and getting denied with:<br />
<code>smbd/sesssetup.c:reply_spnego_kerberos(439) Username DOM\COMPUTER1$ is invalid on this system</code><br />
The &#8220;$&#8221; at the end of the account name means it&#8217;s a computer account, not a user.  We&#8217;re seeing this for Citrix MetaFrame application servers on shared storage, startup scripts not stored on a DC, and several other cases.</p>
<p>On a Samba server joined to AD with winbind, this is easy to deal with because Samba&#8217;s winbind can treat the computer accounts just like user accounts, and assign them access to the unix filesystem with whatever backend has been configured.  When a Samba server is joined with Likewise, however, the machine accounts are not visible, and the &#8220;username is invalid&#8221; message comes up.</p>
<p>Fortunately, Samba gives us a method to handle this, in form of the &#8220;username map&#8221; directive in /etc/samba/smb.conf.  There are two ways to use this, the first is with the username map file.<br />
In smb.conf, to simply add:<br />
<code>  [global ]<br />
      username map = /etc/samba/smbusers</code><br />
then create a file named <code>/etc/samba/smbusers</code> and populate it with localuser=aduser pairs, like:<br />
<code>COMPUTER1$ = compacct<br />
COMPUTER2$ = compacct<br />
CITRIXFARM1$ = citrxact</code><br />
and so on.  Lastly, you&#8217;ll have to add the local accounts from the pairs above:<br />
<code>useradd -c "Account for AD Computers to use Samba" compacct -G users -u 998<br />
useradd -c "Account for AD Citrix Servers to use Samba" citrxact -G users -u 999</code><br />
Then, whenever one of the AD computers in the list attempts to access the Samba share, it&#8217;ll be mapped to the local account.  </p>
<p>The problem with this is when you have a lot of servers, like a Citrix MetaFrame farm, or a Windows Server 2008 R2 Remote Desktop Services farm, that may be changing frequently, because managing that file could get hard. In this case there is the <code>username map script</code> directive, which is added to smb.conf as:<br />
<code>  [global ]<br />
        username map script = /usr/lib/samba/auth/machine-acct-map.pl</code><br />
Then download <a href='http://www.totalnetsolutions.net/wp-content/uploads/2009/03/machine-acct-mappl.txt'>this script</a> and save it in <code>/usr/lib/samba/auth/</code> and make it executable (<code>chmod +x /usr/lib/samba/auth/machine-acct-map.pl</code>).  Then run:<br />
<code>useradd -c "Account for AD Computers to use Samba" compacct -G users -u 998</code><br />
Now, all computers which access the share will be remapped to the &#8220;compacct&#8221; user, and you won&#8217;t have to manage a file for every time the server farm changes.</p>
<p><a href='http://www.totalnetsolutions.net/wp-content/uploads/2009/03/machine-acct-mappl.txt'>Get the file here.</a></p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F03%2F05%2Fsamba-on-likewise-open-errors-with-machine-accounts%2F&amp;title=Samba+on+Likewise+Open+%26%238211%3B+errors+with+machine+accounts" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/03/05/samba-on-likewise-open-errors-with-machine-accounts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IT By Voodoo</title>
		<link>http://www.totalnetsolutions.net/2009/02/17/it-by-voodoo/</link>
		<comments>http://www.totalnetsolutions.net/2009/02/17/it-by-voodoo/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 21:43:40 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=71</guid>
		<description><![CDATA[aka: Technology by Voodoo, Information Technology by Voodoo, Troubleshooting by Voodoo, Administration by Voodoo, Troubleshooting by Faith, etc. The act of &#8220;trusting&#8221; that a computer will do something every time the same way, only because it did the last 2 times you tried it. The alternative is to actually learn what the computer is doing, [...]]]></description>
			<content:encoded><![CDATA[<p>aka: Technology by Voodoo, Information Technology by Voodoo, Troubleshooting by Voodoo, Administration by Voodoo, Troubleshooting by Faith, etc.</p>
<p>The act of &#8220;trusting&#8221; that a computer will do something every time the same way, only because it did the last 2 times you tried it.</p>
<p>The alternative is to actually learn what the computer is doing, so that you can know it will do the same thing each time, because you&#8217;ve controlled all of the appropriate parameters.</p>
<p>Usage: &#8220;This sysadmin is performing IT by Voodoo &#8211; he just asked if I have faith that my file copy will work.&#8221;</p>
<p>Now that it&#8217;s defined, can we all stop doing it?  There&#8217;s enough resources on the internet to figure out how anything works down to the API call at least, and in some cases down to the processor registers, if you care to go that far.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F02%2F17%2Fit-by-voodoo%2F&amp;title=IT+By+Voodoo" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/02/17/it-by-voodoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare Workstation and Ubuntu 8.10</title>
		<link>http://www.totalnetsolutions.net/2009/01/02/vmware-workstation-and-ubuntu-810/</link>
		<comments>http://www.totalnetsolutions.net/2009/01/02/vmware-workstation-and-ubuntu-810/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 17:50:12 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/?p=68</guid>
		<description><![CDATA[I just finished my upgrade from Kubuntu 8.04 to 8.10 this past week (since I had downtime from work, I could afford to break things for a few days).  The upgrade went great, and I&#8217;ll write about it shortly, once I get used to the newness. Anyways; Workstation 6.5 has been giving me problems.  Because [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished my upgrade from Kubuntu 8.04 to 8.10 this past week (since I had downtime from work, I could afford to break things for a few days).  The upgrade went great, and I&#8217;ll write about it shortly, once I get used to the newness.</p>
<p>Anyways; Workstation 6.5 has been giving me problems.  Because of the newness of KDE4, I initially thought it was a KDE problem, but it turns out it&#8217;s something between Workstation 6.5 and Ubuntu 8.10.  I just ran the &#8220;adapt &#8211;dist-upgrade-devel&#8221; command from the Ubuntu wiki to upgrade, and upon reboot, I couldn&#8217;t &#8220;ctrl-alt-ins&#8221; or &#8220;ctrl-alt-del&#8221; to log into my Windows VM, my &#8220;Windows/Start&#8221; key on the keyboard wouldn&#8217;t respond, and my arrow keys wouldn&#8217;t work.  Incredibly, when I&#8217;d hit the &#8220;down&#8221; arrow, I&#8217;d get the Windows Start menu pop up!!</p>
<p>Fix is easy, edit /etc/vmware/config and add the line below like:<br />
<code><br />
sudo vim /etc/vmware/config<br />
:$<br />
A  (that's vi-command for "go to the end of the file, and start writing a new line")<br />
xkeymap.nokeycodeMap = true<br />
</code></p>
<p>Have to restart your VMs for this change to take effect.  Thanks to <a href="http://www.yellow-bricks.com/2008/11/19/vmware-workstation-ubuntu-ctrl-alt-ins-not-working/" target="_blank">Duncan Epping</a> for this fix (he posted it in the forums, where I found it).</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2009%2F01%2F02%2Fvmware-workstation-and-ubuntu-810%2F&amp;title=VMWare+Workstation+and+Ubuntu+8.10" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2009/01/02/vmware-workstation-and-ubuntu-810/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
