summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-11 23:07:35 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-12 14:07:50 +0200
commit81d3f92155856891ee0ac74cada3bbdd3e7670e1 (patch)
tree53445abfcc7bd0be00654d1f06e2c5afbfd08b58
parentf34f16f7f87d39cd21ce43c51ccb5726ff44c959 (diff)
downloadsamba-81d3f92155856891ee0ac74cada3bbdd3e7670e1.tar.gz
samba-81d3f92155856891ee0ac74cada3bbdd3e7670e1.tar.bz2
samba-81d3f92155856891ee0ac74cada3bbdd3e7670e1.zip
selftest:Samba4: test --domain-critical-only in provision_vampire_dc()
This way only only replicate critical objects during the initial join as DC, then we'll replicate the whole domain while 'samba' is running. metze Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 14:07:50 CEST 2011 on sn-devel-104
-rw-r--r--selftest/target/Samba4.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 1b6db25cbc..df5a8bb7e4 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -1005,7 +1005,7 @@ sub provision_vampire_dc($$$)
$cmd .= "SOCKET_WRAPPER_DEFAULT_IFACE=\"$ret->{SOCKET_WRAPPER_DEFAULT_IFACE}\" ";
$cmd .= "KRB5_CONFIG=\"$ret->{KRB5_CONFIG}\" ";
$cmd .= "$samba_tool domain join $ret->{CONFIGURATION} $dcvars->{REALM} DC --realm=$dcvars->{REALM}";
- $cmd .= " -U$dcvars->{DC_USERNAME}\%$dcvars->{DC_PASSWORD}";
+ $cmd .= " -U$dcvars->{DC_USERNAME}\%$dcvars->{DC_PASSWORD} --domain-critical-only";
unless (system($cmd) == 0) {
warn("Join failed\n$cmd");