summaryrefslogtreecommitdiffstats
path: root/source3/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-10-23 12:38:15 +1300
committerAndreas Schneider <asn@cryptomilk.org>2014-12-11 21:40:27 +0100
commit0da3ab96739df436b54fcf6c7e138229271b0866 (patch)
tree75c03a76ba6976d6676bd0dd7940ee5ba013c1ee /source3/selftest
parente6ec265a405e76e5d4ea59b8025da0f57b3d3ad1 (diff)
downloadsamba-0da3ab96739df436b54fcf6c7e138229271b0866.tar.gz
samba-0da3ab96739df436b54fcf6c7e138229271b0866.tar.xz
samba-0da3ab96739df436b54fcf6c7e138229271b0866.zip
selftest: Add test for joining a Samba classic DC as a BDC
This does not join the DC itself, so as not to pertrub the test environment mid-run, but does confirm that the join works and the password can be changed. Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Dec 11 21:40:27 CET 2014 on sn-devel-104
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index 092d9cc722..c60f531e06 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -415,6 +415,10 @@ plantestsuite("samba3.blackbox.net_dom_join_fail_dc", "s3dc",
[os.path.join(samba3srcdir, "script/tests/test_net_dom_join_fail_dc.sh"),
"$USERNAME", "$PASSWORD", "$SERVER", "$PREFIX/net_dom_join_fail_dc",
configuration])
+plantestsuite("samba3.blackbox.net_rpc_join", "s3dc",
+ [os.path.join(samba3srcdir, "script/tests/test_net_rpc_join.sh"),
+ "$USERNAME", "$PASSWORD", "$SERVER", "$PREFIX/net_rpc_join",
+ configuration])
options_list = ["", "-e"]
for options in options_list: