mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
wintest flush DNS on Windows clients to improve reliablity
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Dec 10 08:45:28 CET 2010 on sn-devel-104
This commit is contained in:
parent
280caa6b3b
commit
e92803201a
@ -119,6 +119,8 @@ def run_winjoin(t, vm):
|
||||
t.vm_poweroff("${WIN_VM}", checkfail=False)
|
||||
t.vm_restore("${WIN_VM}", "${WIN_SNAPSHOT}")
|
||||
child = t.open_telnet("${WIN_HOSTNAME}", "${WIN_USER}", "${WIN_PASS}", set_time=True, set_ip=True, set_noexpire=True)
|
||||
child.sendline("ipconfig /flushdns")
|
||||
child.expect("C:")
|
||||
child.sendline("netdom join ${WIN_HOSTNAME} /Domain:${LCREALM} /PasswordD:${PASSWORD1} /UserD:administrator")
|
||||
child.expect("The command completed successfully")
|
||||
child.expect("C:")
|
||||
|
Loading…
Reference in New Issue
Block a user