Sergio Tosti reported
"When calculates MD4 hashes for samba passwords Luma returnes always lmhash instead of nthash, The attached patch resolves the problem."
Please review the patch, it looks sensible to me.
The bug is still present in 3.0.6 but the file moved to luma/plugins/browser/utils/mkpasswd.py
Fixed in 3.0.7 (2011-05-26)