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

Security Agent: Could not get the user record from OpenDirectory

Hi,


Two months ago I had to change my SSD due to a damage at the old one. In the Apple shop they installed OS X Lion with a image from their image-server.


After that the Mac was quite slow in booting. With the old SSD (128 GB) booting takes 25 sec now it takes 75 sec.


I tried different things to solve the problem without result. First I asked in the shop, then I googled the problem all with no real solution.


Today now I searched in the log files. I found the following:



09.02.12 11:03:07.861 SecurityAgent: Could not get the user record from OpenDirectory.

09.02.12 11:03:07.861 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 10)

.

.

.

09.02.12 11:03:34.907 SecurityAgent: Could not get the user record from OpenDirectory.

09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)

09.02.12 11:03:34.907 SecurityAgent: Will sleep 3 seconds and try again (retryCount = 1)

09.02.12 11:03:38.653 WindowServer: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.

09.02.12 11:03:58.245 SecurityAgent: User info context values set for andi

09.02.12 11:03:58.246 SecurityAgent: User info context values set for andi

09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding

09.02.12 11:03:58.356 SecurityAgent: Login Window login proceeding


This operation takes 30 secs during the boot process. Can somebody help me, to solve this problem?



Regards


Andreas




MacBook Pro, Mid 2009

2.66 GHz Intel Core 2 Duo

8GB 1067 MHz DDR3

SAMSUNG SSD 830 Series , 256 GB

OS X 10.7.3

MacBook Pro, Mac OS X (10.6.7)

Posted on Feb 9, 2012 3:00 AM

Reply
5 replies

Feb 15, 2012 7:16 AM in response to cece2bali

Hi


Thanks for the answer. I did not try to remove the SystemConfiguration file. My collegue in the office played around with different network configurations. At least I could'nt boot the Mac normal, only secure boot was working. The we removed the seetings in "Anmeldeoptionen" (don,t know the correct word for this in english). After a reboot all works fine. Perhaps your hint would have given the same result.But now I can't try it.


Have a nice day



Andreas

Feb 17, 2014 9:01 AM in response to cece2bali

cece2bali wrote: "it seems that your mac tries to connect to a server while booting. This action will erase all your network configuration..."


Where can I go to learn more about this 'erasure' of network configuration if the mac tries to connect to a server while booting?


I get the same error message as the OP. My account is an Admin on the machine. It's configured to automatically log in on boot -- except sometimes it fails. It has a login-item which runs a bash script that makes an https request to a nearby machine. Maybe I should make this script sleep a while so the https action happens after the boot sequence is done? (unlike SmashHuevo, my user needs to be an Admin)

Security Agent: Could not get the user record from OpenDirectory

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