<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Make Mac Work</title>
	
	<link>http://www.makemacwork.com</link>
	<description>A Weblog for Macintosh in Enterprise</description>
	<pubDate>Wed, 20 Aug 2008 22:19:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/makemacwork" type="application/rss+xml" /><item>
		<title>Unfreeze Tiger Logins</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/369953749/unfreeze-tiger-logins.htm</link>
		<comments>http://www.makemacwork.com/unfreeze-tiger-logins.htm#comments</comments>
		<pubDate>Wed, 20 Aug 2008 13:00:00 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Command Line]]></category>

		<category><![CDATA[Mac OS X Tiger]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=62</guid>
		<description><![CDATA[Anyone who supports graphic designers learns to hate fonts. As tiny pieces of software loaded directly into the operating system, they&#8217;re responsible for more than their fair share of system issues. So it goes with Tiger users whose systems freeze up on login, displaying nothing but their desktop background and a lonely spotlight icon in [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone who supports graphic designers learns to hate fonts. As tiny pieces of software loaded directly into the operating system, they&#8217;re responsible for more than their fair share of system issues. So it goes with Tiger users whose systems freeze up on login, displaying nothing but their desktop background and a lonely spotlight icon in the upper left corner of the screen. The issue is so common, it&#8217;s worth talking about for any shop that hasn&#8217;t yet adopted Leopard. And like so many common problems, this one comes down to fonts again.</p>
<p>If you&#8217;ve got a box in this not-uncommon state, the important thing to remember is that it isn&#8217;t locked up completely. The graphical interface may be frozen, but the Unix subsystem is still running just fine underneath. It&#8217;s for times like these that it&#8217;s so useful to have SSH (Secure Shell) enabled on client machines, which is done by checking &#8220;Remote Login&#8221; in the &#8220;Sharing&#8221; pane of System Preferences.</p>
<p>Faced with a machine that consistently lets users log in, but get no further, the problem is very often a corrupt font cache. This causes the system to have issues rendering type, prevents the menu bar from displaying properly, and therefore stops the login process before the user can take control of their work environment (even after reboot). One way to correct the problem is to type the following from the Terminal of another machine:</p>
<p><code><strong>ssh USER@MACHINE &#8216;rm -r /Library/Caches/com.apple.ATS/*&#8217;</strong></code></p>
<p>Replace <tt>USER</tt> with the name of any administrative user, and <tt>MACHINE</tt> with the hostname or IP, belonging to the workstation. You&#8217;ll be asked for that user&#8217;s password, after which the command will remove the Apple Type Server caches from the frozen machine, and with them this issue. You can then safely restart, and login (as well as fonts) should function normally again.</p>
<p><span class="note">Special Thanks:</span> We were reminded of this problem (and this succinct solution) by Aaron Robinson, systems administrator at Seattle&#8217;s fine <a href="http://www.hornallanderson.com/">Hornall Anderson Design Works</a>.</p>
<p><span class="note">Recommended Reading:</span> For more information on <a href="http://www.creativetechs.com/iq/garbled_font_fix_corrupt_font_cache.html">corrupt font caches</a> (and some products to clear them without the command line), you can check out the CreativeTechs QuickTips blog.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/369953749" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/unfreeze-tiger-logins.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/unfreeze-tiger-logins.htm</feedburner:origLink></item>
		<item>
		<title>Bind To Active Directory</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/189490972/bind-to-active-directory.htm</link>
		<comments>http://www.makemacwork.com/bind-to-active-directory.htm#comments</comments>
		<pubDate>Wed, 13 Aug 2008 13:00:09 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=61</guid>
		<description><![CDATA[When the Macintosh computers on your network don&#8217;t have a Macintosh server to control them, the result can be chaotic. Some users wind up with multiple passwords to keep track of while others give up by keeping their account passwords blank. Passwords to Windows resources can expire without warning because users have no PC to [...]]]></description>
			<content:encoded><![CDATA[<p>When the Macintosh computers on your network don&#8217;t have a Macintosh server to control them, the result can be chaotic. Some users wind up with multiple passwords to keep track of while others give up by keeping their account passwords blank. Passwords to Windows resources can expire without warning because users have no PC to reset them with, and machines can be reconfigured with passwords that aren&#8217;t even documented.</p>
<p>It&#8217;s easy to only see the security implications and administrative issues in this scenario, but take a step back and you&#8217;ll also understand the frustration Macintosh users have on a network designed without their experience in mind.</p>
<p>Binding workstations to Active Directory allows your existing Windows accounts to be used on Mac OS X. It eases maintenance by enabling the use of network administrative accounts, and improves security by allowing you to enforce password policy. Just as importantly, it empowers the people who use your Macintosh systems, by eliminating multiple passwords and allowing interaction directly with the Windows infrastructure.</p>
<p>To begin, check the &#8220;Network&#8221; pane in System Preferences, and be sure that your Windows domain is listed in the &#8220;Search Domains&#8221; for each interface. Then open the Directory Utility application in the Utilities folder, click the &#8220;Show Advanced Settings&#8221; button, and select &#8220;Services&#8221; from the toolbar that appears above.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/directoryutility-ad-full.png"><img alt="Directory Utility: Active Directory" src="http://www.makemacwork.com/wp-content/images/directoryutility-ad.png" /></a></p>
<p>Check &#8220;Active Directory&#8221; from the available list of services, then hit the pencil symbol at the bottom to edit the binding criteria. Leave the directory forest set to &#8220;Automatic&#8221; and enter the name of your Active Directory domain and the computer name you wish to bind your machine as. Resist the shiny, pulsing &#8220;Bind&#8230;&#8221; button and instead click the &#8220;Show Advanced Options&#8221; arrow at the very left hand side. The window will expand, revealing the full range of configuration choices.</p>
<p>Beginning with the &#8220;User Experience&#8221; pane, check &#8220;Create mobile account at login&#8221;. Without this selected, Mac OS X won&#8217;t cache account credentials, leaving users locked out of their machine when the Active Directory server can&#8217;t be reached. This would prevent access not only during network failures, but also for any laptop user unable to connect with VPN (like those commuting by train, on airplanes, or in log cabins).</p>
<p><a href="http://www.makemacwork.com/wp-content/images/activedirectory-userexperience-full.png"><img alt="Directory Utility: Active Directory User Experience" src="http://www.makemacwork.com/wp-content/images/activedirectory-userexperience.png" /></a></p>
<p>Next you&#8217;ll see &#8220;Force local home directory&#8221; selected automatically. This will store user account data on the individual workstation rather than utilizing the home folder in the user&#8217;s Active Directory profile. While it is possible to use a Windows server to store Macintosh home directories, the process can be inconsistent and poorly supported (and can lead to significant confusion if the same account is used for both OS X and Windows). To this end, you&#8217;ll want to uncheck &#8220;Use UNC path from Active Directory to derive network home location&#8221; as well.</p>
<p>Now select the &#8220;Administrative&#8221; pane, and begin by unchecking &#8220;Allow authentication from any domain in the forest&#8221; at the bottom of the window. This will force OS X to locate user accounts only within the domain you&#8217;ve specified. You can then check &#8220;Allow administration by&#8221;, allowing (at a minimum) domain and enterprise administrators to also administer the local machine. You can also add groups from your Active Directory set up, or even specific user accounts (as in the example above) who may not normally have administrative rights on Windows systems.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/activedirectory-administrative-full.png"><img alt="Directory Utility: Active Directory Administration" src="http://www.makemacwork.com/wp-content/images/activedirectory-administrative.png" /></a></p>
<p>Having configured your options, click &#8220;Bind&#8230;&#8221;, and enter the name and password of a domain administrator when prompted. If there&#8217;s a pre-existing local account on the bound machine, you&#8217;ll want to log in with the user&#8217;s Windows name and password first to dynamically create a new home directory. Then, switch to an administrative account to migrate over the user data from their old home directory in /Users, making sure to match the permissions to the new Active Directory-based account.</p>
<p>When it&#8217;s all finished, you&#8217;ll now have the kind of account controls you&#8217;re so used to on your Windows systems. Happily, your Macintosh users will, too.</p>
<p><span class="note">Recommended Reading:</span> Active Directory binding is important enough in corporate settings that we&#8217;ve written about it twice, once early on for Tiger and again in this updated Leopard version. It&#8217;s also important enough that Apple has a resource page dedicated to it, <a href="http://www.apple.com/itpro/articles/adintegration/">Integrating Mac OS X and Active Directory</a>, at their IT Pro site.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/189490972" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/bind-to-active-directory.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/bind-to-active-directory.htm</feedburner:origLink></item>
		<item>
		<title>Set Default Network Route</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/357383157/set-default-network-route.htm</link>
		<comments>http://www.makemacwork.com/set-default-network-route.htm#comments</comments>
		<pubDate>Wed, 06 Aug 2008 13:00:22 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=59</guid>
		<description><![CDATA[Most servers sit behind your company firewall, reachable only through NAT and port forwarding or protected from the outside world entirely. If you&#8217;ve got a machine that needs full access to both the internet and your local network, however, getting both interfaces up and running can seem like a crapshoot. New servers will usually work [...]]]></description>
			<content:encoded><![CDATA[<p>Most servers sit behind your company firewall, reachable only through <a href="http://en.wikipedia.org/wiki/Network_address_translation">NAT</a> and <a href="http://en.wikipedia.org/wiki/Port_forwarding">port forwarding</a> or protected from the outside world entirely. If you&#8217;ve got a machine that needs full access to both the internet and your local network, however, getting both interfaces up and running can seem like a crapshoot. New servers will usually work fine, while those configured on a second network later on will often fail. XServes and Mac Pros come with two ethernet ports, so you&#8217;d figure setting them up on two separate networks wouldn&#8217;t be much of a challenge. And it isn&#8217;t, if you know the trick.  </p>
<p>Unix operating systems (including Mac OS X) can only have one &#8220;default route&#8221; at a time, the path of last resort for data headed outside your local network. Mac OS X uses whatever you&#8217;ve configured on &#8220;Ethernet 1&#8243; in the &#8220;Network&#8221; pane of System Preferences as the default route. That&#8217;s usually the internal IP on your firewall, proxy server, or router. If you later configure an external IP as &#8220;Ethernet 2&#8243;, your data won&#8217;t be routed properly and the machine won&#8217;t respond on the outside interface.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/sysprefs-network-defaultroute-full.png"><img alt="System Preferences: Network Router - Ethernet 1" src="http://www.makemacwork.com/wp-content/images/sysprefs-network-defaultroute.png" /></a></p>
<p>The trick to getting your Mac routing both networks is to set up &#8220;Ethernet 1&#8243; as your external (or WAN) interface, using the information provided to you by your internet service provider. Mac OS X will then set the router setting from this connection as the default route for the machine. If, for some reason, you have to use your internal interface as &#8220;Ethernet 1&#8243;, remove the IP from the &#8220;Router&#8221; field. This will force the machine to use the router information from &#8220;Ethernet 2&#8243; as the default.</p>
<p><span class="note">Special Thanks:</span> This tip came in a crunch from our colleague Jared Reimer, founder of <a href="http://www.cascadeo.com/">Cascadeo Corporation</a>, an excellent Seattle-based network consultancy.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/357383157" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/set-default-network-route.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/set-default-network-route.htm</feedburner:origLink></item>
		<item>
		<title>Share Group Folders</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/350466211/share-group-folders.htm</link>
		<comments>http://www.makemacwork.com/share-group-folders.htm#comments</comments>
		<pubDate>Wed, 30 Jul 2008 13:00:57 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Command Line]]></category>

		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[Managed Preferences]]></category>

		<category><![CDATA[OS X Server]]></category>

		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=58</guid>
		<description><![CDATA[Aside from the files an OS X Server shares across your entire enterprise, there&#8217;s often the desire within individual workgroups to have private storage areas for their own projects.  These group folders are essential for departments like HR and Accounting, but they can also be helpful for less security-conscious groups as a staging area [...]]]></description>
			<content:encoded><![CDATA[<p>Aside from the files an OS X Server shares across your entire enterprise, there&#8217;s often the desire within individual workgroups to have private storage areas for their own projects.  These group folders are essential for departments like HR and Accounting, but they can also be helpful for less security-conscious groups as a staging area before sharing their final work company-wide. Fortunately, while the process of creating these file shares isn&#8217;t obvious, it also isn&#8217;t complicated.</p>
<p>First, select a group from your Open Directory domain in the &#8220;Accounts&#8221; pane of Workgroup Manager. Then click the &#8220;Group Folders&#8221; button, and select a share point under which you&#8217;d like the group folders to appear. By default, Mac OS X uses <tt>/Groups</tt>, which comes pre-configured as a share on a new installation. Next, you&#8217;ll need to choose an owner for your new folder. Your directory administrator account makes the most sense here, as you&#8217;ll be using the group (not owner) attribute to determine access permissions. With these options configured, hit &#8220;Save&#8221;.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/wgm-groupfolder-full.png"><img alt="Workgroup Manager: Assign Group Folders" src="http://www.makemacwork.com/wp-content/images/wgm-groupfolder.png" /></a></p>
<p>For whatever reason, you can&#8217;t actually use Workgroup Manager to create the folder you&#8217;ve just configured (as you can with user&#8217;s home directories). Instead, you&#8217;ll need to open the Terminal and type:</p>
<p><code><strong>sudo CreateGroupFolder</strong></code></p>
<p>This will build a folder for every group assigned a share point, not just the most recent, so if you&#8217;re deploying multiple group folders it makes sense to run this command after they&#8217;ve all been set up in Workgroup Manager. This also sets the permissions for each group folder as read-only to the group itself, and only read-write to the individual user defined as it&#8217;s owner. To remedy this in the Terminal, type the following, replacing <tt>PATH-TO-FOLDER</tt> with the full Unix path to each group folder:</p>
<p><code><strong>cd PATH-TO-FOLDER<br />sudo chmod 770 Documents/ Library/</strong></code></p>
<p>This will allow access by workgroups to their own group folders with a simple permissions scheme. For more complex sharing setups, you may wish to add an <a href="http://www.makemacwork.com/control-file-access-with-acls.htm">access control list</a> as well, in the sharing pane of Server Admin.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/wgm-groupmount-full.png"><img alt="Workgroup Manager: Automatically Mount Group Folders" src="http://www.makemacwork.com/wp-content/images/wgm-groupmount.png" /></a></p>
<p>Finally, if you&#8217;re utilizing managed preferences in an Open Directory environment, you can set group folders to automatically mount when a member of that group logs in to their workstation. Moving to the &#8220;Preferences&#8221; pane of Workgroup Manager, click the &#8220;Login&#8221; icon, then the Items button on the far right. Check &#8220;Mount share point with user&#8217;s name and password&#8221; and &#8220;Add group share point&#8221;, then click &#8220;Apply Now&#8221;. </p>
<p>Not only can each workgroup have their own private file share, but users will connect to those shares automatically when logging in to their Open Directory account.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/350466211" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/share-group-folders.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/share-group-folders.htm</feedburner:origLink></item>
		<item>
		<title>Deploy Corporate iPhone Settings</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/343530561/deploy-iphone-configurations.htm</link>
		<comments>http://www.makemacwork.com/deploy-iphone-configurations.htm#comments</comments>
		<pubDate>Wed, 23 Jul 2008 13:00:16 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=57</guid>
		<description><![CDATA[The first time a VP brought you their iPhone to configure, it was a new toy. It was fun, even if it took twenty minutes of typing on that tiny onscreen keyboard. Now with version 2.0 and Exchange support, the iPhone it isn&#8217;t new or a toy anymore, but it would still take you weeks [...]]]></description>
			<content:encoded><![CDATA[<p>The first time a VP brought you their iPhone to configure, it was a new toy. It was fun, even if it took twenty minutes of typing on that tiny onscreen keyboard. Now with version 2.0 and Exchange support, the iPhone it isn&#8217;t new or a toy anymore, but it would still take you weeks to individually configure all the iPhones your company needs.</p>
<p>It&#8217;s for these enterprise-wide deployments that Apple provided the <a href="http://www.apple.com/support/downloads/iphoneconfigurationutility10formacosx.html">iPhone Configuration Utility</a>, an OS X native application to create and distribute settings for corporate iPhones. Install the program on any Macintosh (or use the <a href="http://www.apple.com/support/downloads/iphoneconfigurationwebutility10forwindows.html">web-based version for Windows</a>) and you can create <tt>.mobileconfig</tt> files that set passcode policy, wireless networks, VPN, POP/IMAP or Exchange email, and more.</p>
<p>First, open the iPhone Configuration Utility, select &#8220;Configuration Profiles&#8221; and click &#8220;New&#8221; in the toolbar above. Moving through each of the application&#8217;s tabs, fill in the appropriate access and account information for your network. Individual account names and passwords need to be input on each device by the user, but security certificates can be pre-loaded by your administration team. You can create as many configurations as are reasonable for your environment, offering different setups for different classes (or departments) of employee.</p>
<p><a href="http://www.makemacwork.com/wp-content/images/iphoneexchange-full.png"><img alt="iPhone Configuration Utility: Exchange Settings" src="http://www.makemacwork.com/wp-content/images/iphoneexchange.png" /></a></p>
<p>Once your policy and access information is in place, you can distribute each configuration by clicking &#8220;Export&#8221; to save the file to disk then upload it to any web server. This method (preferred over email distribution for large deployments and new devices) requires that your web server transmit <tt>.mobileconfig</tt> files uncompressed and with a MIME type of <tt>application/x-apple-aspen-config</tt>. Mac OS X Server 10.5.3 and above are pre-configured this way, while Windows users can set this in the server Properties page of IIS Manager. Those running earlier versions of OS X can add this information using the MIME Types pane of the Web settings in Server Admin.</p>
<p>By simply browsing to the appropriate URL, each iPhone will automatically begin the installation. While this process will prompt the user for their domain authentication criteria before configuring the device, it&#8217;s still advisable to limit access to the URL by only serving the <tt>.mobileconfig</tt> file to your intranet. Also, while adding a signed profile in the &#8220;General&#8221; pane (using a certificate issued by one of Apple&#8217;s pre-installed <a href="http://support.apple.com/kb/HT2185">trusted root authorities</a>) isn&#8217;t required, it&#8217;s simpler to get a new security certificate issued for this purpose than try explaining to users why it&#8217;s OK to install an unverified profile that lacks the attractive green &#8220;Trusted&#8221; icon.</p>
<p>With very little work up-front, this process offers not just a way to minimize initial deployment times company-wide, but also allows a method to distribute network access changes across your entire enterprise down the line.</p>
<p><span class="note">Recommended Reading:</span> For further information on customizing iPhone configuration, download Apple&#8217;s <a href="http://support.apple.com/manuals/en_US/Enterprise_Deployment_Guide.pdf">iPhone Enterprise Deployment Guide [PDF - 728KB]</a>.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/343530561" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/deploy-iphone-configurations.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/deploy-iphone-configurations.htm</feedburner:origLink></item>
		<item>
		<title>View Installer Package Contents</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/337053478/view-installer-package-contents.htm</link>
		<comments>http://www.makemacwork.com/view-installer-package-contents.htm#comments</comments>
		<pubDate>Wed, 16 Jul 2008 13:00:00 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[Mac OS X Tiger]]></category>

		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=56</guid>
		<description><![CDATA[Since Mac OS X premiered in 2001, a wide range of applications have shipped with installers in Apple&#8217;s .pkg format. While the contents of these installers were originally browsable in the Finder or from the command line, determining exactly what will be installed (and where) can still be a difficult and time-consuming process. It&#8217;s made [...]]]></description>
			<content:encoded><![CDATA[<p>Since Mac OS X premiered in 2001, a wide range of applications have shipped with installers in Apple&#8217;s <tt>.pkg</tt> format. While the contents of these installers were originally browsable in the Finder or from the command line, determining exactly what will be installed (and where) can still be a difficult and time-consuming process. It&#8217;s made all the more frustrating by the fact that <tt>.pkg</tt>installers lack an uninstall option, making such detective work a requirement to completely uninstall some third-party software. And in Leopard, there&#8217;s a new &#8220;flat package&#8221; format, which can&#8217;t even be read without Apple&#8217;s Developer Tools.</p>
<p>That&#8217;s where <a href="http://www.mothersruin.com/software/SuspiciousPackage/">Suspicious Package</a> comes in, a Quick Look plugin that lets you view exactly what and how will get installed by any package-format installer.</p>
<p><img alt="Suspicious Package Quick Look Plugin" src="http://www.makemacwork.com/wp-content/images/suspiciouspackage.png" /></p>
<p>Just select a <tt>.pkg</tt> file in the Finder, hit the space key, and you&#8217;re greeted with an interactive Quick Look window. The folder structure of the installer can be browsed using the unfolding arrows to the left of the file names, and the installation scripts can be read with the expansion button to the left of the script icon. Suspicious Package even lets you know if an installer requires an administrative password to run, or that your machine be restarted after installation.</p>
<p>Designed to do just one thing, and do it very well, Suspicious Package is an incredibly clever (and incredibly useful) little utility. It&#8217;s also an enormous time saver, and a fantastic extension of Apple&#8217;s Quick Look framework.</p>
<p>Suspicious Package is available for free from Mothers Ruin Software.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/337053478" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/view-installer-package-contents.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/view-installer-package-contents.htm</feedburner:origLink></item>
		<item>
		<title>Flush Network Caches</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/330759727/flush-network-caches.htm</link>
		<comments>http://www.makemacwork.com/flush-network-caches.htm#comments</comments>
		<pubDate>Wed, 09 Jul 2008 13:00:48 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Command Line]]></category>

		<category><![CDATA[Mac OS X Leopard]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=55</guid>
		<description><![CDATA[You&#8217;ve just installed a new hardware firewall with the same IP as one that&#8217;s being replaced. Your routers can all see it, but traffic from your Macs seems to just disappear. Or you&#8217;ve renamed a series of servers the whole company uses, and the Macs can only find them by IP now. You know you [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;ve just installed a new hardware firewall with the same IP as one that&#8217;s being replaced. Your routers can all see it, but traffic from your Macs seems to just disappear. Or you&#8217;ve renamed a series of servers the whole company uses, and the Macs can only find them by IP now. You know you can just reboot the problem machines, like you&#8217;d power-cycle an unmanaged switch, but that solution is impractical during business hours (and time-consuming on nights or weekends). How can you force a couple hundred Macintosh computers to update their network caches?</p>
<p>The ARP (Address Resolution Protocol) DNS (Domain Name System) caches are very different, but they server very similar purposes. ARP tables hold the information mapping ethernet MAC addresses (0a:1f:b5:c0:8e:4a) to network IPs (192.168.0.75), while DNS servers translate fully qualified domain names (like router.makemacwork.com) into IP addresses. Both types of information are cached to make subsequent lookups faster, but when changes take place on your network it&#8217;s hard to predict when that information will get updated.</p>
<p>Fortunately, it&#8217;s trivial to flush these caches on the Macintosh command line, and those commands can be sent to hundreds or even thousands of machines at once using Apple Remote Desktop&#8217;s &#8220;Send Unix Command&#8230;&#8221; function.</p>
<p>On individual machines, you can clear the ARP cache in the Terminal and typing:</p>
<p><code><strong>sudo arp -d -a</strong></code></p>
<p>The DNS cache (along with all Directory Services caches) can be reset by typing:</p>
<p><code><strong>sudo dscacheutil -flushcache</strong></code></p>
<p>If you&#8217;re sending the commands out with Apple Remote Desktop, leave out <tt>sudo</tt> and instead be sure to set the &#8220;Run command as&#8221; user to &#8220;root&#8221;.</p>
<p>That&#8217;s all it takes to force your Macs to fetch new routing and domain information, without ever having to interrupt the people working on them.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/330759727" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/flush-network-caches.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/flush-network-caches.htm</feedburner:origLink></item>
		<item>
		<title>Portable Home Directories — Part 2</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/324875972/portable-home-directories-2.htm</link>
		<comments>http://www.makemacwork.com/portable-home-directories-2.htm#comments</comments>
		<pubDate>Wed, 02 Jul 2008 13:00:47 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[Mac OS X Tiger]]></category>

		<category><![CDATA[Managed Preferences]]></category>

		<category><![CDATA[OS X Server]]></category>

		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=54</guid>
		<description><![CDATA[Last week, in part one of this series, we took began deploying Portable Home Directories, reviewing their prerequisites and enabling the mobile managed preferences. This week we&#8217;ll continue the process, by setting up an AFP share to host our user homes and configuring our Open Directory accounts to take advantage of them.
Sharing Portable Home Directory [...]]]></description>
			<content:encoded><![CDATA[<p>Last week, in <a href="http://www.makemacwork.com/portable-home-directories-1.htm">part one</a> of this series, we took began deploying Portable Home Directories, reviewing their prerequisites and enabling the mobile managed preferences. This week we&#8217;ll continue the process, by setting up an AFP share to host our user homes and configuring our Open Directory accounts to take advantage of them.</p>
<h3>Sharing Portable Home Directory Files:</h3>
<p>In order to make your server-based home directories available to other machines, you&#8217;ll need to share them out to your network (preferably via AFP). In Leopard, the &#8220;File Sharing&#8221; settings reside in the Server Admin application. Open it, then select your server name, and choose the gear-shaped &#8220;Settings&#8221; button from the toolbar. You&#8217;ll see a collection of potential server features to enable (such as allowing SSH and ARD access) including a listing for &#8220;Server Side File Tracking&#8221;. Checking the box and clicking &#8220;Save&#8221; will allow Mac OS X server to cache file changes prior to synchronizing home directories, which offers a significant performance boost over Tiger&#8217;s system of scanning and comparing home directory contents.</p>
<p><img alt="Server Admin: File Tracking for Mobile Home Sync" src="http://www.makemacwork.com/wp-content/images/serveradmin-filetracking.png" /></p>
<p>Next, select &#8220;File Sharing&#8221; from the Server Admin toolbar (or the equivalent settings in Tiger&#8217;s Workgroup Manager). If your server has fast redundant disk space available to hold your portable home directories, there&#8217;s not a compelling reason to not just share out <tt>/Users</tt>. If you have a large number of users (or a small boot disk), you&#8217;ll want to create a separate share on external storage. In either case, select the &#8220;Volumes&#8221; and &#8220;Browse&#8221; buttons below the toolbar and select the folder you&#8217;ll be using for your Portable Home Directories, then click the &#8220;Share&#8221; button right above the file browser and &#8220;Save&#8221; at the window&#8217;s bottom-right.</p>
<p><img alt="Server Admin: Browse File Sharing" src="http://www.makemacwork.com/wp-content/images/serveradmin-browsesharing.png" /></p>
<p>Once you share the directory, a new &#8220;Share Point&#8221; button will appear at the center of the &#8220;Sharing&#8221; pane. Select it, then check &#8220;Enable Automount&#8221;. You&#8217;ll then be asked to enter an administrative user name and password for your Open Directory domain. Keep the default setting of mounting user home folders over AFP by clicking &#8220;OK&#8221;, then move on to the &#8220;Protocol Options&#8221; button below it.</p>
<p>When Portable Home Directory deployments go wrong, it&#8217;s usually at this stage. In the AFP &#8220;Protocol Options&#8221;, be sure that &#8220;Allow AFP guest access&#8221; is checked (you&#8217;ll also want to uncheck the options to share via SMB, FTP, or NFS). If you have other AFP shares active (which you most likely do), be sure guest access is turned off on the rest of them. Then select &#8220;AFP&#8221; from the service list on the left of the Server Admin window, choose the &#8220;Access&#8221; pane, and check &#8220;Enable Guest access&#8221; there as well.</p>
<p><img alt="Server Admin: AFP Guest Sharing" src="http://www.makemacwork.com/wp-content/images/serveradmin-afpguestaccess.png" /></p>
<p>This may seem counterintuitive, as guest (or unauthenticated) access to the home directory share may sound like a terrible idea. In most cases you wouldn&#8217;t want any data shared out to network guests, and Apple even forces you to confirm the setting in two separate places. In the case of Portable Home Directories, however, the shared volume gets automounted prior to any user logging in. The data inside each home directory stays private, but the root of the share needs to be accessible to any machine bound to the Open Directory domain. Guest access is the mechanism through which this is achieved, and without it the remainder of your deployment process won&#8217;t get anywhere.</p>
<h3>Assigning Portable Home Directories To User Accounts:</h3>
<p>Now that your mobility preferences are set and your AFP share is set to automount, the final step is assign home directories to your existing users. Open Workgroup Manager and select &#8220;Accounts&#8221; from the toolbar, then highlight a test user from the left column and choose the &#8220;Home&#8221; pane. By default, two options are offered as home directory locations, <tt>/Users</tt> and None. Instead, click the &#8220;plus&#8221; button at the bottom of the list to add an additional option.</p>
<p><img alt="Server Admin: Home Directory Path Configuration" src="http://www.makemacwork.com/wp-content/images/serveradmin-homepaths1.png" /></p>
<p>In the dialog sheet that appears, use the first field to enter the AFP address of the home directory share in URL format (such as <tt>afp://server.example.com/Users</tt>). In the second field, fill in just the name of the user&#8217;s home directory, which should be the same as their account &#8220;short name&#8221;. In the third field, enter the full path of the automounted home share as it will appear on client machines. This begins with <tt>/Network/Servers/</tt>, then the address from the first field minus the <tt>afp://</tt> prefix, and finally the user&#8217;s short name. When all three fields are filled properly, click &#8220;OK&#8221;, then assign the user a disk quota (somewhere between 20-40GB is reasonable for most user environments) and hit &#8220;Save&#8221;.</p>
<p><img alt="Server Admin: Home Directory Path Assignment" src="http://www.makemacwork.com/wp-content/images/serveradmin-homepaths2.png" /></p>
<p>With this first account done, you can now highlight all the users who&#8217;ll be getting mobile accounts, select your pre-configured share point, assign a quota, and save those settings to the entire list at once. If these are new accounts, you can even use the &#8220;Create Home Now&#8221; button to populate your AFP share with <a href="http://www.makemacwork.com/customize-the-user-template.htm">custom home directories</a>. If you&#8217;ll be syncing existing home directories on client machines, you don&#8217;t have to create a home folder at all, instead allowing the data to copy to the server on their next network-based login.</p>
<p><span class="note">Recommended Reading:</span> For the full story on Portable Home Directory setup, try the essential Leopard <a href="http://images.apple.com/server/macosx/docs/User_Management_v10.5.mnl.pdf">User Management Guide [PDF - 2.5MB]</a> at Apple.com.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/324875972" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/portable-home-directories-2.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/portable-home-directories-2.htm</feedburner:origLink></item>
		<item>
		<title>Portable Home Directories — Part 1</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/319687932/portable-home-directories-1.htm</link>
		<comments>http://www.makemacwork.com/portable-home-directories-1.htm#comments</comments>
		<pubDate>Wed, 25 Jun 2008 13:00:48 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[Mac OS X Tiger]]></category>

		<category><![CDATA[Managed Preferences]]></category>

		<category><![CDATA[OS X Server]]></category>

		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=53</guid>
		<description><![CDATA[Available since version 10.4, Portable Home Directories have become one of the most elegant and well-implemented features of a full Mac OS X Server deployment. Functioning much like Windows&#8217; roaming profiles (or earlier Solaris NFS/NIS environments), they allow a user to log in from any computer on your network while retaining their personal data and [...]]]></description>
			<content:encoded><![CDATA[<p>Available since version 10.4, Portable Home Directories have become one of the most elegant and well-implemented features of a full Mac OS X Server deployment. Functioning much like Windows&#8217; roaming profiles (or earlier Solaris NFS/NIS environments), they allow a user to log in from any computer on your network while retaining their personal data and settings. Unlike entirely network-based systems, however, they do so by synchronizing user data to the server (so that a full copy of the home directory exists in both locations), eliminating the need for constant connectivity.</p>
<p>Portable Home Directories make for simpler backup of user data, both by copying off the server rather than each client machine, and by allowing remote users to synchronize via VPN. They also free users from being tied to a single machine, allowing for greater flexibility and less service down-time. It&#8217;s because this functionality is so powerful that it&#8217;s often assumed to be difficult to put into practice. Instead, with the proper infrastructure already in place, deploying Portable Home Directories is practically the reward for having done everything else right. </p>
<h3>Planning For Portable Home Directories:</h3>
<p>Before you actually implement any kind of server-based account storage, you&#8217;ll want to make sure you have sufficient storage and bandwidth on an available OS X server. This may seem obvious to some, but for reasonable performance, fifty users with a 40GB quota requires at least 2TB of relatively high-speed (and hopefully redundant) disk attached to a gigabit network switch. This isn&#8217;t an exotic setup by any means, but it may be more than you just have lying around.</p>
<p>You&#8217;ll also need clients bound to a functioning Open Directory environment, complete with internal DNS. If you don&#8217;t yet have this set up, refer to our earlier series on how to <a href="http://www.makemacwork.com/master-open-directory-1.htm">master Open Directory</a>. Once Directory Service users and groups are in place, Portable Home Directories are nothing more than cleverly deployed <a href="http://www.makemacwork.com/manage-account-preferences.htm">managed account preferences</a>. There&#8217;s a lot to keep track of, but very little you wouldn&#8217;t already know how to do.</p>
<h3>Configuring Portable Home Directory Preferences:</h3>
<p>In Workgroup Manager, browse to the &#8220;LDAPv3&#8243; directory (as opposed to the local user directory), then choose the multi-headed &#8220;Groups&#8221; button on the left and the &#8220;Preferences&#8221; icon from the toolbar. Select the group (or groups) you&#8217;re offering Portable Home Directories, then click the &#8220;Mobility&#8221; icon in the center of the window to configure that group&#8217;s settings.  If you&#8217;re deploying this feature to all your users, you&#8217;re better off creating an all-encompassing &#8220;Employees&#8221; group to do so.</p>
<p><img alt="Workgroup Manager: Mobility Preferences" src="http://www.makemacwork.com/wp-content/images/wgm-mobility.png" /></p>
<p>Beginning in the &#8220;Account Creation&#8221; tab with the &#8220;Creation&#8221; pane, choose to manage these Preferences &#8220;Always&#8221;, the check &#8220;Create mobile account when user logs in to network account&#8221;. Uncheck the box which requires confirmation, as this allows the user to skip the Portable Home Directory set up for their individual account. Below that, choose to &#8220;Create home&#8221; directories &#8220;with default sync settings&#8221;.</p>
<p><img alt="Workgroup Manager: Mobile Account Creation" src="http://www.makemacwork.com/wp-content/images/wgm-mobility-creation.png" /></p>
<p>Next comes the Account Expiry tab, new to 10.5. By allowing you to set a time limit after which the client-side copy of a home directory expires, it helps clean up the occasional &#8220;orphaned&#8221; set of user data (a full home directory left, for instance, on a machine only used once by that user during maintenance on their own machine. This feature can reduce the chance of accidentally filling client machines with multiple unused accounts, but does so at the risk of letting the computer determine when data should be disposed of. If you enable it, do so with caution.</p>
<p><img alt="Workgroup Manager: Mobile Account Synchronization" src="http://www.makemacwork.com/wp-content/images/wgm-mobility-loginsync.png" /></p>
<p>Finally, the &#8220;Rules&#8221; tab lets you set what data will synchronize and when. Start with the &#8220;Login &#038; Logout Sync&#8221; pane and once again click the button to &#8220;Always&#8221; manage, then check the box to &#8220;Sync at login and logout&#8221;. The first list above allows you to set which directories you&#8217;ll sync, and unless you feel you can fully predict your users&#8217; behavior the best approach is usually to select the entire home directory (as represented by the tilde symbol). You can then choose what not to sync in the second list below, including full paths, partial names, and even regular expressions. Be careful if you delete any of Apple&#8217;s pre-configured items to skip, especially <tt>~/Library/Application Support/SyncServices</tt>, which can result in synchronization issues and potentially data loss. The &#8220;Merge with user&#8217;s settings&#8221; box allows you to decide if individuals can add or subtract to the list of data being synchronized.</p>
<p>The Background Sync pane, functions identically, and in most cases makes sense to configure identically as well. The only exceptions would be huge local files which change often, or live databases which won&#8217;t sync properly. The Entourage database, for instance, sits both criteria and should be excluded from background synchronization. The &#8220;Options&#8221; pane also allows you to choose how often background sync takes place. With your configuration decided, click the &#8220;Apply Now&#8221; button to save your settings. </p>
<p>Next week, in <a href="http://www.makemacwork.com/portable-home-directories-2.htm">part two</a>, we&#8217;ll set up the AFP share where your new Portable Home Directories reside and configure your Open Directory accounts to store user data there.</p>
<p><span class="note">Recommended Reading:</span> While I might not recommend implementing it in a production environment, Greg Neagle&#8217;s multi-part article on <a href="http://managingosx.wordpress.com/2006/03/15/portable-home-directories-without-open-directory/">Portable Home Directory Without Open Directory</a> provides fantastic under-the-hood information on exactly how Portable Home Directories function at his &#8220;Managing OS X&#8221; blog.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/319687932" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/portable-home-directories-1.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/portable-home-directories-1.htm</feedburner:origLink></item>
		<item>
		<title>CS3 Won’t Save To 10.5.3 Server</title>
		<link>http://feeds.feedburner.com/~r/makemacwork/~3/314598144/cs3-wont-save-to-1053-server.htm</link>
		<comments>http://www.makemacwork.com/cs3-wont-save-to-1053-server.htm#comments</comments>
		<pubDate>Wed, 18 Jun 2008 13:00:45 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
		
		<category><![CDATA[Applications]]></category>

		<category><![CDATA[Mac OS X Leopard]]></category>

		<category><![CDATA[OS X Server]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/?p=52</guid>
		<description><![CDATA[Despite Apple&#8217;s encouragement to install OS upgrades as soon as they&#8217;re released, most systems administrators test updates for a couple of weeks to see if any obvious or significant issues occur in their environment. It&#8217;s been two weeks since Apple released Leopard 10.5.3, and while the update fixes a laundry list of problems (including Active [...]]]></description>
			<content:encoded><![CDATA[<p>Despite Apple&#8217;s encouragement to install OS upgrades as soon as they&#8217;re released, most systems administrators test updates for a couple of weeks to see if any obvious or significant issues occur in their environment. It&#8217;s been two weeks since Apple released Leopard 10.5.3, and while the update fixes a laundry list of problems (including Active Directory, AFP, iCal, Time Machine, and SMB issues), it breaks one simple feature that most Mac users simply can&#8217;t live without: With 10.5.3 on client or server machine, some Adobe CS3 applications (primarily Photoshop, but occasionally InDesign) can no longer save to network shares.</p>
<p>It&#8217;s hard to tell who to blame for this disaster, if blame is important to you. The fact that saving documents to the server worked just fine in 10.5.2 (and that multiple sources have reported that the functionality returns in 10.5.4) makes Apple look like the bad guy. On the other hand, Adobe has very publicly resisted modernizing portions of its underlying application code, and their antiquated position of not officially supporting direct server usage is bewildering to anyone computing in the 21st century.</p>
<p>The obvious solution is to avoid installing 10.5.3 at all (or roll back to 10.5.2 if you&#8217;ve kept a Time Machine backup of your system volume) until the problem is solved. The immediate (and far-less obvious answer) is to always use the &#8220;Save As&#8221; option, which continues to work perfectly on servers of all types.</p>
<p><span class="note">Update:</span> On June 30th, Apple released their 10.5.4 update. Among it&#8217;s improvements, they list &#8220;Resolves an issue with saving and reopening Adobe Creative Suite 3 ﬁles on a remote server&#8221;.</p>
<p><span class="note">Recommended Reading:</span> The normally-reasonable John Nack (Senior Product Manager, Adobe Photoshop) first reported issues <a href="http://blogs.adobe.com/jnack/2008/06/filesaving_issu.html">saving CS3 files to 10.5.3</a> servers in his otherwise entertaining blog. For those with strong stomachs, some <a href="http://discussions.apple.com/thread.jspa?threadID=1538720&#038;tstart=0">very angry commentary</a> can be found on Apple&#8217;s own discussion boards.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/314598144" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/cs3-wont-save-to-1053-server.htm/feed</wfw:commentRss>
		<feedburner:origLink>http://www.makemacwork.com/cs3-wont-save-to-1053-server.htm</feedburner:origLink></item>
	</channel>
</rss>
