s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 9 May 2010 09:45:24 +0000 (11:45 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 9 May 2010 17:14:47 +0000 (19:14 +0200)
testprogs/blackbox/test_kinit.sh

index 08e88ba8b8eba4baf4c23c0967044658aad857ef..504d4f4250c564e9b741b8ab6510b8729b9b8665 100755 (executable)
@@ -66,9 +66,9 @@ test_smbclient "Test login with kerberos ccache" 'ls' -k yes || failed=`expr $fa
 testit "domain join with kerberos ccache" $VALGRIND $net join $DOMAIN $CONFIGURATION  -W "$DOMAIN" -k yes $@ || failed=`expr $failed + 1`
 testit "check time with kerberos ccache" $VALGRIND $net $CONFIGURATION -W "$DOMAIN" -k yes $@ time $SERVER || failed=`expr $failed + 1`
 
-testit "add user with kerberos ccache" $VALGRIND $net user add nettestuser $CONFIGURATION  -k yes $@ || failed=`expr $failed + 1`
 USERPASS=testPass@12%
 echo $USERPASS > ./tmpuserpassfile
+testit "add user with kerberos ccache" $VALGRIND $net user add nettestuser $USERPASS $CONFIGURATION  -k yes $@ || failed=`expr $failed + 1`
 
 echo "Getting defaultNamingContext"
 BASEDN=`$ldbsearch $options --basedn='' -H ldap://$SERVER -s base DUMMY=x defaultNamingContext | grep defaultNamingContext | awk '{print $2}'`