Skip to content

Commit

Permalink
wintest: test demote of DC
Browse files Browse the repository at this point in the history
  • Loading branch information
abartlet committed Mar 23, 2012
1 parent 4442c0b commit d4cfed3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wintest/test-s4-howto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")


Expand Down

0 comments on commit d4cfed3

Please sign in to comment.