From: Matthias Dieter Wallnöfer Date: Sun, 9 May 2010 09:45:24 +0000 (+0200) Subject: s4:blackbox/test_kinit.sh - Test the new "net user add []" syntax X-Git-Tag: samba-3.6.0pre1~2155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=088a25912e8c306a82805b51a15f3ebe1e015934;p=thirdparty%2Fsamba.git s4:blackbox/test_kinit.sh - Test the new "net user add []" syntax --- diff --git a/testprogs/blackbox/test_kinit.sh b/testprogs/blackbox/test_kinit.sh index 08e88ba8b8e..504d4f4250c 100755 --- a/testprogs/blackbox/test_kinit.sh +++ b/testprogs/blackbox/test_kinit.sh @@ -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}'`