LDAP user cleanup does not work
-
Hi there,
before deploying, I wanted to test out Nextcloud on my Cloudron server. Therefore, I've added some demo accounts (Cloudron users).
After managing getting all groups from Cloudron into Nextcloud, I deleted those demo users from Cloudron. Those Users still are visible in the Nextcloud address book.
I've added
'ldapUserCleanupInterval' => 51,
to the config.php, but all those users still hang around. Is there any other way to delete those users?
Best
David -
If your Nextcloud instance is still configured to use LDAP via Cloudron, then those users will get synced into Nextcloud again and again. If you want to disconnect that, you have to install a fresh Nextcloud instance without Cloudron SSO enabled, then restore a backup from the old Nextcloud Cloudron instance. Not 100% sure what Nextcloud then does with those users if the LDAP mapping breaks, but it should treat them as local users.
-
I may not have been clear, my mistake:
- I've created users in Cloudron for testing purposes.
- Nextcloud is connected to Cloudron via LDAP, so every new Cloudron user can use the Nextcloud (worked.)
- I've deleted the Cloudron demo users.
- In the adminpanel "users" on Nextcloud, those demo accounts are missing (which is correct.)
But: All those demo accounts still appear in the contacts app. How do I delete them?
(This might not especailly be a Cloudron-related question, so I will look into this in the Nextcloud forums as well...)