<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mind the explanatory gap &#187; macosxserver</title>
	<atom:link href="http://explanatorygap.net/category/macosxserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://explanatorygap.net</link>
	<description>many a slip 'twixt mind and lip...</description>
	<lastBuildDate>Tue, 01 Feb 2011 22:50:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Seeking input for possible Mac IT Conference</title>
		<link>http://explanatorygap.net/2010/05/02/seeking-input-for-possible-mac-it-conference/</link>
		<comments>http://explanatorygap.net/2010/05/02/seeking-input-for-possible-mac-it-conference/#comments</comments>
		<pubDate>Sat, 01 May 2010 16:39:57 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosx]]></category>
		<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=254</guid>
		<description><![CDATA[The MacEnterprise steering committee has been talking about doing this for way too long, but the recent lack of significant IT tracks at WWDC has spurred us into action. MacEnterprise is planning to partner with various other groups to get a Mac IT focused conference started. This is all very much up in the air, [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.macenterprise.org">MacEnterpris</a>e steering committee has been talking about doing this<br />
for way too long, but the recent lack of significant IT tracks at WWDC<br />
has spurred us into action.</p>
<p>MacEnterprise is planning to partner with various other groups to get<br />
a Mac IT focused conference started.</p>
<p>This is all very much up in the air, and at this stage we&#8217;re seeking<br />
input as to how the community would like this conference to be<br />
organized.</p>
<p>At this stage, we would like you to provide input on Google Moderator<br />
as to ideas for the conference. You can submit ideas as well as vote<br />
on other ideas here:</p>
<p><a href="http://goo.gl/mod/4COQ">http://goo.gl/mod/4COQ<br />
</a><br />
Additionally, there is some discussion going on on Twitter, under the<br />
#MacITConference hashtag.</p>
<p><a href="http://twitter.com/#search?q=%23MacITConference">http://twitter.com/#search?q=%23MacITConference<br />
</a><br />
Once we get a little bit better idea of the structure, we&#8217;ll be<br />
calling for speakers and looking for sponsorship partners.</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2010/05/02/seeking-input-for-possible-mac-it-conference/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Zoe has a drawing blog now.</title>
		<link>http://explanatorygap.net/2009/09/29/zoe-has-a-drawing-blog-now/</link>
		<comments>http://explanatorygap.net/2009/09/29/zoe-has-a-drawing-blog-now/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 15:39:30 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=204</guid>
		<description><![CDATA[http://www.lavenderhell.com The things that go on inside her head&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.lavenderhell.com">http://www.lavenderhell.com</a></p>
<p>The things that go on inside her head&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/09/29/zoe-has-a-drawing-blog-now/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Puppet and Facter now in MacPorts.</title>
		<link>http://explanatorygap.net/2009/03/30/puppet-and-facter-now-in-macports/</link>
		<comments>http://explanatorygap.net/2009/03/30/puppet-and-facter-now-in-macports/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 02:18:37 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=188</guid>
		<description><![CDATA[So even though we have reasonable packages out there for Puppet and Facter, some people prefer to install this sort of thing through MacPorts, the closest thing we have to a third-party packaging repository on OS X. Anyway, Puppet and Facter are both out now. nigelk@sillymidon [/Users/nigelk] $ port search puppet puppet @0.24.8 (sysutils) Puppet [...]]]></description>
			<content:encoded><![CDATA[<p>So even though we have <a href="https://sites.google.com/a/explanatorygap.net/puppet/">reasonable packages</a> out there for Puppet and Facter, some people prefer to install this sort of thing through <a href="http://www.macports.org">MacPorts</a>, the closest thing we have to a third-party packaging repository on OS X.</p>
<p>Anyway, Puppet and Facter are both out now.<br />
<code><br />
nigelk@sillymidon [/Users/nigelk]<br />
$ port search puppet<br />
puppet @0.24.8 (sysutils)<br />
Puppet is a configuration management solution.<br />
nigelk@sillymidon [/Users/nigelk]<br />
$ port search facter<br />
facter @1.5.4 (sysutils)<br />
A cross-platform library for describing OS attributes.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/03/30/puppet-and-facter-now-in-macports/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New Adobe Installer and Licensing blog&#8230;</title>
		<link>http://explanatorygap.net/2009/02/12/new-adobe-installer-and-licensing-blog/</link>
		<comments>http://explanatorygap.net/2009/02/12/new-adobe-installer-and-licensing-blog/#comments</comments>
		<pubDate>Wed, 11 Feb 2009 16:28:21 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/2009/02/12/new-adobe-installer-and-licensing-blog/</guid>
		<description><![CDATA[http://blogs.adobe.com/OOBE/ I&#8217;m really glad to see they&#8217;ve done this, but am still reserving judgment until we actually see some results from it&#8230;]]></description>
			<content:encoded><![CDATA[<p><a href="http://blogs.adobe.com/OOBE/">http://blogs.adobe.com/OOBE/</a></p>
<p>I&#8217;m really glad to see they&#8217;ve done this, but am still reserving judgment until we actually see some results from it&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/02/12/new-adobe-installer-and-licensing-blog/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A screensaver to send your display to sleep.</title>
		<link>http://explanatorygap.net/2009/01/31/a-screensaver-to-send-your-display-to-sleep/</link>
		<comments>http://explanatorygap.net/2009/01/31/a-screensaver-to-send-your-display-to-sleep/#comments</comments>
		<pubDate>Fri, 30 Jan 2009 17:38:49 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=179</guid>
		<description><![CDATA[I poked around a bit looking for something that did this, and couldn&#8217;t find anything, apart from some sample code using a private API to send the display to sleep, so I whacked that into a screeensaver. https://sites.google.com/a/explanatorygap.net/misc-sw/files/SleepSaver.saver.zip This does use a private API and thus could do anything. No warranties, may destroy your machine, [...]]]></description>
			<content:encoded><![CDATA[<p>I poked around a bit looking for something that did this, and couldn&#8217;t find anything, apart from some sample code using a private API to send the display to sleep, so I whacked that into a screeensaver.</p>
<p><a href="https://sites.google.com/a/explanatorygap.net/misc-sw/files/SleepSaver.saver.zip">https://sites.google.com/a/explanatorygap.net/misc-sw/files/SleepSaver.saver.zip</a></p>
<p>This does use <strong>a private API and thus could do anything</strong>. No warranties, may destroy your machine, etc etc etc, but works for me.</p>
<p>code:</p>
<pre>
//
//  SleepSaverView.m
//  SleepSaver
//
//  Created by Nigel Kersten on 1/29/09.
//  Copyright (c) 2009, Google Inc. All rights reserved.
//

#import "SleepSaverView.h"

@implementation SleepSaverView

- (id)initWithFrame:(NSRect)frame isPreview:(BOOL)isPreview
{
self = [super initWithFrame:frame isPreview:isPreview];
if (self) {
if (! isPreview) {
[self dimDisplayNow];
}
}
return self;
}

- (BOOL)hasConfigureSheet
{
return NO;
}

- (NSWindow*)configureSheet
{
return nil;
}

- (void) dimDisplayNow {
io_registry_entry_t r = IORegistryEntryFromPath(kIOMasterPortDefault, "IOService:/IOResources/IODisplayWrangler");
if (r) {
IORegistryEntrySetCFProperty(r, CFSTR("IORequestIdle"), kCFBooleanTrue);
IOObjectRelease(r);
}
}

@end
</pre>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/01/31/a-screensaver-to-send-your-display-to-sleep/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Awesome Daemons and Agents TechNote</title>
		<link>http://explanatorygap.net/2009/01/24/awesome-daemons-and-agents-technote/</link>
		<comments>http://explanatorygap.net/2009/01/24/awesome-daemons-and-agents-technote/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 01:23:25 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=177</guid>
		<description><![CDATA[http://developer.apple.com/technotes/tn2005/tn2083.html This is really just going here so I can find it again as I can never remember what keywords to search with to find it and I often need to refer to it. AAAAA+++ Excellent TechNote Would Read Again kthxbye]]></description>
			<content:encoded><![CDATA[<p><a href="http://developer.apple.com/technotes/tn2005/tn2083.html">http://developer.apple.com/technotes/tn2005/tn2083.html</a></p>
<p>This is really just going here so I can find it again as I can never remember what keywords to search with to find it and I often need to refer to it.</p>
<p>AAAAA+++ Excellent TechNote Would Read Again kthxbye</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/01/24/awesome-daemons-and-agents-technote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Macworld 2009: Puppet on Mac OS X</title>
		<link>http://explanatorygap.net/2009/01/09/macworld-2009-puppet-on-mac-os-x/</link>
		<comments>http://explanatorygap.net/2009/01/09/macworld-2009-puppet-on-mac-os-x/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 01:39:23 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=174</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe src='http://docs.google.com/EmbedSlideshow?docid=dg382zb7_1cd4bwhg9' frameborder='0' width='410' height='342'></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/01/09/macworld-2009-puppet-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Macworld 2009: Python for System Administration</title>
		<link>http://explanatorygap.net/2009/01/09/macworld-2009-python-for-system-administration/</link>
		<comments>http://explanatorygap.net/2009/01/09/macworld-2009-python-for-system-administration/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 01:38:30 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/?p=172</guid>
		<description><![CDATA[Presentation here:]]></description>
			<content:encoded><![CDATA[<p>Presentation here:</p>
<p><iframe src='http://docs.google.com/EmbedSlideshow?docid=dg382zb7_24hmmztnf5' frameborder='0' width='410' height='342'></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2009/01/09/macworld-2009-python-for-system-administration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Querying hosts with DirectoryService</title>
		<link>http://explanatorygap.net/2008/03/23/querying-hosts-with-directoryservice/</link>
		<comments>http://explanatorygap.net/2008/03/23/querying-hosts-with-directoryservice/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 01:12:10 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosx]]></category>
		<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/2008/03/23/querying-hosts-with-directoryservice/</guid>
		<description><![CDATA[So as host, ping, nslookup, dig etc don&#8217;t use the same resolver path as the rest of the OS, we used to always use lookupd for this. It&#8217;s not exactly the most obvious solution in the world, but since lookupd, netinfod and memberd were all rolled into DirectoryService in 10.5, we now use dscacheutil to [...]]]></description>
			<content:encoded><![CDATA[<p>So as host, ping, nslookup, dig etc don&#8217;t use the same resolver path as the rest of the OS, we used to always use lookupd for this.</p>
<p>It&#8217;s not exactly the most obvious solution in the world, but since lookupd, netinfod and memberd were all rolled into DirectoryService in 10.5, we now use dscacheutil to do this.</p>
<p><code><br />
$ dscacheutil -q host -a name www.google.com<br />
name: www.l.google.com<br />
alias: www.google.com<br />
ip_address: 74.125.19.104<br />
ip_address: 74.125.19.147<br />
ip_address: 74.125.19.99<br />
ip_address: 74.125.19.103<br />
</code></p>
<p>This is a much more appropriate way of debugging host problems if the *nix tools aren&#8217;t showing any problems but OS X components are.</p>
<p>This will fetch the result from the cache, and if it&#8217;s not there, fetch it and place it in the cache. If you want to make sure this is a fresh request, do:<br />
<code><br />
dscacheutil -flushcache<br />
</code><br />
and you can always do this:<br />
<code><br />
dscacheutil -cachedump -entries host<br />
</code><br />
to inspect the cache for hosts.</p>
<p>I was actually debugging a Mobile Account problem the other day where the user agreed to create a mobile account at the loginwindow, and yet it kept logging them in with the network account.</p>
<p>Inspecting the DirectoryService cache with:<br />
<code><br />
dscacheutil -cachedump -entries user<br />
</code><br />
showed that the /Local/Default entry for that user was never retrieved. Flushing the cache fixed it.</p>
<p>Turns out the user said no to creating a Mobile Account once, and then logged out without rebooting (and didn&#8217;t tell us they&#8217;d said no ;-) ). OS X kept the cached entry around and failed to update when creating the Mobile Account as it should have.</p>
<p>Need to get that one into radar&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2008/03/23/querying-hosts-with-directoryservice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More MCX in DSLocal from Greg&#8230;</title>
		<link>http://explanatorygap.net/2008/02/08/more-mcx-in-dslocal-from-greg/</link>
		<comments>http://explanatorygap.net/2008/02/08/more-mcx-in-dslocal-from-greg/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 03:51:17 +0000</pubDate>
		<dc:creator>nigel kersten</dc:creator>
				<category><![CDATA[macosxserver]]></category>

		<guid isPermaLink="false">http://explanatorygap.net/2008/02/08/more-mcx-in-dslocal-from-greg/</guid>
		<description><![CDATA[And along similar lines to the afp548.com article on this, Greg Neagle written a similar piece describing how he&#8217;d use it in his environment (and it even has screenshots &#8230;).]]></description>
			<content:encoded><![CDATA[<p>And along similar lines to <a href="http://www.afp548.com/article.php?story=using-mcx-in-the-dslocal-domain">the afp548.com article on this</a>, Greg Neagle <a href="http://managingosx.wordpress.com/2008/02/07/mcx-dslocal-and-leopard/">written a similar piece</a> describing how he&#8217;d use it in his environment (and it even has screenshots &#8230;).</p>
]]></content:encoded>
			<wfw:commentRss>http://explanatorygap.net/2008/02/08/more-mcx-in-dslocal-from-greg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.235 seconds -->

