summaryrefslogtreecommitdiff
path: root/wintest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-23 09:40:39 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-03-23 03:04:08 +0100
commitd4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0 (patch)
treec2da1d5f8bec38b73f66f3f13091d007b91d3b52 /wintest
parent4442c0b2c92e4b2e88661e15022228c5f6547112 (diff)
downloadsamba-d4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0.tar.gz
samba-d4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0.tar.bz2
samba-d4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0.zip
wintest: test demote of DC
Diffstat (limited to 'wintest')
-rwxr-xr-xwintest/test-s4-howto.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 294a94e748..36beabb2e3 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -464,6 +464,9 @@ def test_join_as_dc(t, vm):
t.retry_cmd("bin/smbclient -L ${HOSTNAME}.${WIN_REALM} -Utest3%${PASSWORD3} -k no", ['LOGON_FAILURE'])
t.retry_cmd("bin/smbclient -L ${WIN_HOSTNAME}.${WIN_REALM} -Utest2%${PASSWORD2} -k yes", ['LOGON_FAILURE'])
t.retry_cmd("bin/smbclient -L ${HOSTNAME}.${WIN_REALM} -Utest3%${PASSWORD3} -k yes", ['LOGON_FAILURE'])
+
+ t.run_cmd('bin/samba-tool domain demote -Uadministrator@${WIN_REALM}%${WIN_PASS}')
+
t.vm_poweroff("${WIN_VM}")