2

The goal: Remove LDAP Contacts account from list of the Internet Accounts.

The problem: Removed LDAP account reappears in the Accounts list in 5 seconds after deletion.

Current OS: macOS 10.13 High Sierra

Steps:

  1. System Preferences -> Internet Accounts
  2. Select the LDAP Account
  3. Press "-" button
  4. Press "Remove From All" button on the pop-up dialog window "Do you want to remove the LDAP account “ldap.hostname.com” from all your computers using iCloud Keychain?"
  5. Account removed from the list
  6. After 5 second appears in the list.
3
  • A few more details on your environment might be helpful as the LDAP account reappearing might be a result of your Mac being bound to an LDAP directory environment. Commented May 25, 2018 at 11:38
  • How I can check this? Commented May 29, 2018 at 8:36
  • Ask your IT department Commented May 29, 2018 at 11:39

2 Answers 2

2

UPD: I've updated to Mojave and was able to delete these accounts.

I have the same problem on High Sierra (starting from 10.13.4, currently up to 10.13.6).

I tried to reset my iCloud keychain. It worked, until my iPhone (6S+, iOS 12.1.4) got connected to Wi-Fi and pushed data with those accounts back.

I checked this again, by disabling iCloud keychain on iPhone (Settings > Passwords & Accounts > iCloud > Keychain > Off), then resetting iCloud keychain on Mac, and then enabling back iCloud keychain on iPhone.

Seems the solution is to reset the iPhone (and other iOS devices, supposedly) and then reset iCloud keychain via Mac. But I'm not ready to go so far to test this theory, unfortunately.

Below is how to reset iCloud keychain from previous version of this answer.

You should probably backup your login and iCloud keychains, to avoid losing passwords and having to re-enter them after reset.

Login keychain stored in login.keychain-db file which is located in ~/Library/Keychains/ (Finder > Go > Go To Folder (cmd + shift + g).

You can copy it somewhere safe and then add it back (Keychain Access > File > Add Keychain)

Unfortunately, it's not possible to do the same with iCloud keychain. There is other solution.

To reset keychains:

  • Open System Preferences > Internet Accounts > iCloud
  • Uncheck Keychain in the list
  • Open Keychain Access > Preferences (cmd + ,)
  • Press Reset My Default Keychains button

Now go back to System Preferences > Internet Accounts > iCloud

  • Check Keychain back
  • Enter your iCloud password
  • Click Use Code, then choose Forgot Code when you're asked to enter your iCloud Security Code
  • Click Reset iCloud Keychain to confirm
  • Follow the onscreen steps to create a new iCloud Security Code (should be optional)

See https://support.apple.com/en-us/ht202755

1
  • Man... I have 16 inactive old accounts I would love to get rid of, but this issue prevents it. And I find it utterly ridiculous that I'd have to go through disabling Keychain on all of my numerous devices and resetting the keychain on my Mac, when Apple gives you a "Remove From All" button to click that doesn't actually do what is stated. I wonder how long Apple will sit on this bug until they finally decide to fix it... Commented Mar 7, 2023 at 19:42
0

Is or was your computer managed by an IT department? It may have an MDM Profile that forces configuration of this account. Check in System Preferences > Profiles. A privately managed computer will not have any profiles by default.

2
  • I have no "Profiles" item in the "System Preferences". Commented May 29, 2018 at 8:16
  • Computer is not managed by IT department. Commented May 29, 2018 at 8:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .