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:
parent
884e28f66b
commit
5305570758
@ -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"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user