summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-09 11:45:24 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-05-09 19:14:47 +0200
commit088a25912e8c306a82805b51a15f3ebe1e015934 (patch)
treed9f0d31a009ae4797f89595f67f23cb4da805309 /testprogs/blackbox
parentce4c0261f69732917ac7401dd123a03d4c13b030 (diff)
downloadsamba-088a25912e8c306a82805b51a15f3ebe1e015934.tar.gz
samba-088a25912e8c306a82805b51a15f3ebe1e015934.tar.bz2
samba-088a25912e8c306a82805b51a15f3ebe1e015934.zip
s4:blackbox/test_kinit.sh - Test the new "net user add <user> [<password>]" syntax
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_kinit.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/testprogs/blackbox/test_kinit.sh b/testprogs/blackbox/test_kinit.sh
index 08e88ba8b8..504d4f4250 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}'`