summaryrefslogtreecommitdiff
path: root/testsuite/build_farm
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2001-09-24 05:27:44 +0000
committerAndrew Bartlett <abartlet@samba.org>2001-09-24 05:27:44 +0000
commitc812f1d40e68bbb609d952aa2b62759a02ce2eea (patch)
tree4d78d03fc0fc6b6c242e216a0284df9e9baa2397 /testsuite/build_farm
parent7ef445e22683f8a6221ffce76fff219e112348a7 (diff)
downloadsamba-c812f1d40e68bbb609d952aa2b62759a02ce2eea.tar.gz
samba-c812f1d40e68bbb609d952aa2b62759a02ce2eea.tar.bz2
samba-c812f1d40e68bbb609d952aa2b62759a02ce2eea.zip
If we disable hostname lookups we can at least get a uniform answer for testing
the rhosts and hostsequiv stuff with. Andrew Bartlett (This used to be commit 3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f)
Diffstat (limited to 'testsuite/build_farm')
-rw-r--r--testsuite/build_farm/basicsmb.fns3
-rw-r--r--testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template2
2 files changed, 2 insertions, 3 deletions
diff --git a/testsuite/build_farm/basicsmb.fns b/testsuite/build_farm/basicsmb.fns
index 68411caff7..33dc6a7614 100644
--- a/testsuite/build_farm/basicsmb.fns
+++ b/testsuite/build_farm/basicsmb.fns
@@ -20,8 +20,7 @@ test_smb_conf_setup() {
echo "127.0.0.6 DOMAIN">>$prefix/lib/lmhosts
echo "127.0.0.7 HOSTSEQUIV">>$prefix/lib/lmhosts
- echo $host > $prefix/lib/hosts.equiv
- echo "localhost" >> $prefix/lib/hosts.equiv
+ echo "127.0.0.1" > $prefix/lib/hosts.equiv
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
diff --git a/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template b/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template
index 7356a73945..e870afceb9 100644
--- a/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template
+++ b/testsuite/build_farm/basicsmb.smb.conf.hostsequiv.template
@@ -1,3 +1,3 @@
- hostname lookups = yes
+ hostname lookups = no
hosts equiv=PREFIX/lib/hosts.equiv