diff options
| author | Pavel Filipenský <pfilipensky@samba.org> | 2025-07-29 11:19:07 +0200 |
|---|---|---|
| committer | Pavel Filipensky <pfilipensky@samba.org> | 2025-09-05 12:38:28 +0000 |
| commit | 5d2f60ae5aa96751b74901ae5384291ef338b152 (patch) | |
| tree | 9c56cb59bc5b33c661299d5505bef2e315243eb0 | |
| parent | 8738fa1cc42d913e3ab2b54fe1e75ca4da37073f (diff) | |
| download | samba-5d2f60ae5aa96751b74901ae5384291ef338b152.tar.gz samba-5d2f60ae5aa96751b74901ae5384291ef338b152.tar.bz2 samba-5d2f60ae5aa96751b74901ae5384291ef338b152.zip | |
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ý <pfilipensky@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
| -rwxr-xr-x | selftest/target/Samba4.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
