diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-23 09:40:39 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-03-23 03:04:08 +0100 |
commit | d4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0 (patch) | |
tree | c2da1d5f8bec38b73f66f3f13091d007b91d3b52 /wintest | |
parent | 4442c0b2c92e4b2e88661e15022228c5f6547112 (diff) | |
download | samba-d4cfed3df83ccbcb49e3adf8e25fd92c8007a1a0.tar.gz |
wintest: test demote of DC
Diffstat (limited to 'wintest')
-rwxr-xr-x | wintest/test-s4-howto.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index 294a94e7481..36beabb2e36 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}") |