2 Replies Latest reply: Feb 13, 2008 11:34 AM by NLSDAndy
Anthony J Level 1 Level 1 (0 points)
Hello all,

I manage a bunch of Macs for a school district where we have them authenticating via Active Directory, but being managed by Open Directory (WGM). We've been setting users up with mobile accounts (their network home residing on a Windows 2003 box), and it has been working great! However, every now and then I encounter a problem where a user's home directory will not sync. Here's how the problem usually pans out:

1) The user logs in and is asked if they would like to create a portable home directory. Yes is selected. The user finishes logging in (no sync, yet).

2) I manually sync the account, and immediately there are conflicts. I only have the Documens folder, Thunderbird profile, and Firefox profile sync. Every syncable file is a conflict as it thinks the files exist on the server (when in reality, their network home folder is completely empty)!

3) I say, okay fine, replace all files with the files on the local machine. It goes through the process of doing this as usual. When it finishes, I check the user's network home...it's still empty!

4) I run the sync again. Either a) it prompts stating all the files are conflicting again, or b) the sync starts then immediately stops.

I've tried deleting every possible MirrorAgent and related config file, and the user's MirrorAgent database. I've tried removing the user from the local machine, logging in as them again (so a fresh home directory is created), but this does not work either.

Short of wiping the user's computer, I'm not sure what to do!

Here is some of a user's MirrorAgent.log...

================================================================================ ====================
**** MirrorAgent-99.9.7 (8R218) (pid 696) starting Wed Jan 9 09:25:52 2008
Wed Jan 09 09:25:54.377 2008 * Syncing "HomeSync_Mirror"
0 OKAY ADDED_DUPLICATE --> Documents/
0 OKAY ADDED_DUPLICATE --> Library/
0 OKAY ADDED_DUPLICATE --> Library/Application Support/
0 OKAY ADDED_DUPLICATE --> Documents/.localized
Wed Jan 09 09:25:55.389 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.013
Wed Jan 09 09:26:31.156 2008 * Syncing "HomeSync_Mirror"
0 OKAY MODIFIED --> Documents/07-08 Teacher List.doc
Wed Jan 09 09:26:37.193 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:06.037
Wed Jan 09 09:30:12.283 2008 * Syncing "HomeSync_Mirror"
Wed Jan 9 09:30:16 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncJobList.m,125 '[self resolveConflicts]' (-[SyncJobList syncAllJobs])
Wed Jan 09 09:30:17.320 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:05.037
**** MirrorAgent terminating Wed Jan 9 09:38:04 2008
Shutting down sync engine.
================================================================================ ====================
**** MirrorAgent-99.9.7 (8S165) (pid 286) starting Wed Jan 9 09:42:07 2008
Wed Jan 09 09:42:52.470 2008 * Syncing "HomeSync_Mirror"
Wed Jan 9 09:42:52 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/mirrordb.m,183 err -43 (getmirrordb)
Wed Jan 9 09:42:52 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncThread.m,222 err -43 (syncThreadStart)
Wed Jan 09 09:42:53.500 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.032
Wed Jan 09 09:43:31.275 2008 * Syncing "HomeSync_Mirror"
Wed Jan 9 09:43:31 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/mirrordb.m,183 err -43 (getmirrordb)
Wed Jan 9 09:43:31 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncThread.m,222 err -43 (syncThreadStart)
Wed Jan 09 09:43:32.287 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.012
Log verbosity level = 1.
Wed Jan 09 09:46:33.659 2008 * Syncing "HomeSync_Mirror"
We've been given remote home path "/Users/bcottrell".
Remote home path exists.
Remote home located at "/Users/bcottrell"
Wed Jan 9 09:46:33 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/mirrordb.m,183 err -43 (getmirrordb)
Wed Jan 9 09:46:33 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncThread.m,222 err -43 (syncThreadStart)
Scheduling "HomeSync_Mirror" for next update at Wed Jan 9 10:17:12 2008
Wed Jan 09 09:46:34.677 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.019
Setting MHD remote home path to "/Users/bcottrell".
Log verbosity level = 2.
Wed Jan 09 09:47:29.532 2008 * Syncing "HomeSync_Mirror"
We've been given remote home path "/Users/bcottrell".
Remote home path exists.
Remote home located at "/Users/bcottrell"
Wed Jan 9 09:47:29 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/mirrordb.m,183 err -43 (getmirrordb)
Wed Jan 9 09:47:29 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncThread.m,222 err -43 (syncThreadStart)
Scheduling "HomeSync_Mirror" for next update at Wed Jan 9 10:18:08 2008
Wed Jan 09 09:47:30.543 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.011
Command thread terminating.
Command thread starting.
Setting MHD remote home path to "/Users/bcottrell".
Log verbosity level = 2.
Wed Jan 09 09:49:30.666 2008 * Syncing "HomeSync_Mirror"
We've been given remote home path "/Users/bcottrell".
Remote home path exists.
Remote home located at "/Users/bcottrell"
Wed Jan 9 09:49:30 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/mirrordb.m,183 err -43 (getmirrordb)
Wed Jan 9 09:49:30 2008: /SourceCache/FileSync/FileSync-99.9.7/Agent/Engine/SyncThread.m,222 err -43 (syncThreadStart)
Scheduling "HomeSync_Mirror" for next update at Wed Jan 9 10:20:09 2008
Wed Jan 09 09:49:31.679 2008 * Done syncing "HomeSync_Mirror"
Elapsed time: 00:01.013
Command thread terminating.
Command thread starting.
Command thread terminating.



I have a feeling the problem may be related to "Remote home located at "/Users/bcottrell"" but I don't know how to fix that.

Any help would greatly be appreciated.

Thanks!

iMacs, Mac Minis, Mac OS X (10.4.11)
  • Anthony J Level 1 Level 1 (0 points)
    Nobody?

    I think I may have found the issue, but I am not certain if this is it. When doing a dscl lookup for an AD user, the NFSHomeDirectory points to /Users/[their local home], but OriginalNFSHomeDirectory points to the proper location of /Network/Servers/ok-nt00.mpcsd.org/teachers/[their network home].

    So, I get confused again. Am I close? If so, does anybody know how to fix it?

    Thanks!
  • NLSDAndy Level 1 Level 1 (0 points)
    Hi there.
    Let me first off say that I do not have an answer to your question. Sorry!

    I wanted to ask you how you got things started with your mobile syncing. Just like you, I work at a school dist with Macs. We have them authenticating via Active Directory, but being managed by Open Directory (WGM). Some of our schools also have their user accounts on a Windows2003 server. It is at these schools that I cannot get mobile home syncing to work. I can connect and have access to users' smb shares, and have everything working on our desktops, but the laptop mobile sync and phd stuff has been a problem for me with smb shares and server connections.

    Is there a resource somewhere that I can use to set up the syncing of Open Directory managed Macs/phds with AD authentication to smb server shares?

    Right now, when I log into one of our laptops that is set to create mobile accounts (setting applied through WGM), usually the users enter their login credentials, and get the "Do you want to create a mobile account?" message. However, once they choose YES, the computer resets and goes back to the login screen.

    I can't find much documentation on setting this scenario up correctly at all. Can you point me to somewhere I can find more info?

    Thanks very much!