diff options
-rw-r--r-- | testsuite/build_farm/basicsmb-hostsequiv.test | 4 | ||||
-rw-r--r-- | testsuite/build_farm/basicsmb.fns | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/testsuite/build_farm/basicsmb-hostsequiv.test b/testsuite/build_farm/basicsmb-hostsequiv.test index 0df086e910..d424743d11 100644 --- a/testsuite/build_farm/basicsmb-hostsequiv.test +++ b/testsuite/build_farm/basicsmb-hostsequiv.test @@ -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 diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns index c38bbe5d18..68411caff7 100644 --- a/testsuite/build_farm/basicsmb.fns +++ b/testsuite/build_farm/basicsmb.fns @@ -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 +} |