Home Folder Sync - MO WGM, Just Casper

jeremy_spolande
New Contributor

Hi,

I am tyring to get this to work by applying a configuration with mobility settings (downloading and applying manually, need to sort out ports for apn in due course).

When installing the profile using a local account It tells me that i need to do so under a network account, but if i try to do so using a network account it says the network account is already created and fails.

Not sure what the workflow should be here, I am using an AD binding at build so nework accounts create when you log in as an AD user.

All a bit odd. Has anyone got this to work properly? I like the idea that roaming could be enabled from self service but am unsure of the workflow.

Cheers

8 REPLIES 8

Joseph_Morris
Contributor

Are you attempting to do portable homes? Or are you using a local account and just want them to be able to sync their files to their network home?

jeremy_spolande
New Contributor

Portable homes in some manner, I want users to log on using A/D for various reasons and to be able to sync their home folders (or large chunks of).

jeremy_spolande
New Contributor

.

justinrummel
Contributor III

Portable Home Directories (PHD) is something that Apple is getting away from. Yes the Mobility option in Configuration Profiles is the answer, but I strongly suggest reconsider that idea as when you have questions about HOW this is being done... Apple will say "Don't do that".

- Justin

jeremy_spolande
New Contributor

cheers, all a bit awkward, you are right Apple will just say use an osx server, seems that you can set the AD bind to not create a network folder and then have the config profile do this, formatting of the homefolder is a little fiddly too unless you use a custom config for each user. .

jeremy_spolande
New Contributor

Think we have most of this up and running now after specifying to use the home folder and setting this in AD, only issue being trying to specify which folders. Keep getting "No folders are selected to be synced" however we specify them in the config profile.Anyone have this working?

bajones
Contributor II

I haven't gotten it to work with the built in user-level payload. I've been using a custom computer-level payload with the com.apple.homeSync domain successfully for over a year, however. Here's a sample plist I've used (some of the dict entries have been shortened for brevity and the rest of the keys are self-explanatory):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>excludedItems-managed</key>
    <array>
        <dict>
            <key>comparison</key>
            <string>fullPath</string>
            <key>value</key>
            <string>/Macintosh HD/"Items to exclude do in this dict"</string>
        </dict>
    </array>
    <key>excludedPrefItems-managed</key>
    <array>
        <dict>
            <key>comparison</key>
            <string>fullPath</string>
            <key>value</key>
            <string>~/Library/"Preferences to exclude"</string>
        </dict>
    </array>
    <key>periodicSyncOn</key>
    <true/>
    <key>replaceUserPrefSyncList</key>
    <true/>
    <key>replaceUserSyncList</key>
    <true/>
    <key>syncBackgroundSetAtLogin</key>
    <string>dontSync</string>
    <key>syncBackgroundSetAtLogout</key>
    <string>sync</string>
    <key>syncBackgroundSetAtSyncNow</key>
    <string>sync</string>
    <key>syncBackgroundSetInBackground</key>
    <string>sync</string>
    <key>syncPeriodSeconds</key>
    <integer>1800</integer>
    <key>syncPreferencesAtLogin</key>
    <string>dontSync</string>
    <key>syncPreferencesAtLogout</key>
    <string>dontSync</string>
    <key>syncPreferencesAtSyncNow</key>
    <string>dontSync</string>
    <key>syncPreferencesInBackground</key>
    <string>dontSync</string>
    <key>syncedFolders-managed</key>
    <array>
        <dict>
            <key>path</key>
            <string>~/Documents</string>
        </dict>
        <dict>
            <key>path</key>
            <string>~/Desktop</string>
        </dict>
    </array>
    <key>syncedPrefFolders-managed</key>
    <array/>
</dict>
</plist>

The only problem is that it's applied to the computer and not the user, but our teachers and students don't share computers so it's not a problem.

michaelhusar
Contributor II

I am trying to get PHD/Portable Home Syncing working with Mavericks 10.9.3
My clients are sharing different machines so we want them to give as much preferences synced as possible - and avoid those that make trouble (So far I have bad experience with Outlook and Mail - so I exclude those)
I use Profile Manager and push that - which works fine so far.
I use the defaults of "mobility" on ~/Library
with these exclusions

~/.SymAVQSFile
~/Documents/Microsoft User Data/Entourage Temp
~/Library/Application Support/SyncServices
~/Library/Application Support/MobileSync
~/Library/Caches
~/Library/Calendars/Calendar Cache
~/Library/Logs
~/Library/Mail/V2/MailData/AvailableFeeds
~/Library/Mail/V2/MailData/Envelope Index
~/Library/Preferences/Macromedia/Flash Player
~/Library/Printers
~/Library/PubSub/Database
~/Library/PubSub/Downloads
~/Library/PubSub/Feeds
~/Library/Safari/Icons.db
~/Library/Safari/HistoryIndex.sk
~/Library/iTunes/iPhone Software Updates
IMAP-
Exchange-
EWS-
Mac-

and also added those:

~/Library/Developer
.fstemp
~/Library/Safari/LocalStorage
~/Library/Mail/V2
~/Dropbox
~/Library/Mobile Documents
~/Library/Messages
~/Library/Application Support/AddressBook/Sources
~/Documents/Microsoft User Data
~/Documents/Microsoft-Benutzerdaten
~/Library/WebKit/LocalStorage

I am sure I miss things concerning the iCloud, etc.
Anybody also using white-listing or black-listing ? I would very much appreciate your input!