summaryrefslogtreecommitdiffstats
path: root/wintest/wintest.py
Commit message (Collapse)AuthorAgeFilesLines
* wintest: Try harder to make wintest force the telnet server to startAndrew Bartlett2014-03-141-0/+11
| | | | | | | | | | | | | We try and force the server to start, and we try to force the TelnetClients group to exist Change-Id: I192f0aaaf283b77065ecc671ca2b59a69781d744 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-on: https://gerrit.samba.org/36 Reviewed-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Mar 14 14:51:20 CET 2014 on sn-devel-104
* wintest: Try harder to recover from apparent failure to dcpromoAndrew Bartlett2012-11-061-1/+12
| | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* wintest: Give netdom join more time to completeAndrew Bartlett2012-10-031-1/+1
|
* wintest: Rework support for the internal DNS serverAndrew Bartlett2012-09-121-20/+36
| | | | | | | | | | | We still have to run BIND, the change is if BIND is run to support our own zone, or if we forward to as well as to windows. This also adapts to the new defaults. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* wintest: try to fix settings for the internal dns serverStefan Metzmacher2012-09-121-3/+3
| | | | metze
* s4 dns: use the internal DNS server per defaultKai Blin2012-09-121-3/+3
|
* wintest: enable dns forwarding for internal dnsBjörn Baumbach2012-06-211-0/+2
| | | | | | | | | | Internal DNS will forward dns requests to the original nameserver (specified in resolv.conf). Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Thu Jun 21 23:47:35 CEST 2012 on sn-devel-104
* wintest: get original nameserver for forwarding on a more general placeBjörn Baumbach2012-06-211-5/+5
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* wintest: extend get_is_dc function with additional expectationsBjörn Baumbach2012-06-211-1/+1
| | | | | | Windows Server 2003 r2 answers "wintest2k3 is not a DC." Signed-off-by: Kai Blin <kai@samba.org>
* wintest: check netcats exitstatus instead of outputBjörn Baumbach2012-06-211-2/+5
| | | | | | There are many netcat implementations with different output messages. Signed-off-by: Kai Blin <kai@samba.org>
* wintest: set recursive queries for internal dnsBjörn Baumbach2012-06-211-0/+3
| | | | | | | Need dns recursive queries = yes, since host expects answers with RA-bit. Signed-off-by: Kai Blin <kai@samba.org>
* wintest: add option to select the dns backendBjörn Baumbach2012-06-211-0/+14
| | | | | | This is an option to use the internal dns. Signed-off-by: Kai Blin <kai@samba.org>
* wintest: set nameserver on a more general placeBjörn Baumbach2012-06-211-2/+0
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* wintest: add option to use ntvfs instead of s3fsBjörn Baumbach2012-06-211-0/+6
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* wintest: introduce a variable to contain the (relative) path of smbclientMichael Adam2012-05-311-2/+3
|
* wintest: give host longer to register the SRV recordAndrew Bartlett2012-02-171-1/+1
|
* wintest: use net rpc to put authenticated users into TelentClients if we need toAndrew Bartlett2012-02-171-0/+13
|
* wintest: Allow Windows VM to have no default routeAndrew Bartlett2012-02-171-3/+4
|
* wintest: Give the Windows VM a little more time to start back upAndrew Bartlett2012-02-161-1/+1
|
* wintest: Cope with nc not timing out even when -w 1 is specifiedAndrew Bartlett2012-02-161-2/+16
|
* wintest: Allow access denied when turning off the firewallAndrew Bartlett2012-02-161-2/+2
|
* wintest: Retry joining the domain a few timesAndrew Bartlett2012-02-161-4/+12
|
* wintest: connect to correct hostname in test_net_useAndrew Bartlett2012-02-161-2/+2
|
* wintest Allow setting of the firewall to failAndrew Bartlett2011-04-071-1/+1
| | | | | | This is also required to allow a telnet connection as non-admin. Andrew Bartlett
* s3-wintest Add test of 'net use' against the Samba3 memberAndrew Bartlett2011-04-071-0/+7
|
* wintest Allow changing the telnet settings to fail, we might not be adminAndrew Bartlett2011-04-071-1/+1
| | | | This allows us to test logging in as non-admin users over telnet
* wintest: fixed syntax highlighting with emacsAndrew Tridgell2011-03-291-1/+1
|
* python: use os.environ[] instead of os.putenv()Andrew Tridgell2011-02-221-2/+2
| | | | | | | using os.putenv() causes too much confusion, as it doesn't update os.getenv() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wintest upper case the --vms paramter arguments to wintest.pyAndrew Bartlett2011-02-171-1/+4
| | | | This makes it easier to specify
* Typos in wintestZahari Zahariev2010-12-161-2/+2
|
* wintest Add testing of kerberos connections to Windows members of an AD domainAndrew Bartlett2010-12-141-3/+42
| | | | | | | | | | | | | | | | | This improves the Samba3 wintest script to test against Windows7 and WinXP domain members, and Windows7 standalone servers. To do this, more of the samba4 script is put in common, and we splut up the starting of the VMs from the preperation of the VM. This also improves the nmblookup command parsing to cope with both the samba3 and samba4 nmblookup commands. A krb5.conf is now provided for both s3 and s4 tests. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Dec 14 01:54:46 CET 2010 on sn-devel-104
* wintest Share more of the S4 test code with the s3 testAndrew Bartlett2010-12-101-0/+239
| | | | | | | | This allows us to run a private BIND in the S3 test, and allows the S3 test to join a freshly provisioned AD instance if the VM isn't already configured. Andrew Bartlett
* wintest Remove the password expiry as the first stepAndrew Bartlett2010-12-091-1/+10
| | | | | | | | | | This is particularly important before dcpromo, as the password will otherwise be expired in the new domain. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 9 13:33:00 CET 2010 on sn-devel-104
* wintest: put most of the main program login in wintest.pyAndrew Tridgell2010-12-031-0/+47
| | | | | | | this makes it easier to create new tests Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 3 06:17:44 CET 2010 on sn-devel-104
* wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell2010-12-011-2/+6
|
* wintest: make command matching case insensitive by defaultAndrew Tridgell2010-12-011-2/+5
| | | | | | | the new BASEDN changes break the RODC join otherwise Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Dec 1 06:54:13 CET 2010 on sn-devel-104
* wintest Another way to work out if a Windows machine is a DCAndrew Bartlett2010-12-011-2/+15
| | | | | | | it's not perfect (may fail on member servers) but it's picks up the difference between standalone and DC OK. Andrew Bartlett
* wintest Make the new --vms option default to running all tests.Andrew Bartlett2010-12-011-1/+2
| | | | Andrew Bartlett
* wintest Set WIN_LCREALM and WIN_BASEDN automaticallyAndrew Bartlett2010-12-011-1/+7
| | | | | | | Also this uppper cases WIN_REALM, to avoid this being sensitive based on the configuration file. Andrew Bartlett
* wintest Add a function to shut down all the managed VMs at the startAndrew Bartlett2010-12-011-0/+8
| | | | | | | This helps ensure that old virtual machines don't interfer with a new test run. Andrew Bartlett
* wintest Add automatic dcpromo is the host isn't a DC yetAndrew Bartlett2010-12-011-0/+10
| | | | | | | This is slow, and requires an extra reboot, but should be consistent and reproducible. Andrew Bartlett
* wintest: fixed casefold handling in expect callsAndrew Tridgell2010-12-011-1/+6
|
* wintest: make expect calls case insensitive by defaultAndrew Tridgell2010-12-011-7/+10
|
* wintest: added --vms optionAndrew Tridgell2010-12-011-0/+12
| | | | this allows you to run tests associated with a specified list of VMs
* wintest: cope with the heimdal version of kinitAndrew Tridgell2010-11-291-4/+6
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
* wintest: cope with VMs sometimes not rebootingAndrew Tridgell2010-11-271-1/+28
| | | | | | | | | | | my w2k8 image occasionally gets stuck in the early stages of booting. This adds code to detect a failed reboot, in which case the VM is reset Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 02:42:19 CET 2010 on sn-devel-104
* wintest: handle missing firewall commands Andrew Tridgell2010-11-271-1/+3
| | | | my w2k3 box doesn't have these firewall commands
* wintest: added an IPv6 address, and use fully qualified hostnameAndrew Tridgell2010-11-241-6/+13
| | | | | | | this also makes the resolv.conf handling more robust Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 11:34:30 CET 2010 on sn-devel-104
* wintest: remove reliance on hostname in /etc/hostsAndrew Tridgell2010-11-241-0/+3
| | | | | | - don't setwinvars() in test code - use fully qualified names where possible - don't delete named and rndc config
* wintest: fixed interface handling and DNS forwardingAndrew Tridgell2010-11-241-4/+36
| | | | | | - allow for _IP vars on VMs - resolve IPs using nmblookup - forward DNS requests for windows domains