From 393e35dca2bb83492c879c9d044f2505daef377b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pavel=20Filipensk=C3=BD?= Date: Tue, 29 Jul 2025 11:19:07 +0200 Subject: [PATCH] selftest: Add the short name for localvampiredc to hosts file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit BUG: https://bugzilla.samba.org/show_bug.cgi?id=15905 Signed-off-by: Pavel Filipenský Reviewed-by: Alexander Bokovoy (cherry picked from commit 5d2f60ae5aa96751b74901ae5384291ef338b152) --- selftest/target/Samba4.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index e917f65fc36..1a86f7a07d5 100755 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -869,7 +869,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 { -- 2.47.3