mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
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)
This commit is contained in:
parent
7ef445e226
commit
c812f1d40e
@ -20,8 +20,7 @@ test_smb_conf_setup() {
|
|||||||
echo "127.0.0.6 DOMAIN">>$prefix/lib/lmhosts
|
echo "127.0.0.6 DOMAIN">>$prefix/lib/lmhosts
|
||||||
echo "127.0.0.7 HOSTSEQUIV">>$prefix/lib/lmhosts
|
echo "127.0.0.7 HOSTSEQUIV">>$prefix/lib/lmhosts
|
||||||
|
|
||||||
echo $host > $prefix/lib/hosts.equiv
|
echo "127.0.0.1" > $prefix/lib/hosts.equiv
|
||||||
echo "localhost" >> $prefix/lib/hosts.equiv
|
|
||||||
|
|
||||||
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
|
cp basicsmb.smb.conf.share $prefix/lib/smb.conf.share
|
||||||
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
|
cp basicsmb.smb.conf.user $prefix/lib/smb.conf.user
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
hostname lookups = yes
|
hostname lookups = no
|
||||||
hosts equiv=PREFIX/lib/hosts.equiv
|
hosts equiv=PREFIX/lib/hosts.equiv
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user