I used to have an extra keychain, which I created in the keychain.app, in addition to the default one ("login") that was created by the system initially. After I upgraded to Lion, I moved all the info in this extra keychain to the default one, and made sure its password matched my user password. This works well for all cases where the keychain needs to be accessed by an application or service, except for the above-mentioned "appleidauthagent".
Thanks, leonie. The problem is that it wants to access a key chain that I no longer have. I used to have two key chains, the default one ("login") and an extra one ("UserName"). After I upgraded to Lion, I moved all the info in the key chain "UserName" into "login" and deleted "UserName". This worked fine for all services and applications, except for "appleidauthagent".
We had the same problem here after the upgrade to 10.7.4. Here's what resolved the issue:
- Logged-in as root user
- Applications->Utilities->Keychain Access->Preferences
- Reset Default Keychain
I actually ran into one problem with this, "Reset" failed with an "Could not obtain authorization for this opperation" error and left me w/o a login keychain (If you encounter this, please report a bug here); however, running "Keychain First Aid" fixed that.
I tried your fix but still didnt stop the popup - however I had to remove the following files as well
and then rebooted computer
I believe it is to do with remnant files from mobileme.com, mac.com and iDisk
problem now solved
When this issue popped up on the 3rd Mac in our company, i decided to get down and tackle this once and for all.
It was always an issue with something in the root account. from a bad keychain password, to a simply corrupt keychain.
Assuming you dont have anything meaningfull inside the root account, simply use the dsenableroot command from terminal, and the problem is solved.
dsenableroot -d (disables/deletes the root account
dsenableroot (re-enable a clean root account - given that you want one enabled)