summaryrefslogtreecommitdiff
path: root/testprogs/blackbox
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-16 16:10:16 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-16 16:10:16 +0200
commit008c8adfe3c72b4820d22421ba3df8dc80053831 (patch)
tree1fcb6290f5b24f2915ddf8f53b84b2d508114209 /testprogs/blackbox
parent8eaf64b47b775a9f71ae6052d5199e5c8a697226 (diff)
downloadsamba-008c8adfe3c72b4820d22421ba3df8dc80053831.tar.gz
samba-008c8adfe3c72b4820d22421ba3df8dc80053831.tar.bz2
samba-008c8adfe3c72b4820d22421ba3df8dc80053831.zip
Fix wbinfo --trusted-domains.
The problems here were that we did not bind to the LSA pipe, and we did not consider it possible to have 0 trusted domains. Andrew Bartlett (This used to be commit 86694d429d62940882ac9b7af83b3e7d00e67c5a)
Diffstat (limited to 'testprogs/blackbox')
-rwxr-xr-xtestprogs/blackbox/test_wbinfo.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/testprogs/blackbox/test_wbinfo.sh b/testprogs/blackbox/test_wbinfo.sh
index b309b302dd..1ece5a60f2 100755
--- a/testprogs/blackbox/test_wbinfo.sh
+++ b/testprogs/blackbox/test_wbinfo.sh
@@ -157,9 +157,8 @@ testfail "wbinfo -Y against $TARGET using invalid SID" $wbinfo -Y "S-1-22-1-3000
testit "wbinfo -t against $TARGET" $wbinfo -t || failed=`expr $failed + 1`
-# this does not work
-knownfail "wbinfo -m against $TARGET" $wbinfo -m || failed=`expr $failed + 1`
-knownfail "wbinfo --all-domains against $TARGET" $wbinfo --all-domains || failed=`expr $failed + 1`
+testit "wbinfo --trusted-domains against $TARGET" $wbinfo --trusted-domains || failed=`expr $failed + 1`
+testit "wbinfo --all-domains against $TARGET" $wbinfo --all-domains || failed=`expr $failed + 1`
testit "wbinfo --own-domain against $TARGET" $wbinfo --own-domain || failed=`expr $failed + 1`
echo "test: wbinfo --own-domain against $TARGET check output"