<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;A04ESHs_eSp7ImA9WxNbE00.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312</id><updated>2009-11-15T10:31:49.541-08:00</updated><title>Modern Unix Systems</title><subtitle type="html">Discussing design and implementation of modern Unix computing systems.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://kamilkisiel.blogspot.com/" /><link rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>97</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><link rel="self" href="http://feeds.feedburner.com/kamil" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry gd:etag="W/&quot;C04HR305fSp7ImA9WxNWEkU.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-4136184973312254507</id><published>2009-10-11T10:23:00.002-07:00</published><updated>2009-10-11T10:25:36.325-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-11T10:25:36.325-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="openvpn openldap" /><title>OpenVPN + OpenLDAP</title><content type="html">Jordan's posted a comprehensive setup guide for OpenVPN with OpenLDAP on his blog. Looks like OpenVPN is a great way to set up a simple client VPN solution, and the cost is certainly a lot lower than solutions from Cisco. &lt;br /&gt;&lt;br /&gt;&lt;a href="http://jordaneunson.com/?p=74"&gt;Check it out.&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-4136184973312254507?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/9ennUBxGjik" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/4136184973312254507/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=4136184973312254507" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4136184973312254507?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4136184973312254507?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/9ennUBxGjik/openvpn-openldap.html" title="OpenVPN + OpenLDAP" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/10/openvpn-openldap.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQNRno-eCp7ImA9WxNXFEg.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-9071895044350032870</id><published>2009-10-01T19:56:00.003-07:00</published><updated>2009-10-01T19:59:57.450-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-01T19:59:57.450-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="openssh" /><title>OpenSSH 10th Anniversary</title><content type="html">Today marks the 10th Anniversary of the &lt;a href="http://www.openssh.org"&gt;OpenSSH project&lt;/a&gt;, a 100% free implementation of the SSH protocol. &lt;br /&gt;&lt;br /&gt;SSH is something we all take for granted now and it's hard to imagine life without it. It certainly forms one of the most important tools in any computer system engineer's toolbox, but we rarely give it much thought.&lt;br /&gt;&lt;br /&gt;Kudos to the OpenSSH team for working so hard on this vital piece of infrastructure software.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-9071895044350032870?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/mmB3BGghBeA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/9071895044350032870/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=9071895044350032870" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/9071895044350032870?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/9071895044350032870?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/mmB3BGghBeA/openssh-10th-anniversary.html" title="OpenSSH 10th Anniversary" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/10/openssh-10th-anniversary.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcEQHs_fip7ImA9WxNXEUU.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7624589313893430116</id><published>2009-09-28T18:00:00.001-07:00</published><updated>2009-09-28T18:00:01.546-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-09-28T18:00:01.546-07:00</app:edited><title>From the makers of StackOverflow and ServerFault: StackExchange</title><content type="html">As you may or may not know, I'm a big fan of both &lt;a href="http://stackoverflow.com"&gt;StackOverflow&lt;/a&gt; and &lt;a href="http://serverfault.com"&gt;ServerFault&lt;/a&gt;. I think the community moderated question-answer format is great, and I also envisioned many other niches in which this type of software could be used.&lt;br /&gt;&lt;br /&gt;It was probably inevitable, but Fog Creek Software is now launching a SaaS service that lets you create your own similar sites, StackExchange:&lt;br /&gt;&lt;a href="http://stackexchange.com"&gt;&lt;img src="http://stackexchange.com/stackexchange-badge.png" alt="I want my StackExchange" border="0"/&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Pricing starts at $129/mo for 1m page views. Given that each page is essentially a heavily-keyworded bit of content, it should be quite possible to make this kind of money back using targeted ads.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7624589313893430116?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/RtfdHJ1UaEU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7624589313893430116/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7624589313893430116" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7624589313893430116?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7624589313893430116?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/RtfdHJ1UaEU/from-makers-of-stackoverflow-and.html" title="From the makers of StackOverflow and ServerFault: StackExchange" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/09/from-makers-of-stackoverflow-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8BRXc7eip7ImA9WxJQEE4.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-4793872286785637255</id><published>2009-05-22T16:54:00.003-07:00</published><updated>2009-05-22T17:00:54.902-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-22T17:00:54.902-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bcfg2" /><title>Bcfg2 1.0 pre3 now available</title><content type="html">Version 1.0pre3 was released today with a rather massive overhaul of the codebase. Most notably, over 10,000 lines of code were removed as the dependency on the tlslite library was dropped in favor of using the native Python SSL bindings.&lt;br /&gt;&lt;br /&gt;The complete release announcement from the bcfg2-dev mailing list:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;In time for the long weekend, we're pleased to announce the availability&lt;br /&gt;of bcfg2-1.0pre3. This release has a number of large improvements over&lt;br /&gt;the previous prerelease. We have switched to the in-python ssl module,&lt;br /&gt;(which is included with 2.6, and available for 2.3-2.5), threaded the&lt;br /&gt;server, improved many of the client tool drivers, added a server&lt;br /&gt;performance profiling interface, greatly improved the Packages plugin&lt;br /&gt;and many other things. (a high-level detailed summary follows) As&lt;br /&gt;always, there are bugfixes and documentation updates as well. &lt;br /&gt;&lt;br /&gt;This release has benefited greatly from a number of users who have done&lt;br /&gt;heroic testing of some of the new features; this release includes a lot&lt;br /&gt;of new code, and a lot less old code. We've been able to remove the&lt;br /&gt;python ssl implementation we've been carrying for quite some time.&lt;br /&gt;&lt;br /&gt;As always, this release is the result of the efforts of a number of&lt;br /&gt;folks. Problems can be reported here, in trac or on irc. &lt;br /&gt; -nld&lt;br /&gt;&lt;br /&gt;Detailed Changes&lt;br /&gt;* Server Core&lt;br /&gt;** Fix Pkgmgr virtual package target binding (Reported by TimL)&lt;br /&gt;** rework File Monitoring code/adapt to new server infrastructure&lt;br /&gt;** Fix updates for VCS plugins&lt;br /&gt;** New server performance interface&lt;br /&gt;*** Provides scalable aggregate performance data for server operations&lt;br /&gt;** Report deprecated plugins, improve reporting for experimental plugins&lt;br /&gt;** Implement support for .genshi bundles in Bundler&lt;br /&gt;** Packages&lt;br /&gt;*** Yum improvements and bugfixes&lt;br /&gt;*** Support for multi-arch yum sources&lt;br /&gt;*** Implement dependency resolver debugging&lt;br /&gt;*** Improve error handling&lt;br /&gt;** SGenshi: improve error handling&lt;br /&gt;** Schema update from TimL (related to the service schema change)&lt;br /&gt;* SSL&lt;br /&gt;** We now use the ssl module included with python2.6 (this has been backported to 2.3-2.5)&lt;br /&gt;** Certificate-based authentication is supported&lt;br /&gt;** Implementation is backward compatible to 0.9.6 clients&lt;br /&gt;** strict cert auth, cert or password, or bootstrap (password once, then cert only) are supported&lt;br /&gt;** Clients now authenticate servers by commonName (not fingerprint)&lt;br /&gt;** Use of certifications require a CA to be used&lt;br /&gt;** The server is now multithreaded&lt;br /&gt;&lt;br /&gt;* Tool driver fixes&lt;br /&gt;** APT.Remove: Split up package names properly&lt;br /&gt;** Chkconfig patch from leggett&lt;br /&gt;** Fix RcUpdate driver regressions&lt;br /&gt;** Initial IPS (Opensolaris) driver&lt;br /&gt;** Fix YUMng -r behavior&lt;br /&gt;** Fix portage driver traceback (Resolves Ticket #649)&lt;br /&gt;** YUMng: Fix for RHEL5 (patch from Tim Lazlo)&lt;br /&gt;** YUMng: Fix version=auto for epoch-sensitive packages&lt;br /&gt;** Update RcUpdate tool driver to catch all services&lt;br /&gt;** Remove deprecated RPM and Yum drivers&lt;br /&gt;&lt;br /&gt;* Snapshots&lt;br /&gt;** Add extra/bad entry reporting &lt;br /&gt;** Add revision to bcfg2-admin snapshots reports&lt;br /&gt;** Remove ad-hoc error handling in favor of normal bcfg2-admin mode handling&lt;br /&gt;** fix Statistics data location in importer&lt;br /&gt;** minor cosmetic updates&lt;br /&gt;&lt;br /&gt;* Other&lt;br /&gt;** Add bash completion for bcfg2-admin&lt;br /&gt;** Fix daemonize exit status&lt;br /&gt;** Fix builds with the redhat specific rpm packaging&lt;br /&gt;** lots of py 2to3 and pylint updates&lt;br /&gt;** Fix py2.4 portability (try/except/finally is 2.5+) (Reported by Lisa Giacchetti)&lt;br /&gt;** Include ignores for Pkgmgr updates (patch from zultron)&lt;br /&gt;** Update bcfg2 manpage for multiple bundles&lt;br /&gt;** bcfg2 client: remove agent support&lt;br /&gt;&lt;br /&gt;* Bugfixes&lt;br /&gt;** Fix fam tracebacks for Ticket #650&lt;br /&gt;** Add support for probed groups in bcfg2-admin query (Resolves Ticket #647)&lt;br /&gt;** Display diff in interactive mode (for Ticket #526)&lt;br /&gt;** Fix fd leak caused by our use of the subprocess API&lt;br /&gt;** Fix reversed options (Reported by Kamil Kisiel)&lt;br /&gt;** Logging: Fix reconnect when using /dev/log&lt;br /&gt;** Handle import errors in the help path (Resolves Ticket #653)&lt;br /&gt;** Modify bcfg2-repo-validate to warn on xml duplicates (for Ticket #643)&lt;br /&gt;** Metadata: fix default group assertion&lt;br /&gt;** Fix exit in bcfg2-info&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As for me, I've once again made available RPM packages for most major distributions at my &lt;a href="http://download.opensuse.org/repositories/home://kisielk/"&gt;openSUSE build service repository&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As of yet, they're functionally untested so it's possible there may be some dependencies missing. Please try to install them and report any problems.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-4793872286785637255?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/cMjJSOZ-XBs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/4793872286785637255/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=4793872286785637255" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4793872286785637255?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4793872286785637255?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/cMjJSOZ-XBs/bcfg2-10-pre3-now-available.html" title="Bcfg2 1.0 pre3 now available" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/05/bcfg2-10-pre3-now-available.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C08ARXo5fCp7ImA9WxJRFE8.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-1578924529324164493</id><published>2009-05-15T14:07:00.004-07:00</published><updated>2009-05-15T14:10:44.424-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-15T14:10:44.424-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="backups" /><title>Offline backups are important</title><content type="html">Just came across &lt;a href="http://news.bbc.co.uk/2/hi/technology/8049780.stm"&gt;this article&lt;/a&gt; on the BBC about a popular flight simulation site that was hacked. Apparently their only means of backup was to copy the data between their two servers. Unfortunately for them, the "hackers"  got in to both servers and destroyed the data. Approximately 13 years worth of work that now cannot be recovered. While I feel sorry for the owners of the site and hope that they can get much of their information back through Archive.org or Google Cache, the whole thing could probably have been prevented with a small investment in to an offline backup strategy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-1578924529324164493?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/S_z-eg4TLro" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/1578924529324164493/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=1578924529324164493" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1578924529324164493?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1578924529324164493?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/S_z-eg4TLro/offsite-backups-are-important.html" title="Offline backups are important" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/05/offsite-backups-are-important.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEARXgzeSp7ImA9WxJSF0g.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7918823987922925529</id><published>2009-05-07T19:35:00.002-07:00</published><updated>2009-05-07T19:44:04.681-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-07T19:44:04.681-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="netgear" /><category scheme="http://www.blogger.com/atom/ns#" term="hardware" /><title>Don't buy a Netgear GS105!!!</title><content type="html">I'm talking about the Netgear ProSafe Gigabit Switch. The thing is an utter piece of garbage and has caused me no end of grief.&lt;br /&gt;&lt;br /&gt;I bought one with the intent of using it to connect my workstation to my new OpenSolaris file server I've built. It certainly looked like an attractive package. Tiny footprint, low power, just enough ports for my small office, and Gigabit connectivity. Great, right?&lt;br /&gt;&lt;br /&gt;That is, until I tried to use the damn thing. I've spent the last week trying numerous network adapters, OS's, drivers, on my desktop. I've tried several different Intel gigabit network adapters, and the onboard Realtek adapter on my desktop. The Realtek connects at 100 mbps, while the Intel adapters can only muster a measly 10 mbps. It's like being back in the early 90's. What the heck? My OpenSolaris machine, which has another Realtek adapter, is able to connect at a full 1000 mbps, but only after negotiating away for a while with the switch. If I connect my machines directly together, they negotiate a 1000 mbps connection in under a second. Connecting them to the switch leads to 30 or 40  seconds of trying to figure some crap out.&lt;br /&gt;&lt;br /&gt;And before someone suggests it, yes I've checked the cabling. I've tried something like 5 or 6 different ethernet cables, all CAT 5E, all of them tested with other equipment at the office. No dice.&lt;br /&gt;&lt;br /&gt;Apparently I'm &lt;a href="http://forum1.netgear.com/showthread.php?t=34464&amp;highlight=gs105"&gt;not alone&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Funny thing is, I borrowed a Netgear GS608, a similar product but in a shinier looking case, and it had the same fricking problem!&lt;br /&gt;&lt;br /&gt;My recommendation is to avoid these products at all costs if you value your sanity.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7918823987922925529?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/d9TZ2uGkIYM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7918823987922925529/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7918823987922925529" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7918823987922925529?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7918823987922925529?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/d9TZ2uGkIYM/dont-buy-netgear-gs105.html" title="Don't buy a Netgear GS105!!!" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/05/dont-buy-netgear-gs105.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08NQHc-eCp7ImA9WxJSEk0.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-2306465196030935814</id><published>2009-05-01T11:09:00.004-07:00</published><updated>2009-05-01T13:31:31.950-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-05-01T13:31:31.950-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="rpm" /><category scheme="http://www.blogger.com/atom/ns#" term="bcfg2" /><title>Bcfg2 RPMs available from openSUSE build service</title><content type="html">I've started building Bcfg2 RPMs using openSUSE's build service. They're available for most popular RPM based distros from &lt;a href="http://download.opensuse.org/repositories/home:/kisielk/"&gt;http://download.opensuse.org/repositories/home:/kisielk/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Currently I only have builds from the 1.0.0pre2 tarball available but I'm considering also uploading some SVN snapshots in the future.&lt;br /&gt;&lt;br /&gt;I'll also eventually be producing builds for deb based systems, once I figure that out.&lt;br /&gt;&lt;br /&gt;I'm hoping this will eventually be incorporated "officially" in to the Bcfg2 project &lt;br /&gt;&lt;br /&gt;Please note that the packages are currently largely untested in actual use since I don't have virtual machines set up with most of these distros at this point. I'd welcome everyone to test them and report any problems to me either in #bcfg2 on irc.freenode.org or by email to kamil@kamilkisiel.net&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-2306465196030935814?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/vVJ0kP2nrtw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/2306465196030935814/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=2306465196030935814" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2306465196030935814?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2306465196030935814?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/vVJ0kP2nrtw/bcfg2-rpms-available-from-opensuse.html" title="Bcfg2 RPMs available from openSUSE build service" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2009/05/bcfg2-rpms-available-from-opensuse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8DR3g8cSp7ImA9WxRUF0k.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-2556217346328794832</id><published>2008-11-26T17:01:00.002-08:00</published><updated>2008-11-26T17:04:36.679-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-26T17:04:36.679-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="vim" /><category scheme="http://www.blogger.com/atom/ns#" term="os x" /><title>enzyme.vim - A Terminal.app friendly color scheme</title><content type="html">I finally got fed up of not being able to read code in Terminal.app when it was being highlighted in Vim. It seems no matter what color scheme I used, there was always some text that I couldn't see properly. This is mostly because Terminal.app renders red and blue too dark to be readable in many conditions if they are set on a black background.&lt;br /&gt;&lt;br /&gt;I decided to bite the bullet and write my own Vim theme, which actually wasn't that hard. It's called enzmye and you can get it &lt;a href="http://www.vim.org/scripts/script.php?script_id=2459"&gt;from vim.org&lt;/a&gt;. It currently doesn't do anything fancy, but it's readable under Terminal.app and that's all I care about.&lt;br /&gt;&lt;br /&gt;Feedback and improvements are appreciated. Make sure you follow the instructions for setting up your terminal.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-2556217346328794832?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/NKle6mt8o8Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/2556217346328794832/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=2556217346328794832" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2556217346328794832?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2556217346328794832?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/NKle6mt8o8Y/enzymevim-terminalapp-friendly-color.html" title="enzyme.vim - A Terminal.app friendly color scheme" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/11/enzymevim-terminalapp-friendly-color.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUICQ344fyp7ImA9WxRVGUk.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7898760572044305454</id><published>2008-11-17T10:44:00.001-08:00</published><updated>2008-11-17T10:46:02.037-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-11-17T10:46:02.037-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bcfg2" /><title>Bcfg2 0.9.6 Released!</title><content type="html">Get it while it's hot: &lt;a href="http://trac.mcs.anl.gov/projects/bcfg2/wiki/Download"&gt;http://trac.mcs.anl.gov/projects/bcfg2/wiki/Download&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I also have an upcoming series of blog posts about managing systems with Bcfg2 in the works. Looks for it soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7898760572044305454?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/ZqHmaP0JFoQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7898760572044305454/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7898760572044305454" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7898760572044305454?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7898760572044305454?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/ZqHmaP0JFoQ/bcfg2-096-released.html" title="Bcfg2 0.9.6 Released!" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/11/bcfg2-096-released.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkcCSXs_eSp7ImA9WxRXFE4.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-5776757981969323559</id><published>2008-10-19T10:33:00.003-07:00</published><updated>2008-10-19T10:41:08.541-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-10-19T10:41:08.541-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="bcfg2" /><title>Bcfg2 0.9.6pre3 released</title><content type="html">The 3rd prerelease of Bcfg2 0.9.6 is now available.&lt;br /&gt;&lt;br /&gt;For those not in the know, Bcfg2 is a system that:&lt;br /&gt;&lt;blockquote&gt;helps system administrators produce a consistent, reproducible, and verifiable description of their environment, and offers visualization and reporting tools to aid in day-to-day administrative tasks.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Basically it comes down to managing your system configurations from a central location and then pulling (or optionally, pushing) the configuration data down to each machine. This ensures your machines are in a known state, and eliminates the need to go around to each one and manually verify or copy configuration.&lt;br /&gt;&lt;br /&gt;Other tools in this category include Puppet or CFEngine, but IMO Bcfg2 trumps either of those.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.bcfg2.org"&gt;Check it out&lt;/a&gt;. If you have any questions, feel free to come to #bcfg2 on irc.freenode.net and someone can surely help you out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-5776757981969323559?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/7_NWbxpbXmA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/5776757981969323559/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=5776757981969323559" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/5776757981969323559?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/5776757981969323559?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/7_NWbxpbXmA/bcfg2-096pre3-released.html" title="Bcfg2 0.9.6pre3 released" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/10/bcfg2-096pre3-released.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUAQ3w_fCp7ImA9WxNVEEw.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-2181969584563239659</id><published>2008-10-19T01:23:00.007-07:00</published><updated>2009-10-19T21:34:02.244-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-19T21:34:02.244-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cisco" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vpn" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Connecting to a Cisco IPSEC VPN from Linux -- without the Cisco client</title><content type="html">So, let's say your workplace uses a Cisco IPSEC VPN solution. Many places do. Let's also say you at home have a Linux machine. Being the good Linux user that you are, you keep your system well patched and run a recent kernel release.&lt;br /&gt;
&lt;br /&gt;
You download the Cisco VPN client -- from your corporate website since, of course. Cisco would never make such a thing publicly downloadable.. who does that anyway?&lt;br /&gt;
&lt;br /&gt;
You extract the tarball, run the &lt;code&gt;vpn_install&lt;/code&gt; script as instructed and BAM. The whole thing bombs! Why? Because your system is too cutting edge for the guys at Cisco to keep up (clearly!). So, your possible solutions are:&lt;br /&gt;
&lt;br /&gt;
1. Dig through a bunch of random internet forums, searching for the right combination of patches and command incantations that will make the damn thing work on your particular OS and kernel version.&lt;br /&gt;
2. Ditch the piece of junk altogether and install something nicer.&lt;br /&gt;
&lt;br /&gt;
So which should we do? Alright.. let's go with option 1... just kidding, I mean 2.&lt;br /&gt;
&lt;br /&gt;
Enter a wonderful piece of software called vpnc. Now, I'll be the first to admit I don't know much about how this particular piece of software works. And that's the great thing. Getting the VPN connection up and going was just that simple. So here's how:&lt;br /&gt;
&lt;br /&gt;
1. I presume your company uses a PCF file along-side their Cisco VPN client. If not, you have to figure out how to enter the settings yourself. Download this .pcf file and put it somewhere. Say &lt;code&gt;~/mycompany.pcf&lt;/code&gt;&lt;br /&gt;
2. Download &lt;a href="http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc"&gt;http://svn.unix-ag.uni-kl.de/vpnc/trunk/pcf2vpnc&lt;/a&gt;&lt;br /&gt;
3. Install vpnc. If you use Ubuntu, this means &lt;code&gt;aptitude install vpnc&lt;/code&gt;. Yes, that is all.&lt;br /&gt;
3. Run &lt;code&gt;pcf2vpnc mycompany.pcf mycompany.conf&lt;/code&gt;&lt;br /&gt;
4. &lt;code&gt;cp mycompany.conf /etc/vpnc/&lt;/code&gt;&lt;br /&gt;
5. &lt;code&gt;sudo vpnc mycompany&lt;/code&gt;&lt;br /&gt;
6. There is no step 6!&lt;br /&gt;
&lt;br /&gt;
Oh yeah, at some point you want to disconnect and go do something else other than work. For that use &lt;code&gt;sudo vpnc-disconnect&lt;/code&gt;.&lt;br /&gt;
&lt;br /&gt;
I tested this on Hardy Heron, results may vary between distributions.&lt;br /&gt;
&lt;br /&gt;
When running pcf2vpnc you may receive the following message:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
Can't exec "cisco-decrypt": No such file or directory at ./pcf2vpnc line 30.&lt;br /&gt;
cisco-decrypt not in search path,&lt;br /&gt;
adding passwords in obfuscated form&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
This just means that your vpn configuration will contain your password in obfuscated form instead of plaintext, it does not mean the conversion failed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Update 2009/02/20:&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
Someone has posted a howto which can work for OS X as well: http://www.gdanko.net/vpnc.html&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;b&gt;Update 2009/06/15:&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;If you receive an error message such as &lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;vpnc: no response from target&lt;/code&gt;&lt;br /&gt;
&lt;/blockquote&gt;you need to add the line &lt;br /&gt;
&lt;blockquote&gt;&lt;code&gt;NAT Traversal Mode cisco-udp&lt;/code&gt;&lt;br /&gt;
&lt;/blockquote&gt;to your &lt;code&gt;mycompany.conf&lt;/code&gt; file.&lt;br /&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-2181969584563239659?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/-VtaOR8qGCI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/2181969584563239659/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=2181969584563239659" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2181969584563239659?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2181969584563239659?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/-VtaOR8qGCI/connecting-to-cisco-ipsec-vpn-from.html" title="Connecting to a Cisco IPSEC VPN from Linux -- without the Cisco client" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/10/connecting-to-cisco-ipsec-vpn-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcBR30yeip7ImA9WxdWE0s.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-4475442863094282168</id><published>2008-07-06T09:44:00.003-07:00</published><updated>2008-07-06T09:50:56.392-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-07-06T09:50:56.392-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="bcfg2" /><title>Bcfg2 Now in the Gentoo Tree</title><content type="html">&lt;a href="http://trac.mcs.anl.gov/projects/bcfg2"&gt;Bcfg2&lt;/a&gt; has finally hit the official Gentoo tree. For those who don't know, it's a configuration management system akin to Puppet or CFEngine. However, I think Bcfg2 has many advantages over these, the biggest of which being an active development and user community and great support on #bcfg2 on Freenode.net. Personally I also find the configuration definitions to be far more understandable that either of the other two programs. It's written in Python, and has a nicely architected plugin infrastructure.&lt;br /&gt;&lt;br /&gt;The package management plugin for Gentoo is still a little weak compared to the Yum or Deb plugins, but it works great otherwise. I encourage Gentoo users who manage any number of systems to install it and give it a try. Let's find and squash some bugs and improve this great program. Emerge app-admin/bcfg2 to get started.&lt;br /&gt;&lt;br /&gt;If you're on an RPM of Debian-based distro, I also encourage you to give this program a try, it's quite powerful and very fully featured.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-4475442863094282168?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/TrSlfp-Ldlw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/4475442863094282168/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=4475442863094282168" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4475442863094282168?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4475442863094282168?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/TrSlfp-Ldlw/bcfg2-now-in-gentoo-tree.html" title="Bcfg2 Now in the Gentoo Tree" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/07/bcfg2-now-in-gentoo-tree.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkANSX48cSp7ImA9WxdXGEk.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-4165002158723434080</id><published>2008-06-30T10:40:00.003-07:00</published><updated>2008-06-30T10:59:58.079-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-06-30T10:59:58.079-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="open directory" /><category scheme="http://www.blogger.com/atom/ns#" term="os x" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><category scheme="http://www.blogger.com/atom/ns#" term="ldap" /><category scheme="http://www.blogger.com/atom/ns#" term="pGina" /><title>Authenticating Windows against Open Directory</title><content type="html">First of all, apologies to everyone for the long time between posts, I've been suffering from a slight shortage of inspiration lately.&lt;br /&gt;&lt;br /&gt;However, today I figured out something quite cool. It is possible to authenticate Windows (2000, XP, and possibly Vista) machines against Apple's Open Directory. This is great if you have an Open Directory server as your user account central store.&lt;br /&gt;&lt;br /&gt;The software that enables this is called &lt;a href="http://www.pgina.org/"&gt;pGina&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;To get stared, simply download and install pGina. Then download the additional plugins. The one we're interested in installing is the ldapauth plugin. Install the plugin somewhere in to your pGina installation. eg: &lt;code&gt;c:\pGina\plugins&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now launch the configuration utility for pGina, and in the "Plugin" tab browse to the &lt;code&gt;ldapauth_plus.dll&lt;/code&gt; plugin in &lt;code&gt;c:\pGina\plugins\ldapauth\&lt;/code&gt;. Click the "Configure" button. Ensure the "LDAP Method" is set to "Search Mode". In the "LDAP Server" field enter the DNS name or IP of your Open Directory server. Leave the port at the default 389. You can leave the rest of the fields blank. Then in contexts add &lt;code&gt;cn=Users,dc=company,dc=com&lt;/code&gt; where the last two segments are your base DN. This will depend on your site's configuration. If you're unsure, I recommend using a tool like &lt;a href="http://directory.apache.org/studio/"&gt;Apache Directory Studio&lt;/a&gt; to examine your LDAP server. Finally you should go to the "Password Configuration" tab and check the "Disable Change Password" box. If a user changes their password only on their LDAP server, it may mess up other things on the system such as their kerberos and keychain passwords.&lt;br /&gt;&lt;br /&gt;Unfortunately, I don't think it's possible to use the groups features in the "User Configuration" tab of this plugin as I can't find a way to make it look up group membership in the `cn=Groups` container. Perhaps I'll try hacking this on some day if we ever need to use it here.&lt;br /&gt;&lt;br /&gt;Now that you have configured the plugin, you can configure the rest of pGina as you see fit.&lt;br /&gt;&lt;br /&gt;The one caveat to using pGina is that if you're using it for the purpose of sharing files out over CIFS/SMB or remote desktop, the users will need to log in to the machine locally first, unless the share is readable by "Everyone". This is because pGina only handles the authentication portion of things at the login window or when connecting remotely. When you are setting permissions on a share, Windows will not be able to look up the users from LDAP, so they will only be available if their account exists on the machine from a previous login.&lt;br /&gt;&lt;br /&gt;I hope this has been of use. If you have any further tips then please share them in the comments section.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-4165002158723434080?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/0EkusqlTM6s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/4165002158723434080/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=4165002158723434080" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4165002158723434080?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4165002158723434080?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/0EkusqlTM6s/authenticating-windows-against-open.html" title="Authenticating Windows against Open Directory" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/06/authenticating-windows-against-open.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YBQHczeyp7ImA9WxZbE0s.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-3283539756136394570</id><published>2008-04-16T09:56:00.002-07:00</published><updated>2008-04-16T09:59:11.983-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-16T09:59:11.983-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="humour" /><title>An exchange analogy</title><content type="html">A funny  analogy posted &lt;a href="http://tech.slashdot.org/comments.pl?sid=514416&amp;amp;cid=22993794"&gt;on slashdot&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt; If the same method that exchange/outlook uses to store email were used in the real world as a paper filing system: Every document is translated into Greek, and the original is burned. Then they are all glued together into one solid block and stuffed into a magic box with a tiny slot, through which you can talk to a little gnome who somehow gets each message for you as needed. Sometimes the gnome gets confused and it takes hours (sometimes days) for him to sort things out; meanwhile he can't find your documents until he is totally finished becoming unconfused again. As an added bonus the gnome costs several thousand dollars and when he dies every few years you need to buy a new gnome. Oh and if the first box gets (arbitrarily) full you have to buy another special gnomebox, which of course costs $$$&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Disclaimer&lt;/span&gt;: I don't think exchange is all bad, but I think it could be much better and certainly more open.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-3283539756136394570?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/EB2T9F74I3Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/3283539756136394570/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=3283539756136394570" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/3283539756136394570?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/3283539756136394570?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/EB2T9F74I3Q/exchange-analogy.html" title="An exchange analogy" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/04/exchange-analogy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMFSXoyfCp7ImA9WxZUFk4.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-1119708247745909214</id><published>2008-04-07T22:41:00.005-07:00</published><updated>2008-04-07T23:00:18.494-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-07T23:00:18.494-07:00</app:edited><title>HOWTO: Make a Nagios Dashboard widget in 50 seconds.</title><content type="html">Do you use Nagios to monitor your network? Do you use a mac? Do you think it would be handy to have a Dashboard widget showing your Nagios overview panel? Well, it's quite easy to do. Check out this screencast where I make a Nagios Dashboard widget using Safari's new web clips feature.&lt;br /&gt;&lt;br /&gt;I apologize for the lack of audio, my mini at home doesn't have a microphone. However, I think the images show you all you need to know.&lt;br /&gt;&lt;br /&gt;&lt;object width="414" height="343" class="BLOG_video_class" id="BLOG_video-b89c4eedd7e16046" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"&gt;&lt;param name="movie" value="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAABqQx1oQmSnIaATdhug8I96kRjAa7Vj37gLr21q9OPhIg_Qz9EUmynAhujt7wDITd09dI-0Pgv3ygd2rRWi31559e8VE697uk6wu-3h0wRIKbFgV6dZHsZVTDEC5jx-zwO8jDDe8qphJUz7_Ac8DOBAIm0d1x725kRvrITJQcpjMmAGX0eW1iO0p0G-FEi82VyBsDwDVU45drAZQ49BnmN6sAWoBdqx_3HNhWTcRXZ-I%26sigh%3D8pslszvnsNJikHwMiC7mpKwfg_I%26begin%3D0%26len%3D86400000%26docid%3D0&amp;amp;nogvlm=1&amp;amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Db89c4eedd7e16046%26offsetms%3D5000%26itag%3Dw320%26sigh%3DFzeE1ywZQrFXPqDMj7vKIXGq-ms&amp;amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den"&gt;
&lt;param name="bgcolor" value="#FFFFFF"&gt;
&lt;embed width="414" height="343" src="http://www.blogger.com/img/videoplayer.swf?videoUrl=http%3A%2F%2Fvp.video.google.com%2Fvideodownload%3Fversion%3D0%26secureurl%3DqAAAABqQx1oQmSnIaATdhug8I96kRjAa7Vj37gLr21q9OPhIg_Qz9EUmynAhujt7wDITd09dI-0Pgv3ygd2rRWi31559e8VE697uk6wu-3h0wRIKbFgV6dZHsZVTDEC5jx-zwO8jDDe8qphJUz7_Ac8DOBAIm0d1x725kRvrITJQcpjMmAGX0eW1iO0p0G-FEi82VyBsDwDVU45drAZQ49BnmN6sAWoBdqx_3HNhWTcRXZ-I%26sigh%3D8pslszvnsNJikHwMiC7mpKwfg_I%26begin%3D0%26len%3D86400000%26docid%3D0&amp;amp;nogvlm=1&amp;amp;thumbnailUrl=http%3A%2F%2Fvideo.google.com%2FThumbnailServer2%3Fapp%3Dblogger%26contentid%3Db89c4eedd7e16046%26offsetms%3D5000%26itag%3Dw320%26sigh%3DFzeE1ywZQrFXPqDMj7vKIXGq-ms&amp;amp;messagesUrl=video.google.com%2FFlashUiStrings.xlb%3Fframe%3Dflashstrings%26hl%3Den" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;
&lt;br /&gt;&lt;br /&gt;You can also view the &lt;a href="http://www.kamilkisiel.net/videos/Nagios.mov"&gt;full size video&lt;/a&gt; (approximately 8 MB)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-1119708247745909214?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/8KewIBtnScM" height="1" width="1"/&gt;</content><link rel="enclosure" type="video/mp4" href="http://www.blogger.com/video-play.mp4?contentId=b89c4eedd7e16046&amp;type=video%2Fmp4" length="0" /><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/1119708247745909214/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=1119708247745909214" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1119708247745909214?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1119708247745909214?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/8KewIBtnScM/howto-make-nagios-dashboard-widget-in.html" title="HOWTO: Make a Nagios Dashboard widget in 50 seconds." /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/04/howto-make-nagios-dashboard-widget-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4BRXY7fyp7ImA9WxZUFUk.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7696080593967481431</id><published>2008-04-06T21:33:00.002-07:00</published><updated>2008-04-06T21:52:34.807-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-06T21:52:34.807-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Gentoo" /><title>Why Gentoo?</title><content type="html">Prompted by the editor of &lt;a href="http://www.distrowatch.com/"&gt;DistroWatch.com&lt;/a&gt; Gentoo developer Ben de Groot recently &lt;a href="http://ben.liveforge.org/2008/04/07/why-gentoo"&gt;appealed&lt;/a&gt; to the Gentoo community to post their reasons for using Gentoo. As a big Gentoo fan and long time I user, I feel inclined to respond.&lt;br /&gt;&lt;br /&gt;I am currently responsible for maintaining an HPC cluster of 76 nodes, at roughly 360 cores. The nodes all boot off of an NFS-mounted Gentoo image that we have heavily customized. In addition, we have roughly 10 developer machines which use a different Gentoo image. To support this infrastructure we also have a number of servers, which perform all sorts of tasks: Serving files via NFS, PBS scheduler, netboot server, Xen virtual machine host, etc. All of these are also Gentoo. In total we have over 100 machines running Gentoo.&lt;br /&gt;&lt;br /&gt;The whole setup is surprisingly easy to manage. I have set up a local portage mirror, and a local overlay for our own packages. Classes of machines use the same image, so bringing up a new developer box is just an rsync away. A new cluster node can be added just by plugging a macine in to the network and netbooting. Xen domU's have a template from which they are cloned. For servers, there's a bootstrap script which builds the machine up with the minimum amount of input at the start of the process. We don't yet have a binary package host, but it's something I'm looking at adding.&lt;br /&gt;&lt;br /&gt;Some reasons why I love using Gentoo:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;New versions of packages are quickly available. Some as quickly as the day of the release! For example, the recent OpenSSH 5.0 already has ebuilds.&lt;/li&gt;&lt;li&gt;System configuration is not hidden or managed by a restrictive GUI. I'm a configuration file kind of guy, and the way system configuration is handled in Gentoo is very nice for that.&lt;/li&gt;&lt;li&gt;You install only exactly what you need. There isn't really a "default" set of packages, other than the minimum to get the system up and running. This is great for things like our cluster node image.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;It's easy to create your own ebuilds. An ebuild for simpler things can take as little as 5 minutes to write, and lets you manage deployment across the network. We also maintain a number of software packages in our SVN repository. With the Subversion eclass, updating an ebuild to pull from a newer release in our repository can be as easy as renaming the file. This is nice.&lt;/li&gt;&lt;/ul&gt;That's all for now. If you have any questions about our setup, please feel free to contact me and I'll be glad to help you out.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7696080593967481431?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/tVtpw5DK-3E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7696080593967481431/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7696080593967481431" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7696080593967481431?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7696080593967481431?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/tVtpw5DK-3E/why-gentoo.html" title="Why Gentoo?" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/04/why-gentoo.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0UDQHo8eyp7ImA9WxZUEko.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7946895487665838561</id><published>2008-04-03T20:12:00.002-07:00</published><updated>2008-04-03T20:21:11.473-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-04-03T20:21:11.473-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="os x" /><category scheme="http://www.blogger.com/atom/ns#" term="afp" /><title>Leopard AFP: Not production ready</title><content type="html">The other day we downgraded our Leopard file server back to Tiger. Luckily we had a spare XServe available for this purpose. For a detailed description of the problem, see my previous post. I can offer this additional information:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The problem is triggered by attempted authentications. We set up a script to monitor the AFP server every 20 minutes to check if it was down. Often times we could see the DirectoryService crash log timestamp corresponding nearly exactly with the time that our script attempted its test.&lt;/li&gt;&lt;li&gt;Sending a HUP signal, or toggling an AFP option like EnableGuestAccess (which does the same thing, I think), allows people to authenticate AFP connections again. At least until the next time it crashes.&lt;/li&gt;&lt;li&gt;Eventually the server comes down hard. We managed to keep it up with our monitoring tool and the HUP periodically, but at some point it seems to give up and die completely. This requires a complete restart of AFP, and a loss of all client connections. It really sucks for home directories, and can corrupt files as well (myself and several other users seem to have lost some preference files which were in use at the time).&lt;/li&gt;&lt;/ul&gt;Since we're doing testing on a new laptop image, and causing lots of AFP connections, we were getting more than 1 AFP/DirectoryService crash per hour. Unacceptable. There is definitely something wrong with the link between the two.&lt;br /&gt;&lt;br /&gt;In the end, we were forced to call a network downtime for the end of the day and rebuilt our XServe with a Tiger image. Today was our first day running that setup, and it was solid as a rock. No slowness, no crashing.&lt;br /&gt;&lt;br /&gt;In short, Leopard Server is not ready, at least not for serving AFP. Keep waiting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7946895487665838561?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/Cxkj-n-ZMxg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7946895487665838561/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7946895487665838561" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7946895487665838561?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7946895487665838561?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/Cxkj-n-ZMxg/leopard-afp-not-production-ready.html" title="Leopard AFP: Not production ready" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">2</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/04/leopard-afp-not-production-ready.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIEQ388eSp7ImA9WxZVGU0.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-1375464310584506578</id><published>2008-03-30T10:40:00.004-07:00</published><updated>2008-03-30T11:41:42.171-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-03-30T11:41:42.171-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="os x" /><category scheme="http://www.blogger.com/atom/ns#" term="afp" /><title>AFP + Directory Services on Leopard = Disaster</title><content type="html">All it takes is a cursory search on some Apple discussion boards or mailing lists for "AFP crash" or "DirectoryService crash" to turn up a load of discussions on the topic. &lt;br /&gt;&lt;br /&gt;The summary of the problem is basically this: The &lt;code&gt;DirectoryService&lt;/code&gt; process crashes for some reason, then gets restarted by &lt;code&gt;launchd&lt;/code&gt;. However, AFP (or more specifically, the &lt;code&gt;AppleFileServer&lt;/code&gt; process) appears to not regain its connection to it. This prevents any new AFP connections from being able to authenticate, and existing ones are unable to re-authenticate. Couple this with AFP mounted home directories, and now your users can't log in to their workstations, or their existing session hangs.&lt;br /&gt;&lt;br /&gt;In said discussions there are dozens of proposed workarounds. These include: Periodically HUP'ing the &lt;code&gt;AppleFileServer&lt;/code&gt; process, setting up some crazy firewall rules, periodically toggling guest access, and numerous other things. I personally have tried many of them and can confidently say that none of them are a good solution. The toggling seems to mitigate the problem to some degree, but eventually things still come down hard.&lt;br /&gt;&lt;br /&gt;One fix that appeared promising which we tried recently is not running Open Directory (of the network variety) on the same host as AFP. Fortunately we had a second XServe which was acting as an OD replica and not much else, so we demoted it to a server which is just connected to OD, and moved out AFP home share there. This seemed to work fine for at least a day, but then this weekend the &lt;code&gt;DirectoryService&lt;/code&gt; process crashed yet again, causing the same problem as before.e&lt;br /&gt;&lt;br /&gt;The thing that really blows my mind about this whole issue is that people have been reporting it since November of last year. That's 5 whole months, and still no sign of a fix from Apple! Say what you will about other companies being slow to respond to problems, I've never seen a major issue like this take so long to be fixed by anyone else.&lt;br /&gt;&lt;br /&gt;With OS X 10.5.3 being seeded to developers in the last few days, I hope that Apple finally gets on the ball and fixes this glaring problem! This is definitely one of the most frustrating problems I've encountered during my time in the computing industry..&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-1375464310584506578?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/bMbV1C6LgLY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/1375464310584506578/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=1375464310584506578" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1375464310584506578?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1375464310584506578?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/bMbV1C6LgLY/afp-directoryservices-on-leopard.html" title="AFP + Directory Services on Leopard = Disaster" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">5</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/03/afp-directoryservices-on-leopard.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8MRXg4fyp7ImA9WxdTEE0.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-5645098878565931040</id><published>2008-03-07T11:22:00.004-08:00</published><updated>2008-05-05T10:34:44.637-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-05-05T10:34:44.637-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="hfs+" /><category scheme="http://www.blogger.com/atom/ns#" term="mac" /><title>Mounting an HFS+ volume from Linux</title><content type="html">Yesterday I spent some time figuring out how to mount a snapshot of one of our Mac server's HFS+ volumes from our iSCSI SAN.&lt;br /&gt;There doesn't appear to be any clear instructions for how to use an HFS+ formatted device in Linux, but I finally figured it out.&lt;br /&gt;&lt;br /&gt;You need the following kernel options:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;CONFIG_HFS_FS=m&lt;br /&gt;CONFIG_HFSPLUS_FS=m&lt;br /&gt;CONFIG_MAC_PARTITION=y&lt;br /&gt;CONFIG_EFI_PARTITION=y&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;(of course you can always put y where I put m, but I prefer to use modules). &lt;br /&gt;&lt;br /&gt;Most howto's online omit the CONFIG_EFI_PARTITION option, but it's required for the kernel to recognize partitions on devices using the UUID partition scheme. You can tell if your device is one of these by looking at it in Disk Utility on a mac.&lt;br /&gt;&lt;br /&gt;Now when you connect to a block device which contains an HFS+ volume, it will show up with several partitions. You can inspect them if you use &lt;code&gt;parted&lt;/code&gt;. Typically the first one will be some kind of special EFI partition, and the second one will be the partition that contains the actual data.&lt;br /&gt;&lt;br /&gt;You should not be able to mount it with something like&lt;br /&gt;&lt;code&gt;# mount -t hfsplus /dev/sdc2 /mnt/tmp&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;However, it appears that if you have a journaled filesystem you can only read and not write to the volume, even if mounted rw. Another thing to keep in mind is that it doesn't appear that ACL's or the resource fork are handled in any way at the moment...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt;&lt;br /&gt;The partition numbering is not entirely correct. After further experimentation, it appears to vary in different cases. In the case of two or three partitions, it's the second one. In the case that four partitions appear, it's the third.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-5645098878565931040?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/PQviGnhLvhI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/5645098878565931040/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=5645098878565931040" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/5645098878565931040?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/5645098878565931040?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/PQviGnhLvhI/mounting-hfs-volume-from-linux.html" title="Mounting an HFS+ volume from Linux" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/03/mounting-hfs-volume-from-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUIMQno4eyp7ImA9WxZQEU4.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-8668548669367521160</id><published>2008-02-15T20:48:00.002-08:00</published><updated>2008-02-15T20:53:03.433-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-15T20:53:03.433-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="meta" /><title>A new focus</title><content type="html">Since returning from Japan I've been quite busy and not posting many personal posts on this blog. Frankly I don't have the time or inclination, and since I can see most of the people who would care about it on a day to day basis, there isn't really much point. &lt;br /&gt;&lt;br /&gt;I figure it's time to take this blog to a different level and change the focus a little. I will no longer be posting random personal things things here but instead focus on writing concise and informative articles. The topics will include most of the things I deal with every day: Modern Unix (Linux and OS X) system administration, virtualization, clustering, and high performance computing.&lt;br /&gt;&lt;br /&gt;There are lots of exciting new technologies out there, and I am fortunate enough to have the opportunity to work and experiment with many of them. I hope that I can use this blog as an outlet to share many of them with the internet and computing community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-8668548669367521160?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/rv1H1qa5h5U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/8668548669367521160/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=8668548669367521160" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/8668548669367521160?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/8668548669367521160?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/rv1H1qa5h5U/new-focus.html" title="A new focus" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/02/new-focus.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUECQXg4eyp7ImA9WxZQEEQ.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-7692861086359744542</id><published>2008-02-14T15:17:00.004-08:00</published><updated>2008-02-15T08:41:00.633-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-15T08:41:00.633-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="dns" /><category scheme="http://www.blogger.com/atom/ns#" term="os x" /><title>Forcing a zone retransfer in Bind on OS X Leopard Server</title><content type="html">Recently we started migrating to OS X 10.5. Of course the process is fraught with many challenges, and lots of things are done differently.&lt;br /&gt;&lt;br /&gt;For example, now views are used by default in DNS. This makes some things a bit more convoluted, but it may make other things easier in the future.&lt;br /&gt;&lt;br /&gt;If you've ever administered a bind install, you may know about the &lt;code&gt;rndc&lt;/code&gt; tool. It can perform all sorts of things without having to restart BIND (downtime is bad, mmkay?). However, the syntax is not always clear. For example, when using views, how do you retransfer a zone? &lt;br /&gt;&lt;br /&gt;It goes something like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;~# rndc retransfer zone myzone.mydomain.com IN myView&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;If you're using Leopard server, you probably have the default view name, so this becomes:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;~# rndc retransfer zone myzone.mydomain.com IN com.apple.ServerAdmin.DNS.public&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;br /&gt;&lt;br /&gt;Speaking of Server Admin, it was clearly a very rushed application. The DNS portion is particularly horrific... you can't even enable transfers for a reverse zone!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-7692861086359744542?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/48zoH5NrRqw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/7692861086359744542/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=7692861086359744542" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7692861086359744542?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/7692861086359744542?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/48zoH5NrRqw/retransferring-zone-in-bind-on-os-x.html" title="Forcing a zone retransfer in Bind on OS X Leopard Server" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/02/retransferring-zone-in-bind-on-os-x.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A08ER3c4fSp7ImA9WxZXEEk.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-4269787423074336585</id><published>2008-01-31T10:40:00.002-08:00</published><updated>2008-02-26T10:16:46.935-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-02-26T10:16:46.935-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><title>VMWare Linux Guest Clock Synchronization</title><content type="html">One thing many home users of VMWare might not know or care much about is clock synchronization. However, in a networked environment, clock synchronization is an essential fact of life. In particular, some protocols such as Kerberos pretty much depend on your machines' clocks being in sync. Additionally, if you want to have any kind of logging or network monitoring solution in place, the output of such things can be difficult if not impossible to interpret if your clocks are all over the map. &lt;br /&gt;&lt;br /&gt;The typical solution for most standard configurations is to run an NTP daemon on every machine and a few time servers on your network which synchronize with an outside source such as an internet time server or something more sophisticated. I won't go in to the details of how the NTP protocol works, but it's important to keep in mind that it is intended to gradually correct for clock drift and not simply jump your clock to the correct time. &lt;br /&gt;&lt;br /&gt;In most UNIX environments you will find two programs which can be used to synchronize your time with an NTP server: ntp and ntpdate. ntp is the one which performs gradual corrections, and can also optionally act as a server process for other hosts. ntpdate will simply reset your time to whatever response it receives from the time server. It's intended for use during the boot process to set the initial time, or in the case that something goes horribly wrong with your clock (such as in a misconfigured VMWare guest...).&lt;br /&gt;&lt;br /&gt;So how does this all fit in VMWare, we can just use ntp to keep the guest clocks in sync, right? Well, it's not quite that simple. While I won't go in to all the technical details here, because they're described in this excellent &lt;a href="http://www.vmware.com/pdf/vmware_timekeeping.pdf"&gt;VMWare paper&lt;/a&gt;, this method won't work. Because of the way VMWare hands out clock interrupts to virtual machines, NTP can become extremely confused. Enter VMWare Tools.&lt;br /&gt;&lt;br /&gt;As you may know, VMWare tools enables additional functionality such as video acceleration and time synchronization. So we can just turn on the time sync, right? Well, it's not quite so easy. One thing many people don't realize about the time sync feature of VMWare tools is that it will &lt;em&gt;only&lt;/em&gt; catch up the clock if it's running too slow. If it's running too fast, the time sync feature does exactly nothing! Unfortunately, a fast clock is a more common case than a slow one when it comes to running a Linux virtual machine. I'm not going to go in to detail why, but if you want to know, read the paper above.&lt;br /&gt;&lt;br /&gt;So what can you do to make your clock run on time? Well, the solution is actually not too difficult. Many people suggest recompiling the kernel of a virtual machine to run at a lower interrupt rate and so forth. That often works, but may not totally alleviate the problem. There's another way.&lt;br /&gt;&lt;br /&gt;If you look again at the above mentioned paper, you'll notice that there are many timer sources available to Linux. The simplest is the PIT, or Programmable Interrupt Timer. There's a bunch of other ones such as APIC and and LAPIC. These don't appear to work reliably under VMWare. The solution is to turn them off and force PIT. This can be accomplished by some simple kernel boot flags. The relevant section from my Debian VM's grub.conf:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;title           Debian GNU/Linux, kernel 2.6.22-3-686&lt;br /&gt;root            (hd0,0)&lt;br /&gt;kernel          /vmlinuz-2.6.22-3-686 root=/dev/mapper/debian-root ro clocksource=pit nosmp noapic nolapic&lt;br /&gt;initrd          /initrd.img-2.6.22-3-686&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note the kernel line. You need to append &lt;code&gt;clocksource=pit noapic nolapic&lt;/code&gt;. If you're not running an SMP VM, add &lt;code&gt;nosmp&lt;/code&gt; as well (this may not be strictly necessary, but I don't think it can hurt). After these changes, your kernel should boot up using the PIT clock source. Verify by taking a look at your dmesg output and grepping for "clock". &lt;br /&gt;&lt;br /&gt;Now your virtual machine's clock will lag very slightly instead of running fast. Fortunately VMWare Tools (which you &lt;em&gt;did&lt;/em&gt; install, right?) will run approximately every minute and synchronize it back to the right time. Make sure you don't run NTP inside the VM, and make sure you &lt;em&gt;do&lt;/em&gt; run it on the host.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;EDIT (2008/02/26):&lt;/span&gt;&lt;br /&gt;I forgot to mention in the original article that you need to enable time synchronization for your virtual machine. You can do this either through the GUI or by adding the line&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;tools.syncTime = true&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;To the .vmx file of your virtual machine.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-4269787423074336585?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/OwomiLpKEO8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/4269787423074336585/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=4269787423074336585" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4269787423074336585?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/4269787423074336585?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/OwomiLpKEO8/vmware-linux-guest-clock.html" title="VMWare Linux Guest Clock Synchronization" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">3</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2008/01/vmware-linux-guest-clock.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8NSX08eCp7ImA9WB9UEU4.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-1670355938503245272</id><published>2007-12-08T10:00:00.001-08:00</published><updated>2007-12-08T10:01:38.370-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-12-08T10:01:38.370-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="humour" /><category scheme="http://www.blogger.com/atom/ns#" term="japan" /><title>War on...</title><content type="html">While countries like the US may have a "War on Drugs" and a "War on Terror" only the Japanese could bring you... &lt;a href="http://mdn.mainichi.jp/national/news/20071208p2a00m0na023000c.html"&gt;War on Dangerous Bicyclists&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-1670355938503245272?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/zGHEWdKMu6Y" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/1670355938503245272/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=1670355938503245272" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1670355938503245272?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/1670355938503245272?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/zGHEWdKMu6Y/war-on.html" title="War on..." /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2007/12/war-on.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QAQ3s8eSp7ImA9WB9VEk8.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-2707564837306009754</id><published>2007-11-27T20:47:00.000-08:00</published><updated>2007-11-27T20:49:02.571-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-27T20:49:02.571-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="firefox" /><title>Images loading slowly in Firefox?</title><content type="html">Well, it might just be you've disabled your cache. For the longest time I thought that my internet connection was being slow. Instead, it seems that I hit the "disable cache" option on the Firefox Web Developer Toolbar and then at some later time hid the toolbar. Oops.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-2707564837306009754?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/9YjxzA8nKrQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/2707564837306009754/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=2707564837306009754" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2707564837306009754?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2707564837306009754?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/9YjxzA8nKrQ/images-loading-slowly-in-firefox.html" title="Images loading slowly in Firefox?" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">1</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2007/11/images-loading-slowly-in-firefox.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EMSX09cSp7ImA9WB9WFU0.&quot;"><id>tag:blogger.com,1999:blog-8086651539002557312.post-2543951889529891032</id><published>2007-11-19T11:33:00.000-08:00</published><updated>2007-11-19T11:48:08.369-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2007-11-19T11:48:08.369-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><title>Installing VMWare Tools on Kernel 2.6.22</title><content type="html">If you're trying to install VMWare Tools on a Linux machine with a recent kernel (I was using 2.6.22, but this affects a couple revisions below as well), some kernel API changes prevent the tools from installing. You'll end up with an error that looks something like this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;Using 2.6.x kernel build system.&lt;br /&gt;make: Entering directory `/tmp/vmware-config0/vmhgfs-only'&lt;br /&gt;make -C /lib/modules/2.6.18-1.2200.fc5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules&lt;br /&gt;make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2200.fc5-i686'&lt;br /&gt;CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o&lt;br /&gt;CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o&lt;br /&gt;CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o&lt;br /&gt;CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsChangeFileAttributes":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:763: error: "struct inode" has no member named "i_blksize"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsInitializeInode":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:835: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsIget":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:884: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsCreate":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:1536: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsLookup":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:1636: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsMkdir":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:1728: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsDelete":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:1855: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsRename":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:2048: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:2050: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsRevalidate":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:2294: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsSetattr":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:2431: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsOpen":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:2808: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsDirOpen":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:3422: error: "struct inode" has no member named "u"&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c: In function "HgfsClearInode":&lt;br /&gt;/tmp/vmware-config0/vmhgfs-only/driver.c:4113: error: "struct inode" has no member named "u"&lt;br /&gt;make[2]: *** [/tmp/vmware-config0/vmhgfs-only/driver.o] Error 1&lt;br /&gt;make[1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] Error 2&lt;br /&gt;make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2200.fc5-i686'&lt;br /&gt;make: *** [vmhgfs.ko] Error 2&lt;br /&gt;make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'&lt;br /&gt;Unable to build the vmhgfs module.&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Fortunately the fix is fairly straightforward. Go to the &lt;code&gt;vmware-tools-distrib/lib/modules/source&lt;/code&gt; directory, and untar the driver's tar file: &lt;code&gt;tar xvf vmhgfs.tar&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now edit &lt;code&gt;vmhgfs/driver.c&lt;/code&gt; and change lines 44 and 45 from &lt;br /&gt;&lt;code&gt;&lt;br /&gt;#define INODE_SET_II_P(inode, info) do { (inode)-&gt;u.generic_ip = (info); } while (0)&lt;br /&gt;#define INODE_GET_II_P(inode) ((HgfsInodeInfo *)(inode)-&gt;u.generic_ip)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;to&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#define INODE_SET_II_P(inode, info) do { (inode)-&gt;i_private = (info); } while (0)&lt;br /&gt;#define INODE_GET_II_P(inode) ((HgfsInodeInfo *)(inode)-&gt;i_private)&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Also, remove line 763: &lt;code&gt;inode-&gt;i_blksize = HGFS_BLOCKSIZE;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now just tar everything back up (&lt;code&gt;tar cvf vmhgfs.tar vmhgfs-only&lt;/code&gt;) and rerun &lt;code&gt;vmware-config.pl&lt;/code&gt;, or &lt;code&gt;vmware-install.pl&lt;/code&gt; if you haven't yet installed the tools.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8086651539002557312-2543951889529891032?l=kamilkisiel.blogspot.com'/&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/kamil/~4/OnJbP92_c3E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://kamilkisiel.blogspot.com/feeds/2543951889529891032/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="https://www.blogger.com/comment.g?blogID=8086651539002557312&amp;postID=2543951889529891032" title="16 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2543951889529891032?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/8086651539002557312/posts/default/2543951889529891032?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/kamil/~3/OnJbP92_c3E/installing-vmware-tools-on-kernel-2622.html" title="Installing VMWare Tools on Kernel 2.6.22" /><author><name>Kamil Kisiel</name><uri>http://www.blogger.com/profile/02593950039815709347</uri><email>noreply@blogger.com</email><gd:extendedProperty name="OpenSocialUserId" value="13872944570971630676" /></author><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">16</thr:total><feedburner:origLink>http://kamilkisiel.blogspot.com/2007/11/installing-vmware-tools-on-kernel-2622.html</feedburner:origLink></entry></feed>
