Fix up the test for some of the quirkier hosts on the farm, and enable one
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Sep 2001 08:28:41 +0000 (08:28 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Sep 2001 08:28:41 +0000 (08:28 +0000)
previously disabled sub-test.
(This used to be commit 4df974527c7dbe88e7cbe9feb8e87f7ce89012b2)

testsuite/build_farm/basicsmb-hostsequiv.test
testsuite/build_farm/basicsmb.fns

index 0df086e910e5d28cb814ed6e5b805c9c33427b9b..d424743d116a0ccd53be161f1d609e9b5407d1e0 100644 (file)
@@ -23,6 +23,4 @@ security="hostsequiv"
 (test_smb_conf_setup ) || exit 1
 
 (test_listfilesauth $security) || exit 1
-# (test_listfilesrootnpw $security) || exit 1
-# Unfortuetly we map to guest, and this is allowed access due to a BUG.  This
-# test disabled till we fix it.
+(test_listfilesrootnpw $security) || exit 1
index c38bbe5d1849fa5228b01a1354d4b13f00c3b79a..68411caff7909da45212f0bd062dc72f55908cd4 100644 (file)
@@ -20,7 +20,8 @@ test_smb_conf_setup() {
     echo "127.0.0.6    DOMAIN">>$prefix/lib/lmhosts
     echo "127.0.0.7    HOSTSEQUIV">>$prefix/lib/lmhosts
 
-    echo "localhost" > $prefix/lib/hosts.equiv
+       echo $host > $prefix/lib/hosts.equiv
+    echo "localhost" >> $prefix/lib/hosts.equiv
 
     cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
     cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
@@ -86,4 +87,4 @@ test_listfilesauth_should_deny() {
                echo "listing files with smbd failed with status $status (correct)"
        fi
        return 0
-}
\ No newline at end of file
+}