summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2012-03-10 23:43:44 +0100
committerKai Blin <kai@samba.org>2012-03-11 00:31:37 +0100
commitf9f1d98e747e9126b9d301052f639bbc25db7a88 (patch)
treef17ac36ec1c2f34abfc1fc216a6fdbc8a2fe9327 /selftest
parentce4531ee312c1171fcffcdbe9e214ae43384cdfd (diff)
downloadsamba-f9f1d98e747e9126b9d301052f639bbc25db7a88.tar.gz
samba-f9f1d98e747e9126b9d301052f639bbc25db7a88.tar.bz2
samba-f9f1d98e747e9126b9d301052f639bbc25db7a88.zip
s3 selftest: Allow DNS updates during testing
Diffstat (limited to 'selftest')
-rw-r--r--selftest/target/Samba4.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 698cd127a0..d9385c82a1 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1090,6 +1090,8 @@ sub provision_dc($$)
my ($self, $prefix) = @_;
print "PROVISIONING DC...";
+ my $extra_conf_options = "netbios aliases = localDC1-a
+allow dns updates = True";
my $ret = $self->provision($prefix,
"domain controller",
"localdc",
@@ -1097,7 +1099,7 @@ sub provision_dc($$)
"samba.example.com",
"2008",
"locDCpass1",
- undef, "netbios aliases = localDC1-a");
+ undef, $extra_conf_options);
return undef unless(defined $ret);
unless($self->add_wins_config("$prefix/private")) {