5 Usage: blackbox_newuser.sh PREFIX
10 .
`dirname $0`/subunit.sh
16 smbclient
="$BINDIR/smbclient"
17 testit_expect_failure
"smbclient" $smbclient "//$SERVER/$SHARE" -W POUET
-U$USER%$PWD -c "dir"&& failed
=`expr $failed + 1`
18 .
/bin
/net rpc user add
$USER $PWD -W $SERVER -U$USER%$PWD -S $SERVER
19 testit
"smbclient" $smbclient "//$SERVER/$SHARE" -W POUET
-U$USER%$PWD -c "dir"|| failed
=`expr $failed + 1`