diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-12-10 16:56:57 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-10 08:45:28 +0100 |
commit | e92803201ae442892bee220fbcd2a124a8ca854b (patch) | |
tree | 468a6a8518ed7d8c400e14fe031c7e236f08ba0b /wintest/test-s4-howto.py | |
parent | 280caa6b3bb1199939f9349ea5a436a491c81791 (diff) | |
download | samba-e92803201ae442892bee220fbcd2a124a8ca854b.tar.gz samba-e92803201ae442892bee220fbcd2a124a8ca854b.tar.xz samba-e92803201ae442892bee220fbcd2a124a8ca854b.zip |
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
Diffstat (limited to 'wintest/test-s4-howto.py')
-rwxr-xr-x | wintest/test-s4-howto.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index f198594541..63a27d251a 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -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:") |