<?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>Make Mac Work &#187; Open Directory</title>
	<atom:link href="http://www.makemacwork.com/category/open-directory/feed" rel="self" type="application/rss+xml" />
	<link>http://www.makemacwork.com</link>
	<description>Helping Manage The Macintosh Enterprise</description>
	<lastBuildDate>Mon, 31 Aug 2009 07:00:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Network Users Can&#8217;t Login to 10.5.7</title>
		<link>http://www.makemacwork.com/network-users-cant-login-to-1057.htm</link>
		<comments>http://www.makemacwork.com/network-users-cant-login-to-1057.htm#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:00:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[Open Directory]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/network-users-cant-login-to-1057.htm</guid>
		<description><![CDATA[In many ways, OS X 10.5.7 is a huge improvement for Leopard users, enhancing Finder network reliability, iCal server interaction, and portable home directory performance. In a managed Open Directory environment, however, it may also have the unfortunate side effect of locking you out of your legacy PowerPC machines.
At the root of the problem is [...]]]></description>
			<content:encoded><![CDATA[<p>In many ways, OS X 10.5.7 is a huge improvement for Leopard users, enhancing Finder network reliability, iCal server interaction, and portable home directory performance. In a managed Open Directory environment, however, it may also have the unfortunate side effect of locking you out of your legacy PowerPC machines.</p>
<p>At the root of the problem is the <tt>/etc/authorization</tt> file, which outlines unique situations where users are granted escalated privileges, and which should be altered as part of the 10.5.7 update process. It appears, however, that the file is updated only on Intel-based machines, leaving managed users on the PPC architecture unable to login on their workstations or laptops. </p>
<p>The solution is to copy the file to a PPC machine booted into target mode from an updated Intel installation, taking care that the ownership and permissions remain the same as on the Intel version. Alternately, if you have multiple PowerPC machines updated and booted, the same idea can be applied en masse by pushing an updated Intel file out via Apple Remote Desktop, JAMF Casper Suite, LANrev, or your preferred third-party distribution tool.</p>
<p>Once the corrected file is in place, reboot the afflicted machines, and login should be restored.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/network-users-cant-login-to-1057.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage Application Preferences</title>
		<link>http://www.makemacwork.com/manage-application-preferences.htm</link>
		<comments>http://www.makemacwork.com/manage-application-preferences.htm#comments</comments>
		<pubDate>Mon, 16 Feb 2009 07:00:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/manage-application-preferences</guid>
		<description><![CDATA[OS X Server offers an extremely simple system to manage account preferences, at least those user preferences predefined by Apple. Systems administrators, however, typically find themselves needing to control application settings that haven&#8217;t been singled out in Workgroup Manager.
The most basic method to controlling applications is to use the defaults command to write directly to [...]]]></description>
			<content:encoded><![CDATA[<p>OS X Server offers an extremely simple system to <a href="http://www.makemacwork.com/manage-account-preferences.htm">manage account preferences</a>, at least those user preferences predefined by Apple. Systems administrators, however, typically find themselves needing to control application settings that haven&#8217;t been singled out in Workgroup Manager.</p>
<p>The most basic method to controlling applications is to use the <tt>defaults</tt> command to write directly to the application preference list, as we&#8217;ve demonstrated repeatedly. This approach works fine for some settings, but there&#8217;s a problem: It permanently disables lockable preferences only for standard users (since administrative users can just unlock them) and most application preferences can&#8217;t be locked at all (so users can change them any time they like).</p>
<p>For any application that uses Apple&#8217;s <tt>.plist</tt> format, there&#8217;s a far better way to manage preferences across your network. A properly configured <a href="http://www.makemacwork.com/master-open-directory-1.htm">Open Directory</a> domain can use MCX (Managed Client for OS X) settings to control any available user setting.</p>
<p><img alt="Workgroup Manager: MCX Details" src="http://www.makemacwork.com/wp-content/images/wgm-preferences-details.png" /></p>
<p>In Workgroup Manager, select the group for whom you&#8217;d like to manage an application&#8217;s preferences (in our example, that group includes all of our Macintosh users). First select &#8220;Preferences&#8221; from the toolbar above, then the &#8220;Details&#8221; tab on the right. Using the plus button, browse to the preferences file you&#8217;d like to control and click &#8220;Add&#8221;, selecting to manage imported preferences &#8220;Always&#8221; from the drop-down menu.</p>
<p><img alt="Workgroup Manager: Preferences Editor" src="http://www.makemacwork.com/wp-content/images/wgm-preferenceseditor.png" /></p>
<p>Double-click the preference name, and an editing window will open. Typically, you&#8217;ll wind up deleting the most of existing preferences from the editing window, keeping (or adding) only those you wish to manage.</p>
<p>Using this approach, you can take fine-grained control of most user-level settings, including managing application preferences more effectively. The result is preference settings that apply to standard and administrative users alike, controlled centrally through Open Directory even for third-party applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/manage-application-preferences.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Share Group Folders</title>
		<link>http://www.makemacwork.com/share-group-folders.htm</link>
		<comments>http://www.makemacwork.com/share-group-folders.htm#comments</comments>
		<pubDate>Wed, 30 Jul 2008 12:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/share-group-folders</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><img alt="Workgroup Manager: Assign Group Folders" src="http://www.makemacwork.com/wp-content/images/wgm-accounts-groupfolder.png" /></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><img alt="Workgroup Manager: Automatically Mount Group Folders" src="http://www.makemacwork.com/wp-content/images/wgm-preferences-login-groupfolder.png" /></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>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/share-group-folders.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portable Home Directories &#8212; Part 2</title>
		<link>http://www.makemacwork.com/portable-home-directories-2.htm</link>
		<comments>http://www.makemacwork.com/portable-home-directories-2.htm#comments</comments>
		<pubDate>Wed, 02 Jul 2008 12:00:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/portable-home-directories-1</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 should offer 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-settings-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-filesharing-users.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-afp-guestaccess.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="Workgroup Manager: Home Directory Path Configuration" src="http://www.makemacwork.com/wp-content/images/wgm-accounts-home-paths.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="Workgroup Manager: Home Directory Path Assignment" src="http://www.makemacwork.com/wp-content/images/wgm-accounts-home.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>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/portable-home-directories-2.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Portable Home Directories &#8212; Part 1</title>
		<link>http://www.makemacwork.com/portable-home-directories-1.htm</link>
		<comments>http://www.makemacwork.com/portable-home-directories-1.htm#comments</comments>
		<pubDate>Wed, 25 Jun 2008 12:00:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/portable-home-directories-1</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-preferences-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-preferences-mobily-accountcreation.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-preferences-mobily-sync.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>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/portable-home-directories-1.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restart Kerberos Manually</title>
		<link>http://www.makemacwork.com/manually-restart-kerberos.htm</link>
		<comments>http://www.makemacwork.com/manually-restart-kerberos.htm#comments</comments>
		<pubDate>Wed, 21 May 2008 14:00:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Open Directory]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/manually-restart-kerberos</guid>
		<description><![CDATA[The Kerberos authentication protocol is an encrypted ticketing system at the heart of Apple&#8217;s Open Directory. It is the basis for Mac OS X&#8217;s &#8220;Single Sign On&#8221; features, and a required component for integration with Windows Active Directory domains. Unfortunately, it&#8217;s possible for the Kerberos service to stop functioning properly, and when it dies, a [...]]]></description>
			<content:encoded><![CDATA[<p>The Kerberos authentication protocol is an encrypted ticketing system at the heart of Apple&#8217;s Open Directory. It is the basis for Mac OS X&#8217;s &#8220;Single Sign On&#8221; features, and a required component for integration with Windows Active Directory domains. Unfortunately, it&#8217;s possible for the Kerberos service to stop functioning properly, and when it dies, a good number of your network services die with it.</p>
<p>Ideally, you can simply click the &#8220;Kerberize&#8221; button in the &#8220;General&#8221; pane of Server Admin&#8217;s Open Directory settings. That should restart the service. This article for when you find yourself in less than ideal circumstances.</p>
<h3>Why Kerberos Can Stop On OS X Server:</h3>
<p>When the Kerberos service fails, the likely culprit is a DNS issue. This isn&#8217;t the only reason Kerberos can break, but it&#8217;s most common and the easiest to test for. The Kerberos KDC service (or Key Distribution Center), requires matching forward and reverse DNS lookups, and changing a server&#8217;s hostname or IP manually (or losing connection to your DNS servers) can require the machine to be re-Kerberized. Since Tiger, Mac OS X has also been designed to dynamically set a machine&#8217;s hostname on boot using a reverse lookup, meaning that external changes to a server&#8217;s DNS listings can cause it to change names and break its original Kerberos realm.</p>
<p>Before you try to restart Kerberos, you&#8217;ll want to know which (if any) of these things went wrong. If you aren&#8217;t sure how to go about this, check with whomever in your organization controls Domain Name Service, or use the procedure from the beginning of our article on <a href="http://www.makemacwork.com/master-open-directory-1.htm">setting up Open Directory</a>.</p>
<h3>How To Start Kerberos From The Command Line:</h3>
<p>Once your server is properly registered in DNS, you can begin reconstructing your Kerberos realm. The first step is to create a new edu.mit.Kerberos file, which Mac OS X can fortunately do (somewhat) automatically. Open the Terminal and type:</p>
<p><code><strong>sudo kerberosautoconfig -r REALM -m HOSTNAME</strong></code></p>
<p>For this command, <tt>HOSTNAME</tt> is the fully qualified domain name of your server, such as <tt>server.example.com</tt>. <tt>REALM</tt> is the server&#8217;s DNS name again, but this time in all capital letters, like <tt>SERVER.EXAMPLE.COM</tt>. Next you&#8217;ll create a KDC database for the new Kerberos realm:</p>
<p><code><strong>kdcsetup -f /LDAPv3/127.0.0.1 -w -a DIRADMIN -p PASSWORD REALM</strong></code></p>
<p>Here <tt>DIRADMIN</tt> is the name of any user with directory administration privileges, and PASSWORD is their actual login password. Once that&#8217;s done, you can Kerberize the server&#8217;s Open Directory domain with the following:</p>
<p><code><strong>sudo slapconfig -kerberize -f DIRADMIN REALM</strong></code></p>
<p>Finally, configure the Single Sign On mechanism to utilize Kerberos authentication for all applicable OS X services.</p>
<p><code><strong>sudo sso_util configure -r REALM -a DIRADMIN -p PASSWORD all</strong></code></p>
<p>This should once again leave you with a fully-functioning Kerberos installation on your Open Directory server, all without ever having had to reboot the machine.</p>
<p>If you&#8217;re following this procedure, keep one additional things in mind: Because the <tt>kdcsetup</tt> and <tt>sso_util</tt> commands unfortunately requires that you provide a password on the command line (and therefore store that password in your command history), it&#8217;s good security practice to change that user&#8217;s password immediately after this process.</p>
<p><span class="note">Recommended Reading:</span> For an illustrated overview of the Kerberos authentication Process, there&#8217;s the handy <a href="http://www.computerworld.com/computerworld/records/images/pdf/kerberos_chart.pdf">Kerberos Chart [PDF - 72KB]</a> at Computer World. For more depth into how Kerberos works on OS X, there&#8217;s an <a href="http://www.afp548.com/article.php?story=20060709175021180">excellent three-part article</a> at AFP548.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/manually-restart-kerberos.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manage Account Preferences</title>
		<link>http://www.makemacwork.com/manage-account-preferences.htm</link>
		<comments>http://www.makemacwork.com/manage-account-preferences.htm#comments</comments>
		<pubDate>Wed, 02 Jan 2008 13:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/manage-account-preferences/</guid>
		<description><![CDATA[One of the long-standing complaints from IT departments about Mac OS X is the lack of a granular administration system. Users are either administrators or they aren&#8217;t; It&#8217;s a simple and appealing set up for home studios, but a serious problem for companies laboring under HIPAA and Sarbanes-Oxley regulation. In our earlier series on how [...]]]></description>
			<content:encoded><![CDATA[<p>One of the long-standing complaints from IT departments about Mac OS X is the lack of a granular administration system. Users are either administrators or they aren&#8217;t; It&#8217;s a simple and appealing set up for home studios, but a serious problem for companies laboring under HIPAA and Sarbanes-Oxley regulation. In our earlier series on how to <a href="http://www.makemacwork.com/master-open-directory-1/">master Open Directory</a>, we deployed centrally managed network accounts for Macintosh. Administrators who need finer control of the user environment can build on that deployment to manage account preferences.</p>
<p>Open Workgroup Manager, and select the &#8220;Preferences&#8221; button from the toolbar at the top of the window. The panel on the right will change to display the preferences available for control through Open Directory. While you can manage preferences for individual accounts, it&#8217;s significantly more scalable (not to mention less confusing) to utilize groups for these purposes. Select the second button at the top of the left hand column (illustrated with three silhouettes) to do so.</p>
<p><img alt="Workgroup Manager: User Group Preferences" src="http://www.makemacwork.com/wp-content/images/wgm-preferences-usergroups.png" /></p>
<p>Using the icons on the right, you can then choose which Applications users may or may not launch, determine their write privileges for external media, establish which System Preferences settings they can change, and more. These are the Managed Client for OS X (also known as MCX) preferences.</p>
<p>For most preferences, you can set the frequency to &#8220;Once&#8221; (meaning the setting is a default that can be overwritten by the user) or &#8220;Always&#8221; (meaning the user cannot change the settings at all). Many offer &#8220;Often&#8221; as well (meaning the setting is editable but reset on each login), useful for public machines but outgrown by Leopard&#8217;s new Guest account.</p>
<p>Some preferences, however, either can&#8217;t be set through user groups (such as Login and Energy Saver options), or make little sense on a per-user basis (like network proxies, available printers, or Software Update). For these settings, you&#8217;ll want to set machine-based preferences.</p>
<p>Leopard Server splits computer-based management into two panes, one for individual machine accounts (illustrated by a single box) and the second now just for machine &#8220;groups&#8221;.</p>
<p><img alt="Workgroup Manager: Computer Group Preferences" src="http://www.makemacwork.com/wp-content/images/wgm-preferences-computergroups.png" /></p>
<p>You&#8217;ll create accounts by adding their name and MAC address (also called Ethernet ID). Machine accounts are also created dynamically when a computer binds to your Open Directory domain. Once your accounts are in place, you can add them to the groups, and manage preferences for every user on a given machine.</p>
<p>Combined with the locked administrative System Preferences on each workstation, managed account preferences allow administrators to truly define account policy for their Macintosh users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/manage-account-preferences.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Master Open Directory &#8212; Part 2</title>
		<link>http://www.makemacwork.com/master-open-directory-2.htm</link>
		<comments>http://www.makemacwork.com/master-open-directory-2.htm#comments</comments>
		<pubDate>Wed, 21 Nov 2007 14:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/master-open-directory-part-2/</guid>
		<description><![CDATA[Last week in part one of this article, we explored the basics of getting Open Directory up and running on your OS X Server. This week, we&#8217;ll set security policy to restrict access to your network services, then create or migrate user accounts to the LDAP directory for distribution and set up your workstations to [...]]]></description>
			<content:encoded><![CDATA[<p>Last week in <a href="http://www.makemacwork.com/master-open-directory-1.htm">part one</a> of this article, we explored the basics of getting Open Directory up and running on your OS X Server. This week, we&#8217;ll set security policy to restrict access to your network services, then create or migrate user accounts to the LDAP directory for distribution and set up your workstations to use them.</p>
<h3>Secure Open Directory Access:</h3>
<p>By default, Open Directory will allow access to any machine on the network. This may work fine in an isolated academic environment, but most businesses have greater security requirements imposed upon them. Those requirements are fulfilled by Kerberos, an encrypted ticket-based authentication system developed at an isolated academic environment called MIT.</p>
<p><img alt="Server Admin: Open Directory Binding" src="http://www.makemacwork.com/wp-content/images/serveradmin-opendirectory-binding.png" /></p>
<p>Open the Server Admin tool and select the &#8220;Open Directory&#8221; option from your server listing on the left. Click the &#8220;Settings&#8221; button in the Toolbar, followed by the &#8220;Policy&#8221; button on the strip below it, and the &#8220;Binding&#8221; button on the strip below that. Check the top two boxes to require authenticated binding for directory services, then the next four to enforce the strict Kerberos protocols for authentication.</p>
<p><img alt="Server Admin: Password Policy" src="http://www.makemacwork.com/wp-content/images/serveradmin-opendirectory-passwords.png" /></p>
<p>Now click the &#8220;Passwords&#8221; button to define your organization&#8217;s minimum password requirements. An ideal policy varies widely depending on each individual environment, but keep in mind that overly strict policies often lead to weaker passwords overall (or complex passwords taped to monitors and under keyboards). Whatever you choose, be sure to check &#8220;be reset on first user login&#8221; password. This allows you to assign the same default password to all new and imported accounts, rather than assign each account a new password individually, then forces users to create a new one immediately.</p>
<h3>Migrate Users To Open Directory:</h3>
<p>Now that you can insure account information will be communicated securely, the next step Launch Workgroup Manager and log in under the directory administration account created in part one (<tt>diradmin</tt> by default) with the fully qualified domain name of your server (such as <tt>www.example.com</tt>).</p>
<p>This will open into the server&#8217;s <tt>/Local/Default</tt> directory, where non-network account information is stored. If you already have local user accounts, you&#8217;ll see them listed down the left column. Select those you&#8217;re transferring to the Open Directory service, then select &#8220;Export&#8230;&#8221; from the &#8220;Server&#8221; menu. The dialog will prompt you for a name and location to save your exported account listing. This export file will contain all the users&#8217; existing account information except passwords, hence the importance of requiring new ones at login.</p>
<p>To move the accounts to Open Directory, click the tiny globe on the far left of the Workgroup Manager window, in the thin stripe just below the toolbar. Choose <tt>/LDAPv3/127.0.0.1</tt>, indicating that you&#8217;re now editing the LDAP (lightweight directory access protocol) settings. You should see your directory administrator account to the left, but no other users listed. Select &#8220;Import&#8230;&#8221; from the &#8220;Server&#8221; menu, and you&#8217;ll be presented with the dialog to re-import your accounts. If you&#8217;re moving accounts to an empty directory, you can safely leave these options at their defaults and click the &#8220;Import&#8221; button. Your exported local accounts should now be listed down the left hand side as Open Directory accounts. Only once you&#8217;re sure the new network accounts work properly should you then delete their local counterparts.</p>
<p>If you&#8217;re setting up a brand new server, there are no accounts to move around.  Instead, just select the <tt>/LDAPv3/127.0.0.1</tt> directory, and create your new users and groups.</p>
<h3>Bind Clients To Open Directory:</h3>
<p>Now that you&#8217;ve made accounts visible to the network, you&#8217;ll want to configure your other machines to utilize them. On your client machines, open Directory Utility, and click the plus sign at the bottom of the window. Leave &#8220;Open Directory&#8221; selected in the pulldown menu, then enter the fully qualified domain name of your Open Directory server and hit &#8220;OK&#8221;.</p>
<p><img alt="Directory Utility" src="http://www.makemacwork.com/wp-content/images/directoryutility-opendirectory.png" /></p>
<p>The window will then expand to accept credentials for the authenticated binding you&#8217;ve required. Enter the username and password of your directory administration account, as well as a unique machine identifier (most often the hostname or serial number), then hit OK again. If the binding process is successful, you&#8217;ll be greeted with a reassuring green light and a message that the Open Directory server &#8220;is responding normally&#8221;.</p>
<p>If you&#8217;re unsure if a computer bound properly, or has become unbound, the simplest test is to open the Terminal and type:</p>
<p><code><strong>id diradmin</strong></code></p>
<p>If you named your directory administrator account differently, just substitute that for <tt>diradmin</tt>, but be sure to use an account that exists only in the directory service and not on the local machine. The response should contain the UID, GID, and groups that user is a member of. Should the response instead be &#8220;no such user&#8221;, and the user exists on the server, then the machine has become unbound.</p>
<p>Now that you can login to all your machines with Open Directory network accounts, you can leverage those accounts for OS X security, collaboration, and management features.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/master-open-directory-2.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Master Open Directory &#8212; Part 1</title>
		<link>http://www.makemacwork.com/master-open-directory-1.htm</link>
		<comments>http://www.makemacwork.com/master-open-directory-1.htm#comments</comments>
		<pubDate>Wed, 14 Nov 2007 14:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/master-open-directory-1/</guid>
		<description><![CDATA[It can control your company’s user accounts, their password policies and preferences. It allows access to home directories from anywhere on the network, and mirror that data safely to your server. It forms the basis for features like shared calendaring and contacts, single sign-on to computing resources, and enterprise-level security for all your network services. [...]]]></description>
			<content:encoded><![CDATA[<p>It can control your company’s user accounts, their password policies and preferences. It allows access to home directories from anywhere on the network, and mirror that data safely to your server. It forms the basis for features like shared calendaring and contacts, single sign-on to computing resources, and enterprise-level security for all your network services. In the past, Open Directory may have been Apple’s best-kept secret, but it’s now the essential element of business-class Macintosh deployment.</p>
<p>System administrators rely on services like Open Directory to keep down per-person support costs and prevent the need for repetitive tasks and individual maintenance. For users, however, Open Directory finally delivers on the promise of a Macintosh corporate network that “just works”. In this two-part series, we&#8217;ll make that happen.</p>
<h3>DNS and Open Directory:</h3>
<p>Like anything designed to look effortless, Open Directory implementation depends on a series of precise and carefully preformed steps. In the event of an error, most of those steps can be retraced, but having flawless Domain Name Service is essential to a successful Open Directory deployment. Improperly configured DNS isn’t just the reason Open Directory can fail at the very start, it’s most often the reason it fails during or even after the job is completed.</p>
<p>The most important determination to make is how DNS is controlled in your individual environment. If this is someone else’s responsibility and has been pre-configured, you’ll need to coordinate with them to be sure their name servers provide both forward and reverse listings for your planned Open Directory server. You can test this by opening the Terminal and typing:</p>
<p><code><strong>nslookup HOSTNAME</strong></code></p>
<p>Here <tt>HOSTNAME</tt> is replaced by the fully-qualified domain name of your server, such as <tt>server.makemacwork.com</tt>. This should return the IP address of the machine in question, without any error messages. Now repeat the test, replacing <tt>IP</tt> below with the IP address you just received:</p>
<p><code><strong>nslookup IP</strong></code></p>
<p>If reverse lookups are operating properly, the command will return the hostname you began with. If not, you’ll have to find a way to get it reconfigured, or take on the responsibility of configuring it yourself.</p>
<h3>Deploy The Open Directory Service:</h3>
<p>Now that you’ve confirmed your DNS is set up properly, open the service “Settings” in Server Admin, check the box for Open Directory, and save. This will bring you to the first configuration pane, reading &#8220;Role: Standalone Server&#8221;. Click the &#8220;Change&#8230;&#8221; button and you&#8217;ll be prompted to choose an Open Directory configuration. For basic set up, select &#8220;Open Directory Master&#8221; and hit &#8220;Continue&#8221;.</p>
<p><img alt="Open Directory: Master Domain Administrator" src="http://www.makemacwork.com/wp-content/images/opendirectory-domainadmin.png" /></p>
<p>The Open Directory assistant will ask you to create a new user specifically to administer the network directory domain. By default, the username is <tt>diradmin</tt> and the UID is <tt>1000</tt>, but you can change these to whatever best fits your existing management scheme. Once the directory service is in place, the right to administer it can be assigned to an existing user or divided amongst your management team.</p>
<p><img alt="Open Directory: Master Domain Info" src="http://www.makemacwork.com/wp-content/images/opendirectory-domaininfo.png" /></p>
<p>The next window assigns both the Kerberos Realm (which controls the Open Directory security components) and the Search Base for your master domain. These should both fill in automatically.  The realm is identical to your fully qualified host name, and should appear in capital letters. The search base is identical, except that each period is replaced by &#8220;dc=&#8221;, defining each portion of the name as a domain component. Double-check the information is correct and hit &#8220;Continue&#8221;. The assistant should confirm that your server has been promoted to an Open Directory Master.</p>
<p>With this foundation is in place, you can begin building on Open Directory to take control of your Macintosh network.</p>
<p>Next week in <a href="http://www.makemacwork.com/master-open-directory-2.htm">part two</a>, we&#8217;ll secure Open Directory to restrict access, migrate user accounts to the directory service, and configure your machines to utilize them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/master-open-directory-1.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office Won&#8217;t Save To Server</title>
		<link>http://www.makemacwork.com/office-2004-wont-save-to-server.htm</link>
		<comments>http://www.makemacwork.com/office-2004-wont-save-to-server.htm#comments</comments>
		<pubDate>Wed, 11 Jul 2007 13:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Open Directory]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/office-2004-wont-save-to-server/</guid>
		<description><![CDATA[The Art Department is cranking out proposals.  Marketing is knee deep in spreadsheets. Everybody&#8217;s working furiously, when suddenly the panicked phone calls start. The Macintosh users can&#8217;t save their Office documents, and these cryptic messages appear when they try:
There has been a network or file permission error.Save not completed. File rename failed.
No matter what [...]]]></description>
			<content:encoded><![CDATA[<p>The Art Department is cranking out proposals.  Marketing is knee deep in spreadsheets. Everybody&#8217;s working furiously, when suddenly the panicked phone calls start. The Macintosh users can&#8217;t save their Office documents, and these cryptic messages appear when they try:</p>
<blockquote><p><strong>There has been a network or file permission error.<br />Save not completed. File rename failed.</strong></p></blockquote>
<p>No matter what you do, you can&#8217;t seem to get Word or Excel to save to your network shares. You&#8217;ve gone over the machines repeatedly, and everything is set up properly. Worse still, the problem&#8217;s intermittent. Your users swear it happens when they&#8217;re busiest, but sometimes it doesn&#8217;t happen for days.</p>
<p>There is an explanation. What they&#8217;re suffering from is an unfortunate side-effect of how Microsoft Office handles temporary files, and the more users that are on the server at one time the more likely this is to bring work to a screaming halt.</p>
<h3>Why Office for Macintosh breaks some offices:</h3>
<p>Most modern applications utilize temporary files, to guard against data loss or free up working memory. Traditionally, Unix operating systems have saved these files in <tt>/tmp</tt> (though Mac OS X utilizes <tt>/private/tmp</tt>), and have included random numbers in their names to prevent accidental duplication. Adobe Creative Suite uses a similar method, saving temporary files in the same directory as the open file being edited, but again using a pseudo-random string like <tt>~file~ve_kv.idlk</tt>.</p>
<p>Microsoft Office, on the other hand, saves temporary files at the root of the server volume you&#8217;re working on, in a folder named <tt>.TemporaryItems/folders.UID</tt> (where <tt>UID</tt> is the user&#8217;s account number on their local client machine). This is client-side behavior on the application&#8217;s part, and can happen when saving to AFP (Macintosh) or SMB (Windows) volumes.</p>
<p>The problem is that users often all have the same UID on their client machine, because Macintosh computers in an unmanaged environment assign a default UID of 501 to the first account created. That means every Microsoft Office user is trying to read and write to the same temporary folder. That works fine until the original user logs out of their system, at which point they automatically and unintentionally delete that folder, and the remaining users can no longer save their documents to that volume. The problem exists in Office 2004 and the newer 2008.</p>
<p>There are two approaches to eliminate this problem, one utilizing directory services on the server side, the other using the Terminal on each individual client machine.</p>
<h3>Office for Macintosh in enterprise settings:</h3>
<p>In a server setting, Apple expects user accounts to utilize a directory service like Microsoft&#8217;s Active Directory or their own Open Directory system. Most Mac users expect that they can set up their office machines in the same easy way they&#8217;ve set up their home machines for years. It&#8217;s these conflicting expectations, wrapped up in Microsoft&#8217;s predictable file-naming scheme, that create this problem Office users have been left trying to work around for years.</p>
<p>The best solution is to leverage Open Directory on your OS X server and migrate your client machines to a unified, managed login scheme. This not only solves this Office problem but brings a wide range of additional features with it. It&#8217;s the management structure that allows control of System Preferences and Software Updates for every Macintosh in the organization, enables a company-wide address book for contact management and collaboration, and provides the highest level of security for network resources. In this situation, each user has a unique account not just on their own machine but across the entire network, sidestepping the Office UID conflict entirely.</p>
<p>In environments without a Macintosh server the same principle still applies. Open Directory can integrate seamlessly into an Active Directory domain, allowing Windows administrators a greater level of management control through group policy setup. Instead of using local accounts on each client machine, you can also avoid potential UID conflicts by binding the Macintosh clients to the AD domain and having users log in with their Active Directory domain accounts.</p>
<h3>Changing individual UIDs manually:</h3>
<p>If you&#8217;re not quite ready to take that leap, it&#8217;s relatively simple to change the UIDs on each client machine to match those on the server. It can also potentially destroy a system, so you&#8217;ll want a recent backup handy and some comfort with the Unix command line. Remember that you&#8217;ll need to perform these steps for every user on every machine that accesses your server.</p>
<p>Log in as a local administrative user (and not the user whose UID you&#8217;re changing), and from the Terminal type:</p>
<p><code><strong>id -u USERNAME</strong></code></p>
<p>Here <tt>USERNAME</tt> is the short name of the user to whom you&#8217;re assigning a new account number. This will give you their current UID. To change that UID on Mac OS X 10.4 type:</p>
<p><code><strong>sudo niutil -createprop . /users/USERNAME uid NEWUID</strong></code></p>
<p>On version 10.5, <tt>niutil</tt> has been deprecated, and instead you&#8217;ll need to input:</p>
<p><code><strong>sudo dscl . -change /users/USERNAME UniqueID OLDUID NEWUID</strong></code></p>
<p>Above, <tt>OLDUID</tt> is the current account number that the previous command provided, most likely 501 or 502. <tt>NEWUID</tt> is the new and unique account number you&#8217;re assigning. Finally, type:</p>
<p><code><strong>sudo find / -user OLDUID -exec chown NEWUID {} \;</strong></code></p>
<p>This last command will locate and assign ownership of all the user&#8217;s files to their new account number. It can take quite a while, depending on how much data belongs to each user. If you use external hard disks or USB drives you&#8217;ll have to repeat this step for them as well, replacing <tt>/</tt> with <tt>/Volumes/DEVICE</tt> (where <tt>DEVICE</tt> is the name of the external volume).</p>
<p>Once you&#8217;re done, your users will finally be able to save Office documents dependably.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/office-2004-wont-save-to-server.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
