[Network Administration]: Clean OSX setup

Well, my laptop had been acting up, and I’ve decided to clean install everything. I’ve got my copy of 10.8 Mountain Lion to install. I went with the clean install since I’m not sure why things are not running properly. I generated a USB install drive on one partition for Mountain Lion following this writeup, and leaving the rest open for future versions if necessary. The post has a section at the end for putting multiple boot images on a single disk.

Couple of things that I noticed. First, since I’ve moved most of my information to the network, this was less painful that it could have been. I loaded the template from the previous post, and I had my network accounts coming across from the filer, so those were all ready to go right away. Not without a couple of errors here and there. First, for my LDAP accounts, I was not able to access the Users & Groups pane from the system preferences. If I tried to open the page, system preferences would just crash. Turns out there is a LDAP attribute that was missing for Mountain Lion. In my new mapping, I mapped GeneratedUID to the uidNumber attribute in my directory. It’s working fine so far.

Second, I wasn’t getting syncing when I created my mobile account. I would just get the standard skeleton account for a new user even though I was able to log in through my network credentials. It wouldn’t even try to sync from my network home. I got a number of “home path is nil” errors in my FileSync log. I think that it tried to sync, but was failing almost immediately. Based on this post, I added OriginalHomeDirectory in my LDAP mappings to the homeDirectory attribute in my directory. Also, I used the -u option to calling createmobileaccount. This seemed to resolve the issue. Now my call to createmobileaccount looks like

sudo /System/Library/CoreServices/ManagedClient.app/Contents/Resources/createmobileaccount -n USER -X -s -v -u nfs://SERVER/EXPORT_PATH


One thought on “[Network Administration]: Clean OSX setup

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s