git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23425a
)
selftests:password_hash: Raise SHA256 rounds to 5000
author
Samuel Cabrero
<scabrero@suse.de>
Thu, 14 Mar 2019 18:14:25 +0000
(19:14 +0100)
committer
Andreas Schneider
<asn@cryptomilk.org>
Fri, 22 Mar 2019 14:03:19 +0000
(14:03 +0000)
Some crypt_r implementations like libxcrypt require a higher value.
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
python/samba/tests/password_hash_fl2008.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/password_hash_fl2008.py
b/python/samba/tests/password_hash_fl2008.py
index 917e973cdbcd8d14f82d3f7a00096949a481b3c2..685c73edaf294a37a6348215f7b1b670b54116fb 100644
(file)
--- a/
python/samba/tests/password_hash_fl2008.py
+++ b/
python/samba/tests/password_hash_fl2008.py
@@
-158,7
+158,7
@@
class PassWordHashFl2008Tests(PassWordHashTests):
def test_userPassword_cleartext_sha256(self):
self.add_user(clear_text=True,
options=[("password hash userPassword schemes",
- "CryptSHA256:rounds=
1
00")])
+ "CryptSHA256:rounds=
50
00")])
sc = self.get_supplemental_creds()
@@
-206,5
+206,5
@@
class PassWordHashFl2008Tests(PassWordHashTests):
#
up = ndr_unpack(drsblobs.package_PrimaryUserPasswordBlob,
binascii.a2b_hex(up_package.data))
- self.checkUserPassword(up, [("{CRYPT}", "5",
1
00)])
+ self.checkUserPassword(up, [("{CRYPT}", "5",
50
00)])
self.checkNtHash(USER_PASS, up.current_nt_hash.hash)