Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Logging into account failed because an error occurred

10.6.6 MacBook Pro has been joined to my Microsoft Active Directory. I can log in with my account but the end user cannot. When he puts in his user ID and Password it gives the error message that Logging into account failed because an error occurred.

I know it's reading the AD because it actually displays the users name. I have logged into the machine locally and added the user in Ticket Viewer. I can su up to that user once logged in locally. I have verified the user account using the id -u command along with the dscl /Search -read /User/<username>

We have created a new AD user account that matches the one I'm having trouble with and it can login. I can also log into the machine using my AD account. What log files can I look at to give me some additional information on what could be happening? I'm really at a loss here.

MacPro.13" MacBookPro, 13" MacBook, MacBookAir, MacMini, Xserve, iPhone, iPad, Mac OS X (10.6.6), FreeBSD, Fedora, Ubuntu...Windows 7 if I have to

Posted on Jan 7, 2011 1:05 PM

Reply
3 replies

Mar 2, 2011 8:38 AM in response to packetman

This is caused by the machine "remembering" the path to the last user's share so when another user logs in, it is using the wrong path for that user, so it fails with that incredibly useful "unknown error has occurred" message!

To fix this, open the auto_master file in the /etc folder.

rem out the "network/servers" line so the file looks like this :-


#
# Automounter master map
#
+auto_master # Use directory service
/net -hosts -nobrowse,hidefromfinder,nosuid
/home auto_home -nobrowse,hidefromfinder
# /Network/Servers -fstab
/- -static

Logging into account failed because an error occurred

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.