From 8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 13 Dec 2011 15:43:35 +1100 Subject: s4-selftest: Add test of RPC to a netbios alias This tries to ensure our netbios lookup code is still run. Andrew Bartlett --- selftest/target/Samba4.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'selftest/target') diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 9419921643..fa7988f67a 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -1119,15 +1119,14 @@ sub provision_dc($$) "2008", 21, "locDCpass1", - undef, "netbios aliases = DC1"); + undef, "netbios aliases = localDC1-a"); return undef unless(defined $ret); unless($self->add_wins_config("$prefix/private")) { warn("Unable to add wins configuration"); return undef; } - - $ret->{NETBIOSALIAS} = "DC1"; + $ret->{NETBIOSALIAS} = "localdc1-a"; $ret->{DC_SERVER} = $ret->{SERVER}; $ret->{DC_SERVER_IP} = $ret->{SERVER_IP}; $ret->{DC_NETBIOSNAME} = $ret->{NETBIOSNAME}; -- cgit