Hi Aurélien & Jianliang, I just finished integrating the password history patches into the SAMBA_3_0 SVN codebase (not this change is not in 3.0.5rc1). If you could test out this code for both the tdbsam and ldapsam cases I'd appreciate it as I know you both worked on this. Thanks, Jeremy.