diff options
author | Samuel Cabrero <scabrero@suse.de> | 2018-08-31 17:53:16 +0200 |
---|---|---|
committer | Noel Power <npower@samba.org> | 2018-12-19 12:42:12 +0100 |
commit | 377e87a2347a96a75adf8932651ca607114c95a1 (patch) | |
tree | 138e80662c3c386ec04f2e9237a898169b92d264 /source3 | |
parent | 8d11a54e3707e77c78a2f0005c9f4b1922a791b1 (diff) | |
download | samba-377e87a2347a96a75adf8932651ca607114c95a1.tar.gz |
tests/ntlm_auth: Port ntlm_auth tests to python: ntlm_auth against winbindd with failed require-membership-of
Port ntlm_auth bash script tests to python
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Noel Power <npower@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/script/tests/test_ntlm_auth_s3.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/script/tests/test_ntlm_auth_s3.sh b/source3/script/tests/test_ntlm_auth_s3.sh index 3a411e0d2b0..725e9e3dbfa 100755 --- a/source3/script/tests/test_ntlm_auth_s3.sh +++ b/source3/script/tests/test_ntlm_auth_s3.sh @@ -269,7 +269,6 @@ EOF } # This should work even with NTLMv2 -testit_expect_failure "ntlm_auth against winbindd with failed require-membership-of" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH --client-username=$USERNAME --client-domain=$DOMAIN --client-password=$PASSWORD --server-use-winbindd $ADDARGS --require-membership-of=$BADSID && failed=`expr $failed + 1` testit_expect_failure "ntlm_auth with NTLMSSP gss-spnego-client and gss-spnego server against winbind with failed require-membership-of" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH --client-username=$USERNAME --client-domain=$DOMAIN --client-password=$PASSWORD --server-use-winbindd --client-helper=gss-spnego-client --server-helper=gss-spnego $ADDARGS --require-membership-of=$BADSID && failed=`expr $failed + 1` testit "ntlm_auth plaintext authentication with require-membership-of" test_plaintext_check_output_stdout || failed=`expr $failed + 1` |