5 Usage: blackbox_newuser.sh PREFIX
10 .
`dirname $0`/subunit.sh
21 TEST_USER
=bogus_testuser
22 TEST_PWD
=bogus_pass3
#@
24 testit_expect_failure
"smbclient" $smbclient "//$SERVER/$SHARE" -W POUET
-U$DC_USER%$DC_PWD -c "dir"&& failed
=`expr $failed + 1`
25 testit
"net.user.add" $net rpc user add
$TEST_USER $TEST_PWD -W $SERVER -U$SERVER\\$USER%$PWD -S $SERVER
26 testit
"smbclient" $smbclient "//$SERVER/$SHARE" -W POUET
-U$TEST_USER%$TEST_PWD -c "dir"|| failed
=`expr $failed + 1`
27 testit
"net.user.delete" $net rpc user delete
$TEST_USER -W $SERVER -U$SERVER\\$USER%$PWD -S $SERVER