samba-tool user: add rounds option to virtualCryptSHAxxx
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 8 May 2017 23:20:15 +0000 (11:20 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 25 May 2017 00:25:12 +0000 (02:25 +0200)
commitd4bc91a964725c0a0fb8f8c3aa48fcb13f4a998e
treefea58766c1bfce4761713118ddd06a095ae4bc78
parentd51253609de61b8c7c75d0de8febe9c2c0afdae7
samba-tool user: add rounds option to virtualCryptSHAxxx

Allow the number of rounds to be specified when calculating the
virtualCryptSHA256 and virtualCryptSHA512 attributes.

i.e. --attributes="virtualCryptSHA256;rounds=3000" will calculate the
hash using 3,000 rounds.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/netcmd/user.py
selftest/knownfail