Samba4 AD password change doesn't work

Nextcloud version: 12.0.4
Operating system and version: Debian 9.3
Apache or nginx version: Apache 2.4.25
PHP version: 7.0.19

There is a Samba4 AD as directory backend, I’ve followed the install and configuration instructions in documentation. So the LDAP authentication is works as well.
Here is the LDAP query filter:

A quick note before I describe my problem: as Administrator in users list I see myself with these arguments:
Username: AD9465CB-4A8E-44AB-90BB-3A6014CE32E4
Full name: Ervin Hegedüs

So, I don’t know why I see the username as “AD94…” instead of “airween” (what I use to log in)

The problem is when I change my regular user password as administrator, I got the answer from the server: “Password successfully changed”, but the password doesn’t changed, so I can’t log in with the password given, only the olda password.

I’ve tried to change the password through LDAP with ldapmodify command:

cat ldappass_airween.ldif 
dn: CN=Ervin Hegedüs,CN=Users,DC=dw,DC=local
changetype: modify
replace: unicodePwd


ldapmodify -vvv -c -a -f ldappass_airween.ldif -H ldaps://dw.local:636 -D "CN=Administrator,CN=Users,DC=dw,DC=local" -w SECRET
ldap_initialize( ldaps://dw.local:636/??base )
replace unicodePwd:
modifying entry "CN=Ervin Hegedüs,CN=Users,DC=dw,DC=local"
modify complete

then I can log in with the new password, so the privileges and Samba4 LDAP interface works as well.

There isn’t any relevant content in log.

$CONFIG = array (
‘instanceid’ => 'ocjo0scz1111,
‘passwordsalt’ => ‘Vvztu3**************************’,
‘secret’ => 'dbcP6j****************************,
‘trusted_domains’ =>
array (
0 => ‘’,
‘datadirectory’ => ‘/home/global/’,
‘overwrite.cli.url’ => ‘’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘dbname’ => ‘dwcloud’,
‘dbhost’ => ‘’,
‘dbport’ => ‘’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘dwcloud’,
‘dbpassword’ => ‘******************’,
‘installed’ => true,
‘ldapIgnoreNamingRules’ => false,
‘ldapProviderFactory’ => ‘\OCA\User_LDAP\LDAPProviderFactory’,

There isn’t any relevant in the Apache log.