1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

wintest: extend get_is_dc function with additional expectations

Windows Server 2003 r2 answers "wintest2k3 is not a DC."

Signed-off-by: Kai Blin <kai@samba.org>
This commit is contained in:
Björn Baumbach 2012-06-05 13:57:59 +02:00 committed by Kai Blin
parent 884e28f66b
commit 5305570758

View File

@ -554,7 +554,7 @@ options {
def get_is_dc(self, child):
'''check if a windows machine is a domain controller'''
child.sendline("dcdiag")
i = child.expect(["is not a Directory Server",
i = child.expect(["is not a [Directory Server|DC]",
"is not recognized as an internal or external command",
"Home Server = ",
"passed test Replications"])