Disabling Windows password changes on Samba domain

If you have a mechanism for updating the registry on the Windows Computers you can set the

DisableChangePassword
DWORD value to 1 in:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
System

and

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
System

This will disable the change password button, in the Windows Security Dialog box.


You could try to modify the parameters passwd program and passwd hat in smb.conf, setting it to /bin/false or something. Not sure that this will help though.


Depending upon your configuration, enabling

pam password change = no

May do the trick.