I have OpenLDAP 2.4.57 on a Debian 11 server and Samba 4.13.13, on another Debian 11 system. When I create a new user in LDAP Account Manager (LAM), I can log in to the linux client systems, and I can connect using smbclient; and I can change the password successfully from LAM for both Samba and Linux. However, I can't do the same from the linux command line with 'passwd'.
I have found several articles pointing me to smbk5pwd, which I have installed and configured according to https://bangdash.space/2021/01/syncing-ldap-passwords-with-samba/ - but it doesn't make a difference. Clearly I have not set it up correctly; I would be grateful if someone with more insight than myself could help me find the problem.
I have run a session where user 'zzuser' changed their password from linux and the server ran:
/usr/sbin/slapd -h "ldap:/// ldapi:/// ldaps:///" -g openldap -u openldap -F /etc/ldap/slapd.d -d -1
It generated 42715 lines of output, which I have saved, but I hesitate to dump it here. However, please let me know what information you need to help me.
openldap-technical@openldap.org