git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4442c0b
)
wintest: test demote of DC
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 22 Mar 2012 22:40:39 +0000
(09:40 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 23 Mar 2012 02:04:08 +0000
(
03:04
+0100)
wintest/test-s4-howto.py
patch
|
blob
|
history
diff --git
a/wintest/test-s4-howto.py
b/wintest/test-s4-howto.py
index 294a94e7481d449c8d88f60ee256cf14561b78e1..36beabb2e361f82bb780bec1ff75a7d03c5322bb 100755
(executable)
--- 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}")