Logon problems when booting back and forth between Windows and Leopard

All of our lab Macs are dual booted to Windows XP using Boot Camp. We use a variety of design software which requires both sides. Both sides are bound to our Server 2008 Active Directory. Most everything works well with this arrangement except for booting back and forth.

Here are the steps of a typical user:
1. Logs into Mac side using AD account and does some work
2. Reboots to Windows XP, logs in using the same AD account, and does some work
3. Reboots back into the Mac side and is unable to logon using the same AD account.
4. Administrative user logs in locally, resets the time when prompted (it changes it to 4 hours off real time)
5. Initial user can now log on normally

We've so far isolated the issue as being a time based issue because the Mac always opens the set time dialog, and the time is always set wrong, but we haven't been able to get any further with it.

This is a significant issue for us, so any help is greatly appreciated.

Who is Participating?
jhyieslaConnect With a Mentor Commented:
The time thing is a known issue.  But I think that OS X resyncs it's clock quickly after reboot.  Try coming out of Windows and way 2-5 minutes before attempting to log in to OS X.  As far as I can tell, there is no ready fix for the time problem other than to let it reset itself.

You might also try setting your AD users up with a Mobile account in the Directory Utility Advanced area.  I think that this is supposed to do like Windows in that it creates the user so that if its off-line from AD the user can still get to the desktop.

The Way OS X and windows stores time is different. Try to get mac-os to autoset the clock with ntpdate on startup against one of your DC's,

Would running Windows inside VMWare Fusion be a reasonable alternative? If would avoid constantly rebooting.

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

DJ... may be right about the time server sync... I don't use that in my environment where I have BC running.

WMware Fusion and parallels both do a great job of running WIndows on top of OS X.  The only thing that still doesn't work well is graphic intensive programs like modern games.   Both also have the ability to run your BC partition as a VM.  So if you are happy with how your BC partition is set up, you wouldn't have to redo it all just to create a VM.
CIA-MikeAuthor Commented:
It appears that jhyiesla's initial response is going to give us the desired response - at least for now. The time server should work, but does not seem to update the time fast enough from our experience.

VM and Parallels are not good for us because we're using all the Adobe products plus digital video editing, so the issues with vm's are real for us.

I'll let you all know how this works out tomorrow.

See Apple MAC OS comes with NTPD (an Network Time Daemon) that keeps the clock in check.
However if the clock drifts more than a couple of minutes you'll need ntpdate to set it.

From the terminal it looks like this

sudo /bin/bash
<enter your password>
bash-3.2# ntpdate time.nist.gov
10 Nov 21:31:56 ntpdate[3259]: adjust time server offset -0.000359 sec

^^^^ above is a successful ntpdate sync. It's instant.

-- here is what an unsucceful ntpdate run looks like (this means ntpd is in background) turn it off by disabling "set time and date automatically out of system preferences"

bash-3.2# ntpdate time.nist.gov
10 Nov 21:34:06 ntpdate[3284]: the NTP socket is in use, exiting

Next thing you would want is for ntpdate (not ntpd) to fire up immeidately on system boot up from rc/launchd.

ntpdate will provide you with an instant clock sync from any NTP time server


or your local Domain Controller if configured.
CIA-Mike... did anything suggested here solve your issue?

If the you do not know how to close the question, the options are here:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.