How to reset an LDAP user who forgot his old password

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.

1 Like

I already searched the forum and the manual, otherwise I would not post here :slight_smile:

The solution (found out by playing around with occ):
occ ldap:reset-user username

This is NOT in the manual:

And google has exactly 2 results for “occ ldap:reset-user” :smile: