After a frustrating google, I finally got password policy overlay in openldap load into system. Account-locking tested and it seems work. But when testing about password history, I can get pwdHistory when using leapsearch (uid=*), but the history checking part does not work. I'm using two password, and everytime it passes the check. I've already turning password exop on. Is thene any other possibility that why this doesn't work?
I'm using ubuntu 12.04.2