diff options
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/tests/test_ntlm_auth_s3.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/script/tests/test_ntlm_auth_s3.sh b/source3/script/tests/test_ntlm_auth_s3.sh index 783ac03209..1655d7518b 100755 --- a/source3/script/tests/test_ntlm_auth_s3.sh +++ b/source3/script/tests/test_ntlm_auth_s3.sh @@ -10,7 +10,10 @@ fi PYTHON=$1 SRC3DIR=$2 NTLM_AUTH=$3 -shift 3 +DOMAIN=$4 +USERNAME=$5 +PASSWORD=$6 +shift 6 ADDARGS="$*" incdir=`dirname $0`/../../../testprogs/blackbox @@ -20,7 +23,8 @@ failed=0 testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH $ADDARGS || failed=`expr $failed + 1` # This should work even with NTLMv2 -testit "ntlm_auth" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1` +testit "ntlm_auth with specified domain" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH $ADDARGS --client-domain=fOo --server-domain=fOo || failed=`expr $failed + 1` +testit "ntlm_auth against winbindd" $PYTHON $SRC3DIR/torture/test_ntlm_auth.py $NTLM_AUTH --client-username=$USERNAME --client-domain=$DOMAIN --client-password=$PASSWORD --server-use-winbindd $ADDARGS || failed=`expr $failed + 1` testok $0 $failed |