1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s3-selftest: Add test for ntlm_auth --diagnostics

This commit is contained in:
Andrew Bartlett
2012-02-19 11:01:55 +11:00
parent f91c616176
commit 11f88524e3
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/bin/sh
if [ $# -lt 1 ]; then
cat <<EOF
Usage: test_ntlm_auth_diagnostics.sh NTLM_AUTH DOMAIN USERNAME PASSWORD
EOF
exit 1;
fi
NTLM_AUTH=$1
DOMAIN=$2
USERNAME=$3
PASSWORD=$4
shift 4
ADDARGS="$*"
incdir=`dirname $0`/../../../testprogs/blackbox
. $incdir/subunit.sh
testit "ntlm_auth" $VALGRIND $NTLM_AUTH --domain=$DOMAIN --username=$USERNAME --password=$PASSWORD --diagnostics $ADDARGS || failed=`expr $failed + 1`
testok $0 $failed