<?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>Snowulf &#187; Linux</title>
	<atom:link href="http://snowulf.com/category/Linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://snowulf.com</link>
	<description>Please, leave a comment, we get so lonely...</description>
	<lastBuildDate>Wed, 08 Sep 2010 17:00:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Hard to buy books via Brick &amp; Mortar</title>
		<link>http://snowulf.com/2010/08/31/hard-to-buy-books-via-brick-mortar/</link>
		<comments>http://snowulf.com/2010/08/31/hard-to-buy-books-via-brick-mortar/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 17:00:01 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Anime]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[Borders]]></category>
		<category><![CDATA[brick and mortar]]></category>
		<category><![CDATA[Chobits Omnibus]]></category>
		<category><![CDATA[LPI]]></category>
		<category><![CDATA[Offical Ubuntu Server Book]]></category>
		<category><![CDATA[PLI Linux Certification]]></category>
		<category><![CDATA[Starbucks]]></category>
		<category><![CDATA[Ubuntu Pocket Reference]]></category>
		<category><![CDATA[Ubuntu Up and Running]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1841</guid>
		<description><![CDATA[This weekend I randomly wandered my way into the local Borders to burn some time.  While I was there I found three books that caught my eye: The Official Ubuntu Server Book, LPI Linux Certification in a Nutshell and the Chobits Omnibus (Book 1).  Even though I love myself some Amazon, I am still all [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend I randomly wandered my way into the local Borders to burn some time.  While I was there I found three books that caught my eye: <a href="http://www.amazon.com/gp/product/0137081332/?tag=snowulf-20" title="[amazon] Official Ubuntu Server Book, The (2nd Edition) [Paperback]">The Official Ubuntu Server Book</a>, <a href="http://www.amazon.com/Linux-Certification-Nutshell-Adam-Haeder/dp/0596804873/?tag=snowulf-20" title="[amazon] LPI Linux Certification in a Nutshell [Paperback]">LPI Linux Certification in a Nutshell</a> and the <a href="http://www.amazon.com/Chobits-Omnibus-Book-1-CLAMP/dp/1595824510/?tag=snowulf-20" title="[amazon] Chobits Omnibus Edition Book 1 [Paperback]">Chobits Omnibus (Book 1)</a>.  Even though I love myself some Amazon, I am still all for supporting the local brick and mortar businesses.  If I need a book post haste, or if it is only a couple bucks more in store, I will buy it offline.  That being said, I try to a savvy shopper.  So I took the price tags on the books and then compared that to the Amazon.com price.  Sadly, I left the store empty handed.</p>
<p><span id="more-1841"></span>Of the three books I looked at, Chobits was the closest I came to actually buying.  In Borders it is <a href="http://www.borders.com/online/store/TitleDetail?sku=1595824510" title="[borders] Chobits 1">$24.99</a>, on Amazon it is <a href="http://www.amazon.com/Chobits-Omnibus-Book-1-CLAMP/dp/1595824510/?tag=snowulf-20" title="[amazon] Chobits Omnibus Edition Book 1 [Paperback]">$17.99</a>.  I have a hard time overlooking $7, especially when the brick and mortar is going to add tax, which would make the different over $9.  I wasn&#8217;t sure if I wanted the book, which is what actually stopped me from buying that particular item.  The next two books&#8230; were much more clear cut.</p>
<p>Next on the list is The Official Ubuntu Server Book.  In Borders it is <a href="http://www.borders.com/online/store/TitleDetail?sku=0137081332" title="[borders] The Official Ubuntu Server Book">$39.99</a>, but only <a href="http://www.amazon.com/gp/product/0137081332/?tag=snowulf-20" title="[amazon] Official Ubuntu Server Book, The (2nd Edition) [Paperback]">$26.39</a> on Amazon.  A $13 difference (Plus Tax) is just not even close.  After flipping through this book, I decided it was actually quite nice and rather wanted to buy it.  So <span style="text-decoration: underline;">I purchased it from Amazon right there in Borders</span>, using my <a href="http://www.amazon.com/gp/anywhere/sms/android" title="[amazon] Amazon App for Andriod">Amazon Android</a> application. The book will be here shortly.</p>
<p>Last was the LPI Linux Certification in a Nutshell book.  In Borders it is a tech-book typical <a href="http://www.borders.com/online/store/TitleDetail?sku=0596804873" title="[borders] LPI Linux Certification in a Nutshell">$49.99</a>.  Demonstrating that it just isn&#8217;t financially feasible to use brick and mortar stores is Amazon with a price tag of just <a href="http://www.amazon.com/Linux-Certification-Nutshell-Adam-Haeder/dp/0596804873/?tag=snowulf-20" title="[amazon] LPI Linux Certification in a Nutshell [Paperback]">$31.49</a> which is an <strong>$18.50 difference</strong> (not including tax).  I realize that the $49.99 value is list price, but how can any consumer seriously consider spending 60% more on one single book, just to buy it in store.  Sure, if you absolutely, positively MUST have the book right that second, you&#8217;ve got no choice.  If I had any option whatsoever, I&#8217;d Amazon it.  $3.99 for overnight shipping is still much, much cheaper.</p>
<p>Yes, I like to be able to pick up the books and flip through them before I buy them.  Yes, I like to just browse the shelves of a bookstore.  But no, I will not pay a $39.10 premium to do so.  That is enough to go and buy a copy of <a href="http://www.amazon.com/Ubuntu-Running-Power-Users-Desktop/dp/0596804849/?tag=snowulf-20" title="[amazon] Ubuntu: Up and Running: A Power User's Desktop Guide [Paperback]">Ubuntu: Up and Running: A Power User&#8217;s Desktop Guide</a> AND the <a href="http://www.amazon.com/Ubuntu-Pocket-Guide-Reference-Thomas/dp/1440478295/?tag=snowulf-20" title="[amazon] Ubuntu Pocket Guide and Reference [Paperback]">Ubuntu Pocket Reference Guide</a> AND still have $6.00 left to buy a coffee at Starbucks.  Sorry, Borders loses.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/31/hard-to-buy-books-via-brick-mortar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>WebDAV Clients &#8211; Linux &amp; OSX</title>
		<link>http://snowulf.com/2010/08/25/webdav-clients-linux-osx/</link>
		<comments>http://snowulf.com/2010/08/25/webdav-clients-linux-osx/#comments</comments>
		<pubDate>Wed, 25 Aug 2010 17:00:46 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[share]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[WebDAV]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1792</guid>
		<description><![CDATA[After getting LDAP, Apache &#38; WebDAV working together in perfect harmony, I needed to get clients accessing the &#8220;shares&#8221; I was setting up.  Fortunately Linux &#38; OSX make this extremely easy.  Windows&#8230; is another story, a story which can only be told&#8230; tomorrow. To connect to a WebDAV share under OSX: Finder Go Connect to [...]]]></description>
			<content:encoded><![CDATA[<p>After getting<a title="[blog] Apache + WebDav + LDAP = Pure Bliss" href="http://snowulf.com/2010/08/20/apache-webdav-ldap-pure-bliss/"> LDAP, Apache &amp; WebDAV working together</a> in perfect harmony, I needed to get clients accessing the &#8220;shares&#8221; I was setting up.  Fortunately Linux &amp; OSX make this extremely easy.  Windows&#8230; is another story, a story which can only be told&#8230; tomorrow.</p>
<p><span id="more-1792"></span><strong>To connect to a WebDAV share under OSX:</strong></p>
<ul>
<li>Finder</li>
<li>Go</li>
<li>Connect to Server</li>
<li>Enter your URL &#8211; The same as you&#8217;d use in a browser (IE: <span style="text-decoration: underline;">http://fileserver.company.com/webdav/</span> )</li>
<li>Connect</li>
<li>Enter your Username &amp; Password (provided it is required &#8211; just like the web browser)</li>
<li>Connect &#8211; That&#8217;s it!</li>
</ul>
<p><strong>To connect to a WebDAV share under Linux (Ubuntu 10.04):</strong></p>
<ul>
<li>Places</li>
<li>Connect to Server</li>
<li>Service type: WebDAV</li>
<li>Fill in Port and Folder</li>
<li>Connect &#8211; That&#8217;s it!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/25/webdav-clients-linux-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache + WebDav + LDAP = Pure Bliss</title>
		<link>http://snowulf.com/2010/08/20/apache-webdav-ldap-pure-bliss/</link>
		<comments>http://snowulf.com/2010/08/20/apache-webdav-ldap-pure-bliss/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 17:00:39 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Apache 2.2]]></category>
		<category><![CDATA[mod_authnz_ldap]]></category>
		<category><![CDATA[mod_dav]]></category>
		<category><![CDATA[mod_dav_fs]]></category>
		<category><![CDATA[mod_dav_lock]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[OpenDS]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1763</guid>
		<description><![CDATA[As I discussed previously, I got fed up with Samba file sharing (when trying to use LDAP) and went to the joy that was WebDAV. As it turned out, it is extremely easy to get LDAP authentication on Apache and combine that with WebDAV; today I&#8217;ll show you how. Components used: Ubuntu 10.04 Apache 2.2 [...]]]></description>
			<content:encoded><![CDATA[<p>As I <a href="http://snowulf.com/2010/08/18/samba-and-ldap-do-not-mix/" title="[blog] Samba and LDAP DO NOT MIX">discussed previously</a>, I got fed up with Samba file sharing (when trying to use LDAP) and went to the joy that was <a href="http://en.wikipedia.org/wiki/WebDAV" title="[wiki] WebDAV">WebDAV</a>.  As it turned out, it is <span style="text-decoration: underline;">extremely</span> easy to get LDAP authentication on Apache and combine that with WebDAV; today I&#8217;ll show you how.</p>
<p><span id="more-1763"></span>Components used:</p>
<ul>
<li>Ubuntu 10.04</li>
<li>Apache 2.2</li>
<li>OpenDS 2.2 (LDAP)</li>
<li>mod_authnz_ldap, mod_dav, mod_dav_fs, mod_dav_lock &amp; mod_rewrite</li>
</ul>
<p>The process is very easy, provided you&#8217;ve got OpenDS &amp; Apache 2 already up and running.  If you need the basics of that, I&#8217;ve <a href="http://snowulf.com/2010/08/19/installing-configuring-opends-2-2-on-ubuntu-10-04/" title="[blog] Installing &#038; Configuring OpenDS 2.2 on Ubuntu 10.04">covered that in another post</a>.  I&#8217;m also assuming that LDAP is already setup with users &amp; groups.  In the following example, you&#8217;ll have 3 groups: &#8220;All&#8221; which contains a list of all users, &#8220;One&#8221; which only gets access to the &#8216;share&#8217; folder of &#8216;one&#8217;, and &#8220;Two&#8221; which is the same concept as &#8220;One&#8221;.  Note: I used OpenDS Static Groups, I have no idea if Dynamic Groups or Virtual Static Groups will work.</p>
<ul>
<li>mkdir /home/webdav; mkdir /home/webdav/one; mkdir /home/webdav/two; mkdir /home/webdav/public</li>
<li>chown -R www-data.www-data /home/webdav</li>
<li>chmod -R 755 /home/webdav</li>
<li>chmod a-w /home/webdav</li>
<li>a2enmod authnz_ldap dav dav_fs dav_lock rewrite</li>
<li>nano /etc/apache2/sites-enabled/000-default</li>
<li>Add the following to the bottom of the file before <em>&lt;/VirtualHosts&gt;</em></li>
</ul>
<pre>Alias /webdav/ "/home/webdav/"

&lt;Directory /home/webdav&gt;
 Options Indexes FollowSymLinks MultiViews
 AllowOverride AuthConfig
 Order allow,deny
 allow from all
&lt;/Directory&gt;
DavLockDB /tmp/DavLock

RewriteEngine On
RewriteRule ^/webdav$ /webdav/ [R=301]

&lt;Location /webdav&gt;
 Dav On
 AuthName DAV
 AuthType Basic
 AuthBasicProvider ldap
 AuthzLDAPAuthoritative on
 AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=<strong>DOMAIN</strong>,dc=TLD?uid?sub?(objectClass=*)" NONE
 AuthLDAPGroupAttributeIsDN on
 AuthLDAPBindDN cn=<strong>USERNAMEHERE</strong>
 AuthLDAPBindPassword <strong>PASSWORDHERE</strong>
 Require ldap-group cn=All,ou=Groups,dc=<strong>DOMAIN</strong>,dc=TLD
&lt;/Location&gt;

&lt;Location /webdav/one&gt;
 AuthName DAV
 AuthType Basic
 AuthBasicProvider ldap
 AuthzLDAPAuthoritative on
 AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=<strong>DOMAIN</strong>,dc=TLD?uid?sub?(objectClass=*)" NONE
 AuthLDAPGroupAttributeIsDN on
 AuthLDAPBindDN cn=<strong>USERNAMEHERE</strong>
 AuthLDAPBindPassword <strong>PASSWORDHERE</strong>
 Require ldap-group cn=One,ou=Groups,dc=<strong>DOMAIN</strong>,dc=TLD
&lt;/Location&gt;

&lt;Location /webdav/two&gt;
 AuthName DAV
 AuthType Basic
 AuthBasicProvider ldap
 AuthzLDAPAuthoritative on
 AuthLDAPURL "ldap://127.0.0.1:389/ou=People,dc=<strong>DOMAIN</strong>,dc=TLD?uid?sub?(objectClass=*)" NONE
 AuthLDAPGroupAttributeIsDN on
 AuthLDAPBindDN cn=<strong>USERNAMEHERE</strong>
 AuthLDAPBindPassword <strong>PASSWORDHERE</strong>
 Require ldap-group cn=Two,ou=Groups,dc=<strong>DOMAIN</strong>,dc=TLD
&lt;/Location&gt;</pre>
<ul>
<li>/etc/init.d/apache2 restart</li>
</ul>
<p>At this point (provided you changed <strong>DOMAIN</strong>, <strong>TLD</strong>, <strong>USERNAMEHERE</strong>, and <strong>PASSWORDHERE</strong> in the above example), you should be able to point a browser to <span style="text-decoration: underline;">http://yourserver/webdav</span> and it will prompt you for your username and password.  To Apache /webdav and /webdav/ are different, but most users won&#8217;t know that, hence the redirect.  After you authenticate, provided you are in groups &#8220;One&#8221; and &#8220;Two&#8221; you should be able to see 3 folders (<em>one</em>, <em>two</em>, and <em>public</em>).  If you are not in all the groups, you will not see nor be able to access the folders (except <em>public</em>, which all authenticated users would be able to see and access).</p>
<p>If you&#8217;re using a Mac, you can use Finder &gt; Go &gt; Connect To Server with the same URL.  You should be able to simply drag and drop files on and off (like you would any other type of share).  All directories, that you&#8217;re a group member of, except the base (/webdav/ &#8211; That was the &#8216;chmod a-w&#8217; line) should be writable.  You can pop open files and edit them directly from the webdav share too.</p>
<p>Piece of cake, eh?  Without clear and concise instructions (such as above) it took me less than two hours to research, figure out, and implement.  If you can follow the instructions and have some idea what you are doing, you should be able to get WebDAV shares up and running in less than 30mn (and that&#8217;s on the outside).</p>
<p><strong>NOTE</strong>: You cannot use digest authentication, <strong>you MUST use basic authentication</strong>.  This sends passwords in clear text.  If this is internet accessible &#8211; I <span style="text-decoration: underline;">highly</span> recommend you SSL your WebDAV share.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/20/apache-webdav-ldap-pure-bliss/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Installing &amp; Configuring OpenDS 2.2 on Ubuntu 10.04</title>
		<link>http://snowulf.com/2010/08/19/installing-configuring-opends-2-2-on-ubuntu-10-04/</link>
		<comments>http://snowulf.com/2010/08/19/installing-configuring-opends-2-2-on-ubuntu-10-04/#comments</comments>
		<pubDate>Thu, 19 Aug 2010 17:00:27 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[OpenDS]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1761</guid>
		<description><![CDATA[Recently, I&#8217;ve needed to setup an open source centralized authentication server. After research and testing some of the options, I settled on OpenDS, and while I&#8217;m leery of anything running Java, I&#8217;ll admit&#8230; OpenDS is really nice. Most importantly, getting it up and running is a piece of cake. If you stop by OpenDS&#8217;s website, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="[blog] Samba and LDAP DO NOT MIX" href="http://snowulf.com/2010/08/18/samba-and-ldap-do-not-mix/">Recently</a>, I&#8217;ve needed to setup an open source centralized authentication server.  After research and testing some of the options, I settled on OpenDS, and while I&#8217;m leery of anything running Java, I&#8217;ll admit&#8230; OpenDS is really nice.  Most importantly, getting it up and running is a piece of cake.</p>
<p><span id="more-1761"></span>If you stop by <a href="http://www.opends.org/">OpenDS&#8217;s website</a>, you&#8217;ll find a big &#8220;Get 2.2 Now&#8221; button.  This does a <a title="[wiki] WebStart" href="http://en.wikipedia.org/wiki/Webstart">WebStart</a> install, which I&#8217;ve never seen before, but works fairly well on Windows and OSX environments.  I&#8217;m sure it would also work under Linux, provided I had a Linux machine that ran a GUI (which I generally don&#8217;t).  So these instructions will cover installing it from the command line, and some basic post-install configuration from the GUI (it&#8217;s just so much easier).</p>
<ul>
<li>apt-get install python-software-properties</li>
<li>add-apt-repository &#8220;deb <a rel="nofollow" href="http://archive.canonical.com/">http://archive.canonical.com/</a> lucid partner&#8221;
<ul>
<li>From <a rel="nofollow" href="https://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Sun%20Java%20moved%20to%20the%20Partner%20repository">Lucid Release Notes</a></li>
</ul>
</li>
<li>apt-get update</li>
<li>apt-get install sun-java6-jre unzip</li>
<li>wget <a rel="nofollow" href="http://www.opends.org/promoted-builds/2.2.0/OpenDS-2.2.0.zip">http://www.opends.org/promoted-builds/2.2.0/OpenDS-2.2.0.zip</a></li>
<li>unzip OpenDS-2.2.0.zip</li>
<li>mv OpenDS-2.2.0 /opt/opends/</li>
<li>/opt/opends/bin/create-rc-script &#8211;outputFile /etc/init.d/opends</li>
<li>update-rc.d opends defaults</li>
<li>/etc/init.d/opends start</li>
<li>cd /opt/opends/</li>
<li>./setup</li>
<li>Answer the on screen instructions, the defaults should be acceptable in most cases, but I prefer to turn on SSL and StartTLS</li>
</ul>
<p>That&#8217;s it.  Like I said, not exactly rocket science.  If you do the WebStart on a machine with a GUI, you&#8217;ll be installed in even less time.  After that you can use the GUI to populate your server instance with useful data. So on your GUI equipped machine (which you&#8217;ve installed OpenDS onto):</p>
<ul>
<li>Launch ./opends/bin/control-panel (Or ./opends/bat/control-panel.bat &#8211; for Windows)</li>
<li>Select &#8220;Remote Server&#8221;</li>
<li>Enter the IP address</li>
<li>Leave port 4444 (unless you changed it)</li>
<li>Change &#8216;cn=Directory Manager&#8217; to your admin username</li>
<li>Enter your password</li>
<li>Ok!</li>
</ul>
<p>At this point there are two important screens for someone who wants to get up and running pronto:</p>
<ul>
<li>Schema &gt; Manage Schema &#8211; The allows you to see what schema is built into OpenDS (basically everything in the LDAP RFC&#8217;s) and lets you add your own schema.  Simply hit &#8220;New Attribute&#8221; or &#8220;New Object Class&#8221;</li>
<li>Directory Data &gt; Manage Entries &#8211; This is where you&#8217;ll go to add/delete/change all the information in your directory.  I think this interface is probably the best of all the LDAP interfaces I&#8217;ve tried (Including <a href="http://directory.apache.org/studio/">Apache Directory Studio</a> and <a href="http://phpldapadmin.sourceforge.net/wiki/index.php/Main_Page">phpLDAPadmin</a>)</li>
</ul>
<p>I would suggest creating (under the base DN you specified during the install, something like &#8216;dc=test,dc=com&#8217;): At least 2 new Organizational Units.  &#8216;ou=People&#8217; and &#8216;ou=Groups&#8217;.  Those two are the standards for Users and Groups, respectively.  After you have the ou&#8217;s, you can right click and create new people or groups.   A word of advice on Groups, I haven&#8217;t had a lot of luck on application compatibility with &#8220;Dynamic Group&#8221; or &#8220;Virtual Static Group&#8221;.  I&#8217;ve found it is much safer to stick with &#8220;Static Group&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/19/installing-configuring-opends-2-2-on-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Samba and LDAP DO NOT MIX</title>
		<link>http://snowulf.com/2010/08/18/samba-and-ldap-do-not-mix/</link>
		<comments>http://snowulf.com/2010/08/18/samba-and-ldap-do-not-mix/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 17:00:19 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[389]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Apache 2.2]]></category>
		<category><![CDATA[Apache Directory Server]]></category>
		<category><![CDATA[FDS]]></category>
		<category><![CDATA[Fedora Directory Server]]></category>
		<category><![CDATA[file share]]></category>
		<category><![CDATA[mod_authnz_ldap]]></category>
		<category><![CDATA[mod_dav]]></category>
		<category><![CDATA[OpenDS]]></category>
		<category><![CDATA[OpenLDAP]]></category>
		<category><![CDATA[Samba]]></category>
		<category><![CDATA[schema]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[StartTLS]]></category>
		<category><![CDATA[Ubuntu 10.04]]></category>
		<category><![CDATA[WebDAV]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1752</guid>
		<description><![CDATA[Recently I was tasked with helping a company implement a centralized authentication system, and they wanted to go all open source. This isn&#8217;t unreasonable in my book, though it is a little unusual. Of course the words &#8220;Open Source Authentication&#8221; directly translates to LDAP, the only question is which LDAP software you&#8217;re going to use. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was tasked with helping a company implement a centralized authentication system, and they wanted to go all open source.  This isn&#8217;t unreasonable in my book, though it is a little unusual.  Of course the words &#8220;Open Source Authentication&#8221; directly translates to LDAP, the only question is which LDAP software you&#8217;re going to use.  There are a number of options including <a href="http://www.openldap.org/">OpenLDAP</a> (slapd), <a href="http://directory.fedoraproject.org/">Fedora Directory Server</a> (389), <a href="http://www.opends.org/">OpenDS</a>, <a href="http://directory.apache.org/apacheds/1.5/">Apache Directory Server</a>, and a handful of smaller projects.  On top of the LDAP directory they wanted me to add a number of services including email and file sharing.  This is the story of how <a href="http://www.samba.org/">Samba</a> sucks&#8230;</p>
<p><span id="more-1752"></span>We started off by researching and trying the LDAP providers.  After some investigation and testing of OpenLDAP, we settled on OpenDS.  I didn&#8217;t like OpenLDAP (though it is something of the &#8220;standard&#8221;), because it is just such a pain in the ass to administrate.  Everything is command like and in LDAP-ese, which is probably ok if you&#8217;re a regular LDAPer, but I&#8217;m not and neither was the local IT department.  OpenDS, while Java based (and I dislike Java on principal), was quite nice.  You can click the 1-button &#8220;web start&#8221; and have it install and do everything automagically.  I&#8217;ll (probably) cover it in more detail in a later post.</p>
<p>So now we have OpenDS 2.2 setup and running well with the prospect email system.  Next on the list of &#8220;critical&#8221; services was Samba, which is what they were already using and Samba claims to be LDAP compatible.  Since we were running Ubuntu 10.04, I simply apt-get installed Samba 3.4 series and the necessary LDAP tools.  This is where things started to go poorly.</p>
<p>I won&#8217;t bore you with all the debug details, but I ended up spending probably 4 full days worth of time trying to get Samba working against LDAP properly.  I&#8217;ll admit that it could have been slightly faster, as I&#8217;m not terribly experienced with LDAP and had to learn some of it on the go.  That being said, I&#8217;m used to open source, and the requisite learning on the go.  From the best I can tell, Samba 3.4 makes a number of small changes which are basically undocumented and is designed to talk to OpenLDAP (slapd) only.  One of the &#8220;<em>small</em>&#8221; changes in Samba I noticed was that <strong>the smb.conf option of &#8220;valid users =&#8221; is now simply &#8220;users =&#8221;, and doesn&#8217;t notify you of it&#8217;s deprecation.  It simply ignores &#8220;valid users =&#8221; as an unknown option</strong>.  Fan-freakin-tastic.</p>
<p>In the end, I could not manage to get Samba to talk to OpenLDAP using SSL or StartTLS.  I did eventually get Samba to authenticate using my LDAP accounts, but that required a LOT of special objectClasses and extra miscellaneous information in the LDAP directory.  I don&#8217;t mind having to have extra information in LDAP, as that is what it is good for, but having its own style for group user lists, userids and password borders on asinine.  I know it is a throw back to it&#8217;s original building, but UPDATE THE CODE PEOPLE.</p>
<p>In the end, Samba was abandoned because it flatly ignored my groups.  Once you authenticated to Samba with an LDAP valid username and password, you had access to every share.  I tried my damnedest to make shares in Samba that I couldn&#8217;t access.  I set up special groups, I used groups that didn&#8217;t exist&#8230; everything I could think of and nothing worked.  There is a point of diminishing returns and I had hit it.  In the end, with a mostly Linux/Mac user environment, there is no reason to use Samba.</p>
<p><strong>I found a better option, <a href="http://www.webdav.org/">WebDAV</a></strong>.  I configured <a href="http://httpd.apache.org/">Apache</a> 2.2, with <a href="http://httpd.apache.org/docs/2.0/mod/mod_dav.html">mod_dav</a> and <a href="http://httpd.apache.org/docs/2.1/mod/mod_authnz_ldap.html">mod_authnz_ldap</a>.  In an hour and a half, I had it up, providing access to files from multiple &#8220;shares&#8221; AND authenticating properly to OpenDS&#8217;s LDAP (over SSL mind you) with full support of my existing groups.  Want to know how many changes I had to make to my base LDAP schema (sans Samba junk) to get this working?  None.  Not a single change at all.  Kick ass.</p>
<p>So to summarize: Samba is old and outdated.  It shouldn&#8217;t be used to share files unless absolutely necessary.  While supposedly supporting LDAP in general, it doesn&#8217;t work.  Most of the Samba/LDAP configuration is centered around acting as a PDC (<em>Editor&#8217;s note: Primary Domain Controller</em>) and very little covering simply sharing files.  Lastly, it&#8217;s documentation (the official Samba website) is old and broken, literally 404&#8242;ing in many cases.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/18/samba-and-ldap-do-not-mix/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The iPad Killer might be&#8230; Ubuntu?</title>
		<link>http://snowulf.com/2010/08/17/the-ipad-killer-might-be-ubuntu/</link>
		<comments>http://snowulf.com/2010/08/17/the-ipad-killer-might-be-ubuntu/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 17:00:52 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[canonical]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[maverik]]></category>
		<category><![CDATA[multi-touch]]></category>
		<category><![CDATA[netbook remix]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1744</guid>
		<description><![CDATA[Last night I saw the news about Canonical developing a multi-touch stack for Ubuntu. While there isn&#8217;t a ton of details, I did read their UI Guideline and was suitably impressed. If they can develop a &#8220;standard&#8221; for multi-touch for all Linux-kind, I think it would majorly solidify Linux&#8217;s market going forward. Since the iPhone [...]]]></description>
			<content:encoded><![CDATA[<p>Last night I saw the news about Canonical developing a multi-touch stack for Ubuntu.  While there isn&#8217;t a ton of details, I did read their UI Guideline and was suitably impressed.  If they can develop a &#8220;standard&#8221; for multi-touch for all Linux-kind, I think it would majorly solidify Linux&#8217;s market going forward.</p>
<p><span id="more-1744"></span>Since the iPhone burst onto the scene in 2007 with its &#8220;game changing&#8221; multi-touching, nothing has been the same.  There have also been numerous articles as of late on how mobile devices are outselling PCs.  Some of them are fairly vague as to what exactly is a mobile device (i.e. do Laptops count as PCs or mobiles?).  Irregardless, it does go to show that there are a LOT of mobiles selling, and that will continue to be a big market in the future.</p>
<p>Linux has been predominantly server-only as far as operating systems go.  Sure, you can use Linux on your desktop, and I had as far back as Red Hat 6.0 in the 90s, but it wasn&#8217;t an end-user friendly experience.  Canonical and Ubuntu have been slowly but surely changing this, with their &#8220;For humans&#8221; drive.  They&#8217;ve even gone as far as releasing Ubuntu Netbook Remix (which I&#8217;ve <a href="http://snowulf.com/2009/05/06/benchmarking-ubuntu-9-04-i386-vs-lpia-on-eee-pc-1000/" title="[blog] Benchmarking: Ubuntu 9.04 i386 vs LPIA on Eee PC 1000">covered</a> a <a href="http://snowulf.com/2009/11/02/ubuntu-netbook-remix-9-10-review/" title="[blog] Ubuntu Netbook Remix 9.10 Review">number</a> of <a href="http://snowulf.com/2010/08/02/quick-review-ubuntu-netbook-remix-10-04/" title="[blog] Quick Review: Ubuntu Netbook Remix 10.04">times</a> here) which is rather slick as far as netbook OSes go.</p>
<p>If Ubuntu can get GUI software projects to include multi-touch support in their applications, the game for larger mobile devices, tablets and netbooks, could change radically.  A true and proper operating system (that can do more than just watch videos and punch out email, like the iPad), with <u>great</u> touch support could potentially put a serious hurt on the iPad.  Sure, part of the iPad&#8217;s appeal is the hardware, and no arguing that is nice (for what it is), but hardware is easy to replicate.</p>
<p>One of the biggest challenges for Linux adoption has been the fact that it isn&#8217;t Windows or Mac.  Simply the lack of ability to run your favorite applications is the biggest drawback for most people.  On the mobile/tablet device market, no one cares.  Windows Mobile, Android, Blackberry, iOS&#8230; all of them are custom made for their devices (cell phones) and form factors, and no one cares.  For Tablets you choices are only iOS (on the iPad) and Windows 7 (for everything else).  While Win 7 for Tablets is the same OS, people don&#8217;t care nearly as much.  The tasks you want to accomplish on a Tablet are different than those on a desktop or notebook.</p>
<p>As much as I&#8217;d like to hope for it, Ubuntu 10.10 (Maverik) isn&#8217;t going to drastically change the game.  It will show us the potential of Open Source Multi-Touch, but in a limited fashion.  After all, the release is only 2 months off.  Ubuntu 11.04 (P) will probably refine muti-touch nicely and add support from a number of applications.  One (specifically this OSS nerd) can only hope that the rest of the Linux community will adopt the same standards, if not the same code base.  Fragmentation of this new &#8220;basic input&#8221; would be lethal.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/17/the-ipad-killer-might-be-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Screen Issues on a Lenovo X201 running Ubuntu 10.04</title>
		<link>http://snowulf.com/2010/08/16/screen-issues-on-a-lenovo-x201-running-ubuntu-10-04/</link>
		<comments>http://snowulf.com/2010/08/16/screen-issues-on-a-lenovo-x201-running-ubuntu-10-04/#comments</comments>
		<pubDate>Mon, 16 Aug 2010 17:00:27 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[forceversa]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[i905]]></category>
		<category><![CDATA[Lenovo X201]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Lucid]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[vga]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1670</guid>
		<description><![CDATA[Recently I was given a Lenovo X201 which had Ubuntu installed on it. The problem is that every time the computer booted up, the Ubuntu would come on screen briefly, then the screen would go black and the machine would encounter a hard lockup. You could tell it was locked up because the shift light [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was given a <a href="http://shop.lenovo.com/us/notebooks/thinkpad/x-series/x201">Lenovo X201</a> which had <a href="http://www.ubuntu.com/">Ubuntu</a> installed on it.  The problem is that every time the computer booted up, the Ubuntu would come on screen briefly, then the screen would go black and the machine would encounter a hard lockup.  You could tell it was locked up because the shift light was blinking (an unusual indicator, but it works).</p>
<p><span id="more-1670"></span>Like a good Open Source nerd, I Google&#8217;d about and found a <a href="http://ubuntuforums.org/showthread.php?p=9189674">potential answer</a>.  You need to:</p>
<ul>
<li>Boot into Grub (hold down shift after the BIOS finishes, and before the Ubuntu logo comes up)</li>
<li>Select your default boot option, hit &#8220;e&#8221; (For Edit)</li>
<li>Change the launch line (which starts with &#8216;linux&#8217;) and append &#8220;forceversa i905.mode=0&#8243;.</li>
</ul>
<p>Except in my case, that was already there.  So I tried removing this.  Now the computer booted (heard the Ubuntu startup noise), but the screen was still dead.  I had caught a line somewhere that someone had a similar issue and that it was simply the machine redirecting all graphical output to the external display.  I plugged in an external LCD and confirmed I was getting output.</p>
<p>Since I had a semi-functional machine at this point, I hoped that doing an <em>apt-get update</em> / <em>apt-get dist-upgrade</em> would solve the problem.  The machine was a clean install, so it needed 250 some updates, including a new kernel.  New kernels are always promising in my book.  After waiting for several hours (slow internet), the update completed and I rebooted the machine.  No dice.  The latest Kernel for 10.04 Lucid, does nothing.</p>
<p>Eventually I found <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554569">this bug entry</a>, which I believe is the issue.  The last comment, from just about a few days prior to my fix attempt, indicated this will be resolved in 10.04.2.  This is great news, except for the fact that .2 isn&#8217;t <a href="https://wiki.ubuntu.com/LucidReleaseSchedule/">scheduled</a> to be out until late January 2011.  But that at least gave me hope that there was a fix in the works.  I decided to take shot in the dark and tried installing the <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/current/">kernel daily build</a>.  The kernel I installed was from <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/daily/2010-07-27-maverick/">2010-07-27</a> and <strong>works</strong>.  By works I mean the <span style="text-decoration: underline;">machine boots normally AND the screen displays properly.</span></p>
<p>So, if you have this issue and don&#8217;t want to wait, use a daily build kernel.  Now, I really dislike using a non-tested kernel like this for a standard user&#8217;s machine (if it was for myself, it wouldn&#8217;t be a big deal), but there isn&#8217;t much of a choice.  Without the new kernel, there aren&#8217;t many other options, other than telling the user &#8220;Sorry, you can&#8217;t use this computer&#8221; &#8211; and that tends to go over poorly.  So, new kernel = good (fixed), but can add some risk.  Let&#8217;s just hope the user doesn&#8217;t dist-upgrade to a new (older) re-broken kernel.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/16/screen-issues-on-a-lenovo-x201-running-ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Review: Ubuntu Netbook Remix 10.04</title>
		<link>http://snowulf.com/2010/08/02/quick-review-ubuntu-netbook-remix-10-04/</link>
		<comments>http://snowulf.com/2010/08/02/quick-review-ubuntu-netbook-remix-10-04/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 17:00:44 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Netbooks]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1528</guid>
		<description><![CDATA[As is my usual habit, I got bored of my operating system and reformatted.  I decided to try out Ubuntu Netbook Remix 10.04 Lucid Lynx (on my Eee PC 1000), since I hadn&#8217;t yet gotten to play with that.  I have previously used both 9.10 UNR and 9.04 UNR, as such, I have some basis [...]]]></description>
			<content:encoded><![CDATA[<p>As is my usual habit, I got bored of my operating system and reformatted.  I decided to try out Ubuntu Netbook Remix 10.04 Lucid Lynx (on my <a title="[amazon] ASUS Eee PC 1005HA-PU1X-BK 10.1-Inch Black Netbook - 10.5 Hour Battery Life" href="http://www.amazon.com/ASUS-1005HA-PU1X-BK-10-1-Inch-Black-Netbook/dp/B002DYIXMI/ref=sr_1_1?ie=UTF8&amp;s=electronics&amp;qid=1257182586&amp;sr=8-1&amp;tag=snowulf-20">Eee PC 1000</a>), since I hadn&#8217;t yet gotten to play with that.  I have previously used both <a title="[blog] Ubuntu Netbook Remix 9.10 Review" href="http://snowulf.com/2009/11/02/ubuntu-netbook-remix-9-10-review/">9.10 UNR</a> and <a title="[blog] Benchmarking: Ubuntu 9.04 i386 vs LPIA on Eee PC 1000" href="http://snowulf.com/2009/05/06/benchmarking-ubuntu-9-04-i386-vs-lpia-on-eee-pc-1000/">9.04 UNR</a>, as such, I have some basis for comparison.</p>
<p><span id="more-1528"></span>For the most part, it is much like 9.10, just better.  The OS feels slightly better refined, and just a tad bit friendlier off the bat.  The one <span style="text-decoration: underline;">major improvement</span>, is the boot speed.  From the time Ubuntu starts (from <a title="[wiki] GNU GRUB" href="http://en.wikipedia.org/wiki/GNU_GRUB">GRUB</a>) to the time the X login screen appears, took just 16 seconds.  I&#8217;ll admit, the first time I saw that boot speed, I was damn impressed.  Really, with the OS starting this fast, there is no need for these special &#8220;embedded&#8221; operating systems that many hardware manufacturers are now including.</p>
<p>As I noted before, there isn&#8217;t any major changes (that I&#8217;ve noticed) from 9.10.  The only downside I&#8217;ve seen (from my admittedly limited amount of testing), is that my wifi adapter&#8217;s 5 GHz side doesn&#8217;t seem to work.  It is a minor annoyance at best, as 5 GHz is still rare, and I&#8217;m sure I could fix it&#8230; I just haven&#8217;t bothered.  Overall, the system works extremely well and I&#8217;m happy with it.  I should have gotten bored and tried this sooner.  I suspect from now on my netbook will be staying Ubuntu as it goes well with my Macbook Air and Windows machines.  Nice little heterogeneous network.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/08/02/quick-review-ubuntu-netbook-remix-10-04/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu (or any Linux) Install from USB</title>
		<link>http://snowulf.com/2010/07/23/ubuntu-or-any-linux-install-from-usb/</link>
		<comments>http://snowulf.com/2010/07/23/ubuntu-or-any-linux-install-from-usb/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 17:00:58 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[cruzer titanium]]></category>
		<category><![CDATA[enviromentally friendly]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[UNetbookin]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usb drive]]></category>
		<category><![CDATA[wiki]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=1477</guid>
		<description><![CDATA[On Monday I covered how to install Windows 7 via USB drive, but leaving it on it&#8217;s own would be unfair to our Open Source brethren.  Fortunately, if you want to make a bootable USB drive (under Windows or Linux) with a copy of Linux, it just just as easy.  All you need is UNetbootin [...]]]></description>
			<content:encoded><![CDATA[<p>On Monday I covered how to <a title="[blog] Windows 7 USB install" href="http://snowulf.com/2010/07/19/windows-7-usb-install/">install Windows 7 via USB drive</a>, but leaving it on it&#8217;s own would be unfair to our Open Source brethren.  Fortunately, if you want to make a bootable USB drive (under Windows or Linux) with a copy of Linux, it just just as easy.  All you need is <a href="http://unetbootin.sourceforge.net/">UNetbootin</a> and optionally an ISO of your <a href="http://www.ubuntu.com/">favorite Linux distribution</a>.</p>
<p><span id="more-1477"></span>UNetbootin makes preparing a Linux install USB drive very easy.  Here&#8217;s all you need:</p>
<ol>
<li>Download <a href="http://unetbootin.sourceforge.net/unetbootin-windows-latest.exe">UNetbootin</a></li>
<li>Optionally download the ISO of the distribution you wish to install onto the USB drive.</li>
<li>Launch UNetbootin</li>
<li>It will ask you if you want to select a distribution (It will download the necessary files right there and then), select a disk image (ISO), or custom.</li>
<li>You will be able to select your desired USB drive &#8211; do be sure to verify which drive it is you want (it will nuke the drive).  As usual, try and use a fast USB drive, like a <a title="[amazon] SanDisk Cruzer Titanium Plus 4 GB USB 2.0 Flash Drive SDCZ28-004G-A11 (Bronze)" href="http://www.amazon.com/SanDisk-Cruzer-Titanium-SDCZ28-004G-A11-Bronze/dp/B0012ANFQS/ref=sr_1_1?ie=UTF8&amp;s=electronics&amp;qid=1279526915&amp;sr=8-1&amp;tag=snowulf-20">Cruzer Titanium</a>, for best results.</li>
<li>Click OK</li>
</ol>
<p>Wait and Enjoy.  The tool will download any necessary files, then run through nuking your drive, reformatting, and copying over the files.  Depending on download size/speed/drive performance, it can take a bit of time.  When it is done though, you should be able to take the USB drive and use it to install Linux onto any machine.  I&#8217;ve used UNetbootin a number of times previously with great results.</p>
<p>Additionally if you need more help on installing Ubuntu from USB drive (say for an icky Mac) you can check out the <a href="https://help.ubuntu.com/community/Installation/FromUSBStick">Ubuntu Wiki.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/07/23/ubuntu-or-any-linux-install-from-usb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress: Enabling SSH/SFTP Updates</title>
		<link>http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/</link>
		<comments>http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 17:00:33 +0000</pubDate>
		<dc:creator>Jon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftps]]></category>
		<category><![CDATA[libssh2-php]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh keys]]></category>
		<category><![CDATA[ssh2]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[varnish]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://snowulf.com/?p=917</guid>
		<description><![CDATA[The first time I dealt with WordPress was when I first started doing IT administration for FanHistory. At that point in time I knew nothing about it and it was breaking horribly.  Luckily I managed to fix the issues (which turned out to be Varnish proxy related) and get it standing mostly on its own [...]]]></description>
			<content:encoded><![CDATA[<p>The first time I dealt with WordPress was when I first started doing IT administration for <a href="http://blog.fanhistory.com/">FanHistory</a>.  At that point in time I knew nothing about it and it was breaking horribly.  Luckily I managed to fix the issues (which turned out to be Varnish proxy related) and get it standing mostly on its own two feet.  One of &#8220;minor annoyances&#8221; I ran into then and absolutely had to figure out during <a href="http://snowulf.com/2010/06/09/houston-we-have-wordpress/" title="[blog] Houston, We have WordPress">my migration</a>, was the lack of SSH or SFTP based updates.  By default when you go into add or update the plugins (or the software itself) you have only two options FTP and FTPS (SSL).  I run neither of these, FTP is majorly old and very insecure.  FTPS is just not common.  I thought I was stuck doing things manually, until I found out&#8230;. <strong>You can enable SSH2 based updates in WordPress.</strong>  Better yet, it is <span style="text-decoration: underline;">SUPER</span> easy.</p>
<p><span id="more-917"></span>Get yourself to a command line, and assuming your running Ubuntu or Debian:</p>
<ul>
<li>apt-get install libssh2-php</li>
<li>/etc/init.d/apache2 restart</li>
<li>Done!</li>
</ul>
<p>It is literally that easy, all you need to do is install <a href="http://pecl.php.net/package/ssh2">libssh2-php</a> which is the PHP bindings for <a href="http://www.libssh2.org/">libssh2</a>.  If your running another flavor of Linux, just search your package manager for &#8220;libssh2&#8243; and pipe it to &#8220;grep php&#8221;.  You&#8217;ll most likely find the package your looking for.  You may also need to manually enable the module; Ubuntu does that for me.  After you restart Apache with that new module, simply go into your WordPress administration interface and you&#8217;ll see the &#8220;SSH2&#8243; option in any Install/Update screen.</p>
<p><strong>Note:</strong> It <span style="text-decoration: underline;">does</span> support SSH keys, along with the standard password authentication.  I&#8217;ve not tried a key with a password on it, so if you try it, let me know how it works.</p>
]]></content:encoded>
			<wfw:commentRss>http://snowulf.com/2010/06/29/wordpress-enabling-sshsftp-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
