From 0da3ab96739df436b54fcf6c7e138229271b0866 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 23 Oct 2014 12:38:15 +1300 Subject: [PATCH] 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 Signed-off-by: Andrew Bartlett Reviewed-by: Andreas Schneider Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Thu Dec 11 21:40:27 CET 2014 on sn-devel-104 --- source3/script/tests/test_net_rpc_join.sh | 25 +++++++++++++++++++++++++ source3/selftest/tests.py | 4 ++++ 2 files changed, 29 insertions(+) create mode 100755 source3/script/tests/test_net_rpc_join.sh diff --git a/source3/script/tests/test_net_rpc_join.sh b/source3/script/tests/test_net_rpc_join.sh new file mode 100755 index 00000000000..a7810a98b6c --- /dev/null +++ b/source3/script/tests/test_net_rpc_join.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +if [ $# -lt 4 ]; then +cat <