5 Usage: test_net_rpc_join.sh USERNAME PASSWORD SERVER PREFIX
17 incdir
=`dirname $0`/..
/..
/..
/testprogs
/blackbox
19 mkdir
-p $PREFIX/private
20 testit
"net_rpc_join" $VALGRIND $BINDIR/net rpc
join -S $SERVER --option=netbiosname
=netrpcjointest
--option=domainlogons
=yes --option=privatedir
=$PREFIX/private
-U$USERNAME%$PASSWORD $ADDARGS || failed
=`expr $failed + 1`
21 testit
"net_rpc_testjoin" $VALGRIND $BINDIR/net rpc testjoin
-S $SERVER --option=netbiosname
=netrpcjointest
--option=domainlogons
=yes --option=privatedir
=$PREFIX/private
$ADDARGS || failed
=`expr $failed + 1`
22 testit
"net_rpc_changetrustpw" $VALGRIND $BINDIR/net rpc changetrustpw
-S $SERVER --option=netbiosname
=netrpcjointest
--option=domainlogons
=yes --option=privatedir
=$PREFIX/private
$ADDARGS || failed
=`expr $failed + 1`
23 testit
"net_rpc_testjoin2" $VALGRIND $BINDIR/net rpc testjoin
-S $SERVER --option=netbiosname
=netrpcjointest
--option=domainlogons
=yes --option=privatedir
=$PREFIX/private
$ADDARGS || failed
=`expr $failed + 1`