summaryrefslogtreecommitdiffstats
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
commit3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f (patch)
tree49c471272d53375869f6e5c502fbd57ef9b9d97f
parentb8d9d1fca3eec5150fb9784f1d0157a82e60cebd (diff)
downloadsamba-3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f.tar.gz
samba-3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f.tar.xz
samba-3a2a96772304bbf04a2bdb2d3a8f9d92df62fc5f.zip
If we disable hostname lookups we can at least get a uniform answer for testing
the rhosts and hostsequiv stuff with. Andrew Bartlett
-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 68411caff79..33dc6a7614b 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 7356a73945d..e870afceb94 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