This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch master
in repository 389-ds-base.
commit 37da9e664497a855c622d375f30225051664a2e9
Author: Mark Reynolds <mreynolds(a)redhat.com>
Date: Wed Apr 26 11:56:30 2017 -0400
Issue 49225 - Fix CI Test
Description: Fix CI test for CRYPT password storage schemes
Reviewed by: mreynolds (one line commit rule)
---
dirsrvtests/tests/suites/password/pwd_algo_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dirsrvtests/tests/suites/password/pwd_algo_test.py
b/dirsrvtests/tests/suites/password/pwd_algo_test.py
index d997728..481c697 100644
--- a/dirsrvtests/tests/suites/password/pwd_algo_test.py
+++ b/dirsrvtests/tests/suites/password/pwd_algo_test.py
@@ -43,7 +43,7 @@ def _test_algo(inst, algo_name):
pw_field = inst.search_s(USER_DN, ldap.SCOPE_BASE, '(objectClass=*)',
['userPassword'])[0]
if algo_name != 'CLEAR':
- assert (algo_name.lower() in pw_field.getValue('userPassword').lower())
+ assert (algo_name[:5].lower() in
pw_field.getValue('userPassword').lower())
# Now make sure a bind works
assert (_test_bind(inst, 'Secret123'))
# Bind with a wrong shorter password, should fail
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.