<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.2.2" -->
<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/"
	>

<channel>
	<title>this is erik</title>
	<link>http://erikerikerik.com/blog</link>
	<description>kill -9 $(pgrep nonsense )</description>
	<pubDate>Wed, 19 Mar 2008 16:13:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>
	<language>en</language>
			<item>
		<title>If the vice president was peanut butter?</title>
		<link>http://erikerikerik.com/blog/blurt/if-the-vice-president-was-peanut-butter</link>
		<comments>http://erikerikerik.com/blog/blurt/if-the-vice-president-was-peanut-butter#comments</comments>
		<pubDate>Wed, 19 Mar 2008 16:13:30 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/if-the-vice-president-was-peanut-butter</guid>
		<description><![CDATA[I had a dream last night that I was the president of the US, dressed in the usual garb, and my right-hand man, the vice president, was a jar of talking peanut butter.
I remember saying &#8220;Whatever it is, that&#8217;s not going to work&#8221; and it agreed.
]]></description>
			<content:encoded><![CDATA[<p>I had a dream last night that I was the president of the US, dressed in the usual garb, and my right-hand man, the vice president, was a jar of talking peanut butter.</p>
<p>I remember saying &#8220;Whatever it is, that&#8217;s not going to work&#8221; and it agreed.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/if-the-vice-president-was-peanut-butter/feed</wfw:commentRss>
		</item>
		<item>
		<title>ubuntu+intel865+westinghouse L2046NV</title>
		<link>http://erikerikerik.com/blog/blurt/ubuntuintel865westinghouse-l2046nv</link>
		<comments>http://erikerikerik.com/blog/blurt/ubuntuintel865westinghouse-l2046nv#comments</comments>
		<pubDate>Sat, 02 Feb 2008 10:01:13 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/ubuntuintel865westinghouse-l2046nv</guid>
		<description><![CDATA[After 2 hours of nonsense, I came across mode lines for xorg.conf that work with my L2046NV 21&#8243; display made by westinginghouse.
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054
1087 -hsync +vsync
modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054
1096 -hsync +vsync
so.. hope that helps someone other than me.
]]></description>
			<content:encoded><![CDATA[<p>After 2 hours of nonsense, I came across mode lines for xorg.conf that work with my L2046NV 21&#8243; display made by westinginghouse.</p>
<p><code>  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054<br />
1087 -hsync +vsync<br />
modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054<br />
1096 -hsync +vsync</code></p>
<p>so.. hope that helps someone other than me.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/ubuntuintel865westinghouse-l2046nv/feed</wfw:commentRss>
		</item>
		<item>
		<title>SSH login using LDAP Authentication</title>
		<link>http://erikerikerik.com/blog/blurt/ssh-login-using-ldap-authentication</link>
		<comments>http://erikerikerik.com/blog/blurt/ssh-login-using-ldap-authentication#comments</comments>
		<pubDate>Thu, 08 Nov 2007 21:07:01 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/ssh-login-using-ldap-authentication</guid>
		<description><![CDATA[Round and round the web I went, looking for a way to allow a user to
SSH into a linux box using an LDAP login (actually an AD account, but
it&#8217;s all the same when it comes to this scenario).  I ran down the
libnss_ldap+pam_ldap path, which, for the record, is not what you&#8217;re
looking for unless you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>Round and round the web I went, looking for a way to allow a user to<br />
SSH into a linux box using an LDAP login (actually an AD account, but<br />
it&#8217;s all the same when it comes to this scenario).  I ran down the<br />
libnss_ldap+pam_ldap path, which, for the record, is not what you&#8217;re<br />
looking for unless you&#8217;re looking to completely integrate the box with<br />
AD, and that proved to be unsuccessful.  After asking a co-worker, it<br />
turns out the solution is easy as pie.</p>
<p>Here&#8217;s the rig:  AD ldap to auth against, ubuntu 6.06 box with ssh<br />
configured.  Generally, LDAP/AD will require an account to query with,<br />
so you&#8217;ll need that info along with the desired AD account to be used<br />
for logging into SSH.</p>
<p>items needed:</p>
<ul>
<li> sudo access</li>
<li> the LDAP user account</li>
<li> LDAP server dns/ip address</li>
<li> LDAP query account information: username and password</li>
<li> know the LDAP path to user accounts</li>
<li> fingers! (to type)</li>
</ul>
<p>1. Add the user LDAP/AD account as a regular user to the system:<br />
<code> # sudo adduser  </code><br />
Note: the password you enter here isn&#8217;t going to be used, but you<br />
still want to use a strong password and take note of it.</p>
<p>2. Install ldap-utils libpam-ldap:<br />
<code> # sudo apt-get install ldap-utils libpam-ldap </code></p>
<p>3. Backup then modify /etc/pam_ldap.conf<br />
<code> # sudo cp /etc/pam_ldap.conf /etc/pam_ldap.conf.bak; sudo vim<br />
/etc/pam_ldap.conf </code><br />
There&#8217;s going to be some interesting things in this file, but for now,<br />
comment everything out by adding a pound sign (#) to the beginning of<br />
every line that doesn&#8217;t have one already.  At the bottom (or top -<br />
whichever), you&#8217;ll want to enter:<br />
<code>host &lt;ldap server dns name&gt;<br />
base  &lt;ldap path to user accounts&gt;<br />
ldap_version 3<br />
binddn   &lt;ldap authentication account for queries&gt;<br />
bindpw  &lt;ldap authentication account password&gt;<br />
pam_password crypt<br />
pam_login_attribute  name<br />
</code><br />
Where&#8230;.<br />
&lt;ldap server dns name&gt;     -&gt; ldapserver.example.com<br />
&lt;ldap path to user accounts&gt;    -&gt; ou=Users,dn=ldapserver,dn=example,dn=com<br />
&lt;ldap authentication account for queries&gt; -&gt;  cn=ldapdude,ou=Service<br />
accounts,dn=ldapserver,dn=example,dn=com<br />
&lt;ldap authentication account password&gt; -&gt; unencrypted password for the<br />
above LDAP query account<br />
*Note - in other howtos you may see pam_password being used as:<br />
<code> pam_password  ad </code><br />
This isn&#8217;t necessary for this scenario; it&#8217;s only requred if you&#8217;re<br />
fully integrating the box into an LDAP/AD.</p>
<p>4. Backup and modify /etc/pam.d/common-auth:<br />
<code># sudo cp /etc/pam.d/common-auth /etc/pam.d/common-auth.bak;<br />
sudo vim /etc/pam.d/common-auth</code><br />
Add this line:<br />
<code>auth    sufficient      pam_ldap.so debug </code><br />
Above the one that reads something similar to this:<br />
<code>auth    required        pam_unix.so </code><br />
It&#8217;s got to be above it because the pam methods are read top-down.</p>
<p>5. Completo:  try ssh&#8217;ing in using your LDAP user account via SSH from<br />
another box.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/ssh-login-using-ldap-authentication/feed</wfw:commentRss>
		</item>
		<item>
		<title>vista&#8230; vista&#8230; vista&#8230;</title>
		<link>http://erikerikerik.com/blog/blurt/vista-vista-vista</link>
		<comments>http://erikerikerik.com/blog/blurt/vista-vista-vista#comments</comments>
		<pubDate>Wed, 03 Oct 2007 22:55:16 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/vista-vista-vista</guid>
		<description><![CDATA[So I just set up a Windows Vista box and let me say the User Access
Control stuff can be quite the pain (if you&#8217;re a computer-oriented
person, I&#8217;m sure you&#8217;ve read the woes).  I wanted to start putty&#8217;s
command line guy, plink, to ssh over to the computer I&#8217;m using as a synergy server and
then the [...]]]></description>
			<content:encoded><![CDATA[<p>So I just set up a Windows Vista box and let me say the User Access<br />
Control stuff can be quite the pain (if you&#8217;re a computer-oriented<br />
person, I&#8217;m sure you&#8217;ve read the woes).  I wanted to start putty&#8217;s<br />
command line guy, plink, to ssh over to the computer I&#8217;m using <a href="http://synergy2.sourceforge.net/">as a synergy server</a> and<br />
then the windows synergy client, synergyc&#8230;.Both require<br />
administrative rights and I ran into problems. It&#8217;s not as easy as<br />
adding a shortcut to the Startup items with the correct parameters<br />
anymore, but it&#8217;s also not as painful as it seemed.  The first problem<br />
was that Windows Defender wouldn&#8217;t let the shortcut execute a program<br />
that wasn&#8217;t signed/published by microsoft&#8230; Boo.  Lame.  It would let<br />
me know that it didn&#8217;t execute them and once I checked Windows<br />
Defender, there&#8217;s no way for me to approve the application. In the<br />
end, I had to create a task using the Task Scheduler and set the<br />
&#8220;Trigger&#8221; to &#8220;on login&#8221;, then open the properties of this task, and<br />
check the box that says &#8220;Run with highest privileges.&#8221;</p>
<p>I&#8217;m still scratching my head as to where some items are in Vista, and<br />
usually it takes a second to sift through the new menus&#8230; I&#8217;m not a<br />
fan of what was redesigned at all, but what can I do.  Thank ye gods<br />
that this isn&#8217;t my primary machine&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/vista-vista-vista/feed</wfw:commentRss>
		</item>
		<item>
		<title>i heart this</title>
		<link>http://erikerikerik.com/blog/blurt/i-heart-this</link>
		<comments>http://erikerikerik.com/blog/blurt/i-heart-this#comments</comments>
		<pubDate>Wed, 12 Sep 2007 23:10:10 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/i-heart-this</guid>
		<description><![CDATA[ return [alist for alist in listlists if alist.find(pattern) !=
-1] 
it&#8217;s my favorite pythonism.
and remember&#8230; sed is your friend.  no matter what he acts like.
]]></description>
			<content:encoded><![CDATA[<p><code> return [alist for alist in listlists if alist.find(pattern) !=<br />
-1] </code></p>
<p>it&#8217;s my favorite pythonism.</p>
<p>and remember&#8230; sed is your friend.  no matter what he acts like.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/i-heart-this/feed</wfw:commentRss>
		</item>
		<item>
		<title>moving from mac to mac&#8230;</title>
		<link>http://erikerikerik.com/blog/blurt/moving-from-mac-to-mac</link>
		<comments>http://erikerikerik.com/blog/blurt/moving-from-mac-to-mac#comments</comments>
		<pubDate>Wed, 12 Sep 2007 18:49:07 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/moving-from-mac-to-mac</guid>
		<description><![CDATA[Today I moved everything on my macbook pro to another macbook pro
because I apparently jumped the gun and assumed that the notebook that
I signed for was the one ordered for me&#8230; luckily it wasn&#8217;t that big
of a deal.
I used the &#8220;transfer profile&#8221; and selected to transfer everything
possible&#8230; it took about 30 minutes and it came [...]]]></description>
			<content:encoded><![CDATA[<p>Today I moved everything on my macbook pro to another macbook pro<br />
because I apparently jumped the gun and assumed that the notebook that<br />
I signed for was the one ordered for me&#8230; luckily it wasn&#8217;t that big<br />
of a deal.</p>
<p>I used the &#8220;transfer profile&#8221; and selected to transfer everything<br />
possible&#8230; it took about 30 minutes and it came out clean, the<br />
exception being that the launcher somehow lost links to certain apps.</p>
<p>I started fiddling around with my development environment and<br />
VMWareFusion couldn&#8217;t run my ubuntu 7.04 virtual machne, giving me an<br />
error of  &#8220;failed to connect to peer process.&#8221;  I re-ran the install<br />
(luckily I kept the damage file), and everything was right and tight,<br />
until I went to use SSHFS to mount the VM hard drive.  SSHFS wasn&#8217;t<br />
connecting so I had to reinstall the MacFUSE-Core package.  *check*<br />
That&#8217;s working now&#8230; until&#8230; I sudo -i on my new(er) macbook and try<br />
to ssh to the VM&#8230; AH! it didn&#8217;t move over the ssh keys I&#8217;d generated<br />
for root on this box.  Thumbdrive to the rescue.</p>
<p>So far&#8230; so good, except for hitting the remote machines out there;<br />
my IP address is different because the nic has a different mac address<br />
and I won&#8217;t be able to hit any (all two) of them because of iptables<br />
filters.  I&#8217;ve got what I need here, so lets get back to coding some<br />
python!</p>
<p>THAT IS ALL!</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/moving-from-mac-to-mac/feed</wfw:commentRss>
		</item>
		<item>
		<title>dude.. gmail wordpress.. wtf</title>
		<link>http://erikerikerik.com/blog/blurt/dude-gmail-wordpress-wtf</link>
		<comments>http://erikerikerik.com/blog/blurt/dude-gmail-wordpress-wtf#comments</comments>
		<pubDate>Sat, 08 Sep 2007 23:02:12 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/dude-gmail-wordpress-wtf</guid>
		<description><![CDATA[blogging by email wasn&#8217;t working at all&#8230; it wasn&#8217;t parsing the body
of the email so the post had a title but no content.  I found a fix (lets hope - this is the actual test)..
 Set the encoding to UTF-8 instead of plain text.  Turns out I had to patch wordpress  - file: includes/class-pop3.php&#8230;  [...]]]></description>
			<content:encoded><![CDATA[<p>blogging by email wasn&#8217;t working at all&#8230; it wasn&#8217;t parsing the body<br />
of the email so the post had a title but no content.  I found a fix (lets hope - this is the actual test)..<br />
<strike> Set the encoding to UTF-8 instead of plain text.</strike>  Turns out I had to patch wordpress  - file: includes/class-pop3.php&#8230;  <a href="http://trac.wordpress.org/attachment/ticket/4337/class-pop3.php.patch" title="include/class-pop3.php" target="_blank">see the deets here.</a>  boo.  plain text<br />
kicks way more arse.</p>
<p>THAT IS ALL!</p>
<p>*edits were made&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/dude-gmail-wordpress-wtf/feed</wfw:commentRss>
		</item>
		<item>
		<title>lets make a tunnel!</title>
		<link>http://erikerikerik.com/blog/blurt/lets-make-a-tunnel</link>
		<comments>http://erikerikerik.com/blog/blurt/lets-make-a-tunnel#comments</comments>
		<pubDate>Sat, 08 Sep 2007 21:44:49 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/blurt/lets-make-a-tunnel</guid>
		<description><![CDATA[I&#8217;m sitting on an unsecure wireless network and I&#8217;d like to send my
traffic back to the office so I whipped out&#8230;.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sitting on an unsecure wireless network and I&#8217;d like to send my<br />
traffic back to the office so I whipped out&#8230;.  <a href="http://erikerikerik.com/blog/blurt/lets-make-a-tunnel#more-4" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/lets-make-a-tunnel/feed</wfw:commentRss>
		</item>
		<item>
		<title>alas! he returns!</title>
		<link>http://erikerikerik.com/blog/blurt/alas-he-returns</link>
		<comments>http://erikerikerik.com/blog/blurt/alas-he-returns#comments</comments>
		<pubDate>Sat, 08 Sep 2007 19:16:06 +0000</pubDate>
		<dc:creator>erik</dc:creator>
		
		<category><![CDATA[blurt]]></category>

		<guid isPermaLink="false">http://erikerikerik.com/blog/http:/erikerikerik.com/blurt/alas-he-returns</guid>
		<description><![CDATA[Welcome back, gang.  I&#8217;m starting this again to help document interesting things I deal with in the realm of technology and probably some other nonsense.  I&#8217;m trying out this &#8220;blog-by-email&#8221; feature, too, so that&#8217;s going to simplify posting.  Alright.  That is all!
Back to the Lone Star Ruby Conference!
]]></description>
			<content:encoded><![CDATA[<p>Welcome back, gang.  I&#8217;m starting this again to help document interesting things I deal with in the realm of technology and probably some other nonsense.  I&#8217;m trying out this &#8220;blog-by-email&#8221; feature, too, so that&#8217;s going to simplify posting.  Alright.  That is all!<br />
Back to the Lone Star Ruby Conference!</p>
]]></content:encoded>
			<wfw:commentRss>http://erikerikerik.com/blog/blurt/alas-he-returns/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

