s4-selftest When testing for a credentials cache, do not specify a domain
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 Oct 2011 23:03:21 +0000 (10:03 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 18 Oct 2011 02:13:30 +0000 (13:13 +1100)
If we specify a domain, then we indicate that we must use that domain
which overrides the credentials cache we found in the environment.

Andrew Bartlett

testprogs/blackbox/test_chgdcpass.sh
testprogs/blackbox/test_export_keytab.sh
testprogs/blackbox/test_kinit.sh
testprogs/blackbox/test_passwords.sh
testprogs/blackbox/test_pkinit.sh

index 467eaf7bd9ee9533f258c18df77ce6effa0f2c6f..d54cfeff10ae186270e048bc7ef5b8e96b19323c 100755 (executable)
@@ -35,7 +35,7 @@ test_smbclient() {
        shift
        shift
        echo "test: $name"
-       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" -W "$DOMAIN" $@
+       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" $@
        status=$?
        if [ x$status = x0 ]; then
                echo "success: $name"
index 81db5204419bd80f459dca3d23ada06dde0f45c8..351a67d7935e4d0211a53c59c6101d53c4ca7360 100755 (executable)
@@ -32,7 +32,7 @@ test_smbclient() {
        shift
        shift
        echo "test: $name"
-       $VALGRIND $smbclient //$SERVER/tmp -c "$cmd" -W "$DOMAIN" $@
+       $VALGRIND $smbclient //$SERVER/tmp -c "$cmd" $@
        status=$?
        if [ x$status = x0 ]; then
                echo "success: $name"
index d54955dd1cbebb3f7756783c6577ebc3f069365a..0b4e2d35e7e02dadbdb079a09b7f067d562caecb 100755 (executable)
@@ -40,7 +40,7 @@ test_smbclient() {
        shift
        shift
        echo "test: $name"
-       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" -W "$DOMAIN" $@
+       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" $@
        status=$?
        if [ x$status = x0 ]; then
                echo "success: $name"
index f7070c0d9b1d8a8343d40f472f0db0561d2cf671..3d1c559496533f1ead9644dce812a68fce72bfcd 100755 (executable)
@@ -35,7 +35,7 @@ test_smbclient() {
        shift
        shift
        echo "test: $name"
-       $VALGRIND $smbclient //$SERVER/tmp -c "$cmd" -W "$DOMAIN" $@
+       $VALGRIND $smbclient //$SERVER/tmp -c "$cmd" $@
        status=$?
        if [ x$status = x0 ]; then
                echo "success: $name"
index 55cb6e3e5d8b4db93257948986855f7c575f0948..b4e91e782a3c90a136628d26940a6771e8aea546 100755 (executable)
@@ -40,7 +40,7 @@ test_smbclient() {
        shift
        shift
        echo "test: $name"
-       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" -W "$DOMAIN" $@
+       $VALGRIND $smbclient $CONFIGURATION //$SERVER/tmp -c "$cmd" $@
        status=$?
        if [ x$status = x0 ]; then
                echo "success: $name"