summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-08-11 18:31:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:01:39 -0500
commitf1f4f665b01aec093de9e93f399070f44f65a551 (patch)
treeb296d9762c3ca0e3b33341c00e9f62f1dfef43ee /testprogs
parenta43b026ef0e9c1ffd24130c35275f02326bfc9c7 (diff)
downloadsamba-f1f4f665b01aec093de9e93f399070f44f65a551.tar.gz
samba-f1f4f665b01aec093de9e93f399070f44f65a551.tar.bz2
samba-f1f4f665b01aec093de9e93f399070f44f65a551.zip
r24335: Fix -N support.
(This used to be commit 18ea767d396bf6d956fd83ee3d2687d98897ae36)
Diffstat (limited to 'testprogs')
-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 f92445d64a..b2787e5260 100755
--- a/testprogs/blackbox/test_smbclient.sh
+++ b/testprogs/blackbox/test_smbclient.sh
@@ -51,6 +51,8 @@ runcmd() {
testit "share and server list" $VALGRIND bin/smbclient -L $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
+testit "share and server list anonymously" $VALGRIND bin/smbclient -N -L $SERVER $CONFIGURATION $@ || failed=`expr $failed + 1`
+
testit "domain join" $VALGRIND bin/net join $DOMAIN $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
# Generate random file