You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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

Mail keeps asking for password and icloud setting do not load in system preferences

Hi,


I have a mac mini server with mavericks, i have 2 iMacs as clients running mavericks too, when i use iMac (A) mail app and icloud work fine, them i take iMac (B) and mail app start asking for password , it just won't take the password, icloud do not load and cannot use anything else on system prferences because it locks system preferences, i need to force quit system prefrences , so I return to iMac (A) and i get same behaivor as iMac (B), i would appreciate your help for finding a solution for this.

All network users get the same behaivor, local users do not get this behaivor.


Thanks

Hector

Posted on Dec 1, 2013 1:06 AM

Reply
33 replies

Dec 12, 2013 7:12 AM in response to Hector Castillo

Hector;


I have the same problem. The solution is to log into your client, open Keychain, run Keychain First Aid under file menu. If it fails to find your keychain, note the path, mount the disk that it is looking for, and rerun.


In short, you need to have the disk that your keychain is sitting on mounted. While your user account is mounted, Maveriks cannot match the reference path. Looking like a bug.


Example:


my folder sits on a second disk on server. It is properly setup in the mavericks server.

On the server, it is locally referred to as: /Volumes/my_disk/Users/my_user. I can log in to mail on the server when I log in with my user name.


In the workgroup manager, the same location is referred to as:

afp://my_server.local/Users/my_user (or smb)

/Network/Servers/my_server.local/Volumes/my_disk/Users/my_user


So this is the network path. So the client should be looking for that. But instead, it looks for the local disk, which is not mounted as such. In other words, it looks for:


/Volumes/my_disk/Users/my_user/Library/Keychains


instead of


/Network/Servers/my_server.local/Volumes/my_disk/Users/my_user/Library/Keychains


To eliminate this problem, you mount the volume on the client, so it can find. I will keep the editorial to myself, but this is not quality software.


Ali

Dec 13, 2013 10:13 PM in response to Ali Kaylan

Hi Ali,


I verified and repaired keychain just fine, it says no problems found, and mail keeps asking for password, I found a workaround by reebooting clients after logging out, this is working, not the best solution but at least I can work using my client machines, I have an open case with Apple Care, they are working on it, Thanks for your reply, I am glad it solved your issue.


Hector

Dec 14, 2013 9:04 AM in response to Hector Castillo

Hector;


I permanently solved it using these instructions, in particular the ones under repair access control. In summary this is what you need to do:


  1. Open your keychain on client.
  2. Select login and Passwords respectively on the left panel boxes.
  3. For each and every email account, get info (command I) and under Access Control, add the Mail.app.
  4. I noticed I had more than one entry for each of my mail accounts, one having mail.app, and the other not. All of them need to have Mail.app added, if not already present.
  5. Launch Mail, and if it does not readily connect, hit the '~' sign next to the one of the inbox'es. Enter password(s) for one last time, then it sticks.


Yes this is a bug. Unfortunately, my respect for Apple has taken a serious hit in the last two years. It no longer 'just works'.

Dec 14, 2013 9:43 AM in response to Hector Castillo

If it's not Keychain, then verify the DNS and the network connections from the client to the server.


Mail.app has the habit and the history of tossing up password dialogs for a variety of connectivity errors. On the client, start with a DNS test and confirm the client is referencing the DNS server on your Mac Mini Server via Network Preferences, and make sure your server is running local DNS services and the following Terminal.app command (Applications > Utilities) reports no changes required:

sudo changeip -checkhostname

That'll require an administrative password. It's a diagnostic, and no changes will be made. It'll report either no changes needed, or it'll report on some of the common DNS or network configuration problems.


Also confirm you're not using .local as your local DNS domain within your OS X Server configuration, as that tends to cause weird errors.

Dec 14, 2013 10:45 AM in response to Ali Kaylan

Hi Ali,


I just tried your intructions and link instructions you posted and still does not fix it, non of my mail accounts had mail ap added under acces control, so I added mail app to all, but did not fix it, any other thoughts would be appreciate it, I will tried what MrHoffman says, I kind of remember that Apple and I checked all DNS releated and they were correct, but will try it again, Thanks

Dec 14, 2013 12:06 PM in response to MrHoffman

MrHoffman,


After entering terminal command it says that There is nothing to change, success, I am not using .local, Thanks for your suggestion, Any other thoughts will be appreciated, the only workaround currently is restarting client machines after a user logs out.


If we dont restart iMac after a user logs out, next user that logs in to his or her user account, mail start asking for password, this is happening on all network users accounts, I created a test user with Apple and it happens the samething, it does not happen on local users, local users works fine, this issue is only on Network users.


What I also see on server app file sharing, users are always connected even that users are logged out, by restarting iMacs after loging out they get disconnected, so I really think this file sharing issue is related to mail app asking for password and icloud not loading.


Thanks

Dec 14, 2013 12:42 PM in response to Hector Castillo

Hector;


I had exactly the symptoms that you described, and mine is now fixed, per the instructions I posted. Since you already said none of the accounts had 'mail', that has to be it.


My suggestions to you:


  1. make sure you added /Applications/Mail.app to all of the right entries in the keychain. That'd be smtp/pop/imap etc.
  2. make sure it sticks by doing it while logged in only one machine. I noticed keychain gets locked otherwise.
  3. relaunch mail, and when it asks, make sure you enter the right mail password(s). (It will ask one last time.)


PS. make sure you are able write to your keychain by reopening and verifying that 'Mail.app' is now in there.

Jan 10, 2014 8:18 PM in response to Erich Wetzel

I been working with Apple Care on this issue, engineering got my case, they been asking for EDCs very often, I hope they find the fix soon, I really think is related to file sharing service on server app, if you guys take a look at file sharing on server app, you will see that network users are always connected even after users are logged out, reebooting client machines after network users stop using client machines is the only way you will see network users not connected on server app file sharing.


Hector

Jan 11, 2014 5:15 AM in response to Hector Castillo

Hector, generally speaking, when users log out, in my case, I do not show users logged in. So this has not been a problem with me. But the problem is still here with 10.9.1 and server 3.0.2. The only solution I have at the moment is to delete in user's machine:


~/Library/Keychains/3CA665E5-E8E5-6BED-885D-77C88A4252A9


the numbers will be different, obviously, and there can me more than one folder of this kind. Delete all, restart client, reenter mail passwords, and it works. Annoying. And if you have hundreds of users, you are toast.


Ali

Jan 11, 2014 9:12 PM in response to Ali Kaylan

Hi Ali,


Any clue what could be my file sharing issue?, I really thought that was causing the mail app issue, but know since you said that you dont have file sharing issue makes me think that is something else, one more issue that I am having on all network users created before Mavericks update is that maps app dont work, but it is working fine on new network users I created after mavericks update.


Thanks

Mail keeps asking for password and icloud setting do not load in system preferences

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