I have a password policy set on my ldap server and I have 'ldap password sync' set. When I try to change my password to one that doesn't satisfy the policy, samba incorrectly claims that the password change failed. My samba password is set to the new password, but my ldap password stays the same. Samba should set the ldap password first so that the two passwords stay in sync even if the ldap server refuses the new password.
Created attachment 5277 [details] Update ldap password first
this looks good for me, thanks! I added it to master with a679319192a50f8115c830ceabe33010d584e3c9 It will be in the upcoming 3.6 releases.