summaryrefslogtreecommitdiff
path: root/selftest/target
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-13 15:43:35 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-13 23:42:05 +0100
commit8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c (patch)
tree258f936e5312d8550c015a06434d98669286bfdd /selftest/target
parentabed96535e0e47692be483cb35fc8b6224a0899d (diff)
downloadsamba-8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c.tar.gz
samba-8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c.tar.bz2
samba-8a4b5cdfea7b2370b9d700e7dbdaa8143cfc972c.zip
s4-selftest: Add test of RPC to a netbios alias
This tries to ensure our netbios lookup code is still run. Andrew Bartlett
Diffstat (limited to 'selftest/target')
-rw-r--r--selftest/target/Samba4.pm5
1 files changed, 2 insertions, 3 deletions
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};