From: Pavel Filipenský Date: Tue, 29 Jul 2025 09:19:07 +0000 (+0200) Subject: selftest: Add the short name for localvampiredc to hosts file X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d2f60ae5aa96751b74901ae5384291ef338b152;p=thirdparty%2Fsamba.git selftest: Add the short name for localvampiredc to hosts file BUG: https://bugzilla.samba.org/show_bug.cgi?id=15905 Signed-off-by: Pavel Filipenský Reviewed-by: Alexander Bokovoy --- diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 9635629d291..8d30fefbab2 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -878,7 +878,7 @@ nogroup:x:65534:nobody my $hostname = lc($ctx->{hostname}); open(HOSTS, ">>$ctx->{nsswrap_hosts}"); - if ($hostname eq "localdc") { + if ($hostname eq "localdc" || $hostname eq "localvampiredc") { print HOSTS "$ctx->{ipv4} ${hostname}.$ctx->{dnsname} $ctx->{dnsname} ${hostname}\n"; print HOSTS "$ctx->{ipv6} ${hostname}.$ctx->{dnsname} $ctx->{dnsname} ${hostname}\n"; } else {