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.

Users can't login because of an error occurred.

Xserve with 2.26 GHz Quad-Core Intel Xeon with 10.6.8


Lately I've been seeing this error message a lot:


You are unable to log in to the user account "XXXXX" at this time


Logging in to the account failed because an error occurred.



Everytime when the above error occurred, I would see the below error in the system.log:


Oct 18 15:03:00 office /usr/sbin/AppleFileServer[191]: CloseFork: fOpenForks[1] is Null!


Hope someone out there can shed some light.

Xserve, Mac OS X (10.6.8)

Posted on Oct 18, 2011 1:32 PM

Reply
5 replies

Oct 28, 2011 12:49 PM in response to Cron Master

Additional clues:


iMac


Oct 28 15:30:48 7123L16 edu.mit.Kerberos.CCacheServer[5159]: launchctl start error: No such process

Oct 28 15:31:24 7123L16 authorizationhost[4844]: afp home directory mount failed in theEnumerator->Count in AFP_OpenSession: status = Unknown error: -5023


Xserve


Oct 28 14:58:39 ust1 mDNSResponder[35]: PenaltyTimeForServer: PenaltyTime negative -72787, (server penaltyTime 589340768, timenow 589413555) resetting the penalty

Oct 28 15:01:39 ust1 servermgrd[60]: -[AccountsRequestHandler(AccountsOpenDirectoryHelpers) openLocalLDAPNodeIfNeeded]: dsLocalLDAP = (null), error = Error Domain=com.apple.OpenDirectory Code=2000 UserInfo=0x106a10f60 "Unable to open Directory node with name /LDAPv3/127.0.0.1."

Nov 14, 2011 9:33 AM in response to Cron Master

You can also do a quick thing on the users side. Select the user that you have picked to log and you are getting this error. Open Workgroup Manager and select the user then click the advanced tab. Switch "user pasword type" to crypt password and then type in any password. Click save, then select another user and then go back to the user where you switched the password. Now switch it back to Open Directory.

This has worked for us with users getting that same error.

Nov 30, 2012 11:10 AM in response to Cron Master

I was having the same problem and what I ended up doing was adding my server ip to hosts file with the correct lookup value. Solved the problem immediately.


hosts file is located in /etc/hosts


open terminal

elevete permissions to root

i.e. sudo vi /etc/hosts

enter password

add your server/name to file by

hitting i

then add a new line at the bottom of the file

enter your ip address and a few spaces and then enter your server name, mine was

192.168.1.102 minimac.server.private

hit escape key

enter :wq


Login with the user you were having problems with...


voila!

Users can't login because of 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.