Cannot reset user password

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 13.0.2.1
Operating system and version (eg, Ubuntu 17.04):** CentOS 7.3.1611**
Apache or nginx version (eg, Apache 2.4.25): Apache: httpd-2.4.6-45.el7.centos.4.x86_64
PHP version (eg, 7.1): PHP 7.1.8

The issue you are facing:

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

Steps to replicate it:

  1. Enable LDAP password changes per user
  2. Logout and click in Forgot Password
  3. Clic in the button of mail received to reset password
  4. Set new password
  5. Password is not changed

The output of your Nextcloud log in Admin > Logging:

{"reqId":"W7vMA7h2Ui3WeAXV52RGaAAAAAw","level":2,"time":"2018-10-08T21:28:36+00:00","remoteAddr":"192.168.50.47","user":"--","app":"user_ldap","method":"POST","url":"\/login","message":"Bind failed: 49: Invalid credentials","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"13.0.2.1"}
{"reqId":"W7vMA7h2Ui3WeAXV52RGaAAAAAw","level":2,"time":"2018-10-08T21:28:36+00:00","remoteAddr":"192.168.50.47","user":"--","app":"user_ldap","method":"POST","url":"\/login","message":"Bind failed: 49: Invalid credentials","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"13.0.2.1"}
{"reqId":"W7vMA7h2Ui3WeAXV52RGaAAAAAw","level":2,"time":"2018-10-08T21:28:36+00:00","remoteAddr":"192.168.50.47","user":"--","app":"core","method":"POST","url":"\/login","message":"Login failed: 'sergio.belkin' (Remote IP: '192.168.50.47')","userAgent":"Mozilla\/5.0 (Windows NT 6.1; Win64; x64; rv:62.0) Gecko\/20100101 Firefox\/62.0","version":"13.0.2.1"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'passwordsalt' => 'xxxxxxxxxx/',
  'secret' => 'xxxxxxxxx',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'muteriver.infoestructura.local',
    2 => '192.168.50.8',
    3 => 'infoestructura.local',
    4 => 'cloud.xxxxx.com',
    5 => 'cloud.xxxxx.com:44300',
    6 => 'office.xxxxxx.com',
  ),
  'htaccess.RewriteBase' => '/',
  'datadirectory' => '/var/lib/nethserver/nextcloud/',
  'overwrite.cli.url' => 'http://localhost',
  'dbtype' => 'mysql',
  'version' => '13.0.2.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxxxxxxxxxx',
'installed' => true,
  'instanceid' => 'ocmstnc1xrkf',
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/httpd/ssl_error_log:

No logs when trying this

LDAP is internal of SAMBA4.

Please, could you help me to fix it?

Thanks in advance!