From 1862e904a821e2cd6132ab1d13b02da123edd94e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 7 Apr 2011 12:33:34 +1000 Subject: s3-selftest Fix use of the 'fake DNS' file This ensures we don't use netbios before the hosts file and that we do fill in the fake DNS zone correctly for the way we invoke smbtorture4. Currently this works because the realm in client.conf is "", if this changes then this will need to change too (perhaps an additional entry). Andrew Bartlett --- selftest/selftest.pl | 2 +- selftest/target/Samba3.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'selftest') diff --git a/selftest/selftest.pl b/selftest/selftest.pl index 9db3f21bb8..fbb36a2d58 100755 --- a/selftest/selftest.pl +++ b/selftest/selftest.pl @@ -596,7 +596,7 @@ sub write_clientconf($$$) private dir = $clientdir/private lock dir = $clientdir/lockdir ncalrpc dir = $clientdir/ncalrpcdir - name resolve order = bcast file + name resolve order = file bcast panic action = $RealBin/gdb_backtrace \%PID\% \%PROG\% max xmit = 32K notify:inotify = false diff --git a/selftest/target/Samba3.pm b/selftest/target/Samba3.pm index b6c851a49d..9b9bec30a2 100644 --- a/selftest/target/Samba3.pm +++ b/selftest/target/Samba3.pm @@ -813,7 +813,7 @@ domusers:X:$gid_domusers: print "DONE\n"; open(HOSTS, ">>$ENV{SELFTEST_PREFIX}/dns_host_file") or die("Unable to open $ENV{SELFTEST_PREFIX}/dns_host_file"); - print HOSTS "A $server $server_ip + print HOSTS "A $server. $server_ip "; close(HOSTS); -- cgit