mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
8e54ed5a9c
Best reviewed with "git show -b". Right now lsarpc in the nt4_dc environment is not available over ncalrpc, so instead of getusername we need to use epmlookup for the rpcclient tests Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
20 lines
347 B
Bash
Executable File
20 lines
347 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -lt 1 ]; then
|
|
cat <<EOF
|
|
Usage: test_rpcclient.sh ccache binding <rpcclient commands>
|
|
EOF
|
|
exit 1;
|
|
fi
|
|
|
|
KRB5CCNAME=$1
|
|
shift 1
|
|
export KRB5CCNAME
|
|
ADDARGS="$*"
|
|
|
|
incdir=`dirname $0`/../../../testprogs/blackbox
|
|
. $incdir/subunit.sh
|
|
testit "rpcclient" $VALGRIND $BINDIR/rpcclient $ADDARGS || failed=`expr $failed + 1`
|
|
|
|
testok $0 $failed
|