Here is what I know on this, wiser minds may feel free to correct
everything I have to say.....
replies are inline.
On Tue, 2008-04-01 at 15:46 -0400, Ryan Steele wrote:
Hello,
I've got the smbk5pwd and ppolicy modules working, but I'm not entirely
sure I've got them working together.
I say this because clients joined to the domain (run by a Samba PDC with
an OpenLDAP backend) can change their passwords and it updates the NT/LM
passwords in LDAP, thus verifying the functionality of smk5pwd, but it
does not appear to enforce ppolicy restrictions. On the flip side of
the coin, the user can change their LDAP password by invoking ldappasswd
from a shell on the server, and are bound by the restrictions set forth
by ppolicy (password length, strength, historical passwords, etc.).
The ppolicy overlay is adding extra functionality to the password
extended operation. ldappasswd uses this. The restriction is not
present if you update the password hash via the ldapmodify command. The
key is in the extended operation. As an added tidbit only userPassword
is monitored not any other attribute.