OpenLDAP change password

Support intro

Nextcloud version (eg, 20.0.5): 24.0.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.4): 7.4.3

The issue you are facing:

I can log in using OpenLDAP (iRedMail install) with Nextcloud but I cannot use Nextcloud to change the user password. I’ve scoured other solutions but cannot find a fix. Welcome to all knowledge on the matter. Thanks!

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it: Go to Settings->Security->Password

  1. Submit current and new passwords
  2. Result message: Unable to Change Password