diff options
author | Andreas Schneider <asn@samba.org> | 2014-09-01 14:45:26 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2014-09-01 15:47:33 +0200 |
commit | 980ce21a5b80f4cd40f9c3876c09a885918491ce (patch) | |
tree | cdb8dc15fd60658e97127d443802c81d08086363 /selftest | |
parent | 470e5b82222c214ad0cd06fb550d3221be2a7997 (diff) | |
download | samba-980ce21a5b80f4cd40f9c3876c09a885918491ce.tar.gz |
selftest: Use the dns domain in the hosts file.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'selftest')
-rwxr-xr-x | selftest/target/Samba4.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 28c287ed19c..342de582a76 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -703,8 +703,8 @@ $ctx->{unix_name}:x:$ctx->{unix_gid}: my $hostname = lc($ctx->{hostname}); open(HOSTS, ">>$ctx->{nsswrap_hosts}"); - print HOSTS "$ctx->{ipv4} ${hostname}.samba.example.com ${hostname}\n"; - print HOSTS "$ctx->{ipv6} ${hostname}.samba.example.com ${hostname}\n"; + print HOSTS "$ctx->{ipv4} ${hostname}.$ctx->{dnsname} ${hostname}\n"; + print HOSTS "$ctx->{ipv6} ${hostname}.$ctx->{dnsname} ${hostname}\n"; close(HOSTS); my $configuration = "--configfile=$ctx->{smb_conf}"; |