How do you remove/uninstall plone.app.ldap to move to using pas.plugins.ldap? This is on 5.1.5 and I want to move the datastore to the new 5.2 version which will use pas.plugins.ldap.
In the add-ons (modules) control panel you can deactivate "LDAP support". You should do that. But unfortunately this does not fix everything.
- https://github.com/plone/plone.app.ldap/issues/14: the control panel configlet is not removed. To do this manually, go to portal_controlpanel in the ZMI, check the box in front of "LDAP Connection", and near the bottom click on Delete.
- The PAS plugin is not removed. Go to acl_users in the ZMI, check the box in front of "ldap-plugin" and click Delete.
- I expect there to be a local utility left behind, but that seems to be cleaned up correctly. Maybe the cleanup only happens in Plone 4.3 though. You can go to the Components tab in the ZMI and search for LDAP there to see if it is still there. I don't really advise editing the information there.
I have created a pull request to add an uninstall procedure.
Thanks for the uninstall information and the PR. I have not had a chance to try the steps you mentioned yet.
Thanks for the update!