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 -k no
35 testit
"Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp
--machine-pass -k yes
37 testit
"time" $VALGRIND $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
39 testit
"domain level.show" $VALGRIND $samba_tool domain level show
41 testit
"domain info" $VALGRIND $samba_tool domain info
$SERVER_IP
43 testit
"fsmo show" $VALGRIND $samba_tool fsmo show