Hi, I have a user from LDAP in nextcloud, who forgot his old password.
As all files are encrypted with the old password, there’s no way to recover them.
(Master key etc. is not enabled)
That’s fine, but how can I wipe that user, to start from scratch? I couldn’t find any way.
Try searching the forum. Perhaps you’ll find answers there or on the greater internet using keywords.
A few entries with solutions look promising. And there is documentation:
Looks like you must enable the ability for ldap users to change their passwords themselves.
I already searched the forum and the manual, otherwise I would not post here
The solution (found out by playing around with occ):
occ ldap:reset-user username
This is NOT in the manual: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#ldap-commands
And google has exactly 2 results for “occ ldap:reset-user”