summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-11 12:10:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:57 -0500
commitf3303bc8f6c175759e064f08924bb730c14d319b (patch)
treee48e5eddcc1d5364a3158b482eb5b86b1fd90293 /testprogs/blackbox
parentf57ebf3f1269218e824cab2b346ab3907bccb9bf (diff)
downloadsamba-f3303bc8f6c175759e064f08924bb730c14d319b.tar.gz
samba-f3303bc8f6c175759e064f08924bb730c14d319b.tar.bz2
samba-f3303bc8f6c175759e064f08924bb730c14d319b.zip
r22170: To get the smbclient blackbox test to pass again, we need to get the
private dir to contain a valid machine account. It isn't really valid it use the DC's account any more, so extend this script to also join the domain. This nicely tests out some previously untested code too! Andrew Bartlett (This used to be commit 12f4e6033ed11a010211a4295424588f44f7e5e0)
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_smbclient.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/testprogs/blackbox/test_smbclient.sh b/testprogs/blackbox/test_smbclient.sh
index e8f90060de..a3bd958cc8 100755
--- a/testprogs/blackbox/test_smbclient.sh
+++ b/testprogs/blackbox/test_smbclient.sh
@@ -37,6 +37,8 @@ runcmd() {
return $?
}
+testit "domain join" $VALGRIND bin/net join $DOMAIN $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
+
# Generate random file
cat >tmpfile<<EOF
foo