2 # Blackbox tests for samba-tool
14 samba4bindir
="$BINDIR"
15 samba_tool
="$samba4bindir/samba-tool"
24 if [ x
$status = x0
]; then
28 failed
=`expr $failed + 1`
33 testit
"Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp
--machine-pass
35 testit
"Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp
--machine-pass -k
37 testit
"time" $VALGRIND $PYTHON $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
39 testit
"domain level.show" $VALGRIND $PYTHON $samba_tool domain level show
41 testit
"domain info" $VALGRIND $PYTHON $samba_tool domain info
$SERVER_IP
43 testit
"fsmo show" $VALGRIND $PYTHON $samba_tool fsmo show