r1392: Added password history code to tdbsam backend. Not yet tested (ie. may