summaryrefslogtreecommitdiff
path: root/wintest/test-s4-howto.py
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12wintest: Rework support for the internal DNS serverAndrew Bartlett1-15/+9
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>
2012-09-11wintest: make use of samba-tool domain provisionStefan Metzmacher1-1/+3
metze
2012-06-21wintest: enable dns forwarding for internal dnsBjörn Baumbach1-1/+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
2012-06-21wintest: set recursive queries for internal dnsBjörn Baumbach1-1/+2
Need dns recursive queries = yes, since host expects answers with RA-bit. Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21wintest: add option to select the dns backendBjörn Baumbach1-11/+20
This is an option to use the internal dns. Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21wintest: set nameserver on a more general placeBjörn Baumbach1-0/+2
Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21wintest: add option to use ntvfs instead of s3fsBjörn Baumbach1-1/+2
Signed-off-by: Kai Blin <kai@samba.org>
2012-05-31wintest: use (renamed) smbclient4 tool as smbclientMichael Adam1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 31 13:23:34 CEST 2012 on sn-devel-104
2012-05-31wintest: introduce a variable to contain the (relative) path of smbclientMichael Adam1-37/+44
2012-05-25wintest: s3fs is now the default in provisionAndrew Bartlett1-2/+1
2012-05-02s4-wintest: --use-s3fs in wintestAndrew Bartlett1-1/+2
2012-03-23wintest: test demote of DCAndrew Bartlett1-0/+3
2011-07-28samba-tool: updated test suite to account for newuser changeGiampaolo Lauria1-6/+6
Updated test suite invocations of newuser to "user add" as the newuser functionality is now being moved to "user add" Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell1-5/+5
2011-07-13s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell1-1/+1
this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29wintest: added a "ipconfig /flushdns"Andrew Tridgell1-0/+3
w2k3 doesn't flush its DNS cache on a dynamic update Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29wintest: ensure we startup the w2k3 DC VMAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17Add support for testing a Win2k3 domain memberAndrew Bartlett1-0/+7
2011-02-07s4-wintest Use top level build for wintestAndrew Bartlett1-1/+1
2011-02-02wintest Return debug info when dcpromo fails from the logAndrew Bartlett1-1/+11
2010-12-16Typos in wintestZahari Zahariev1-1/+1
2010-12-14wintest Add testing of kerberos connections to Windows members of an AD domainAndrew Bartlett1-22/+24
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
2010-12-10wintest flush DNS on Windows clients to improve reliablityAndrew Bartlett1-0/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Dec 10 08:45:28 CET 2010 on sn-devel-104
2010-12-10wintest Share more of the S4 test code with the s3 testAndrew Bartlett1-245/+13
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
2010-12-09wintest Remove the password expiry as the first stepAndrew Bartlett1-3/+3
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
2010-12-08wintest: use --add-ref for RODC replicationAndrew Tridgell1-3/+18
this forces the creation of the repsTo attribute, and allows more complete testing of RODC replication
2010-12-03wintest: autodetect if named supports tkey-gssapi-keytabAndrew Tridgell1-3/+25
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 3 08:48:52 CET 2010 on sn-devel-104
2010-12-03wintest: put most of the main program login in wintest.pyAndrew Tridgell1-46/+6
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
2010-12-01wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell1-2/+0
2010-12-01wintest Move stopping of BIND into a new stepAndrew Bartlett1-11/+31
We must run this early, to ensure that BIND isn't alive to write to the zone file after provision has cleaned it up. Andrew Bartlett
2010-12-01wintest: fixed formatting of wintest in emacs python modeAndrew Tridgell1-1/+1
2010-12-01wintest Wipe the BIND data directory just before we restart bindAndrew Bartlett1-2/+5
This will hopefully mean we don't end up with stale zone info in the new server. Andrew Bartlett
2010-12-01wintest Add more retries and fix up RODC handling after auto-dcpromoAndrew Bartlett1-16/+35
The extra looping allows some time for the system to settle down while we connect to the server for the first time. Andrew Bartlett
2010-12-01wintest Allow 'samba-tool newuser' to run a few times waiting for the RID SetAndrew Bartlett1-1/+1
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2010-12-01wintest Make the new --vms option default to running all tests.Andrew Bartlett1-1/+1
Andrew Bartlett
2010-12-01wintest Add a function to shut down all the managed VMs at the startAndrew Bartlett1-0/+9
This helps ensure that old virtual machines don't interfer with a new test run. Andrew Bartlett
2010-12-01wintest Add automatic dcpromo is the host isn't a DC yetAndrew Bartlett1-3/+66
This is slow, and requires an extra reboot, but should be consistent and reproducible. Andrew Bartlett
2010-12-01wintest: cope with delays in w2k3 starting its DRS serverAndrew Tridgell1-1/+1
w2k3 brings up its DRS server quite a long time after its other services
2010-12-01wintest: wait for the windows DC to register its DNS nameAndrew Tridgell1-0/+3
after a windows DC uses dcpromo to join our domain, it can take a while for it to register its DNS name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-01wintest: added --vms optionAndrew Tridgell1-9/+12
this allows you to run tests associated with a specified list of VMs
2010-11-29wintest: cope with the heimdal version of kinitAndrew Tridgell1-1/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
2010-11-27wintest: cope with VMs sometimes not rebootingAndrew Tridgell1-6/+3
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
2010-11-27wintest: avoid adding a blank line to resolv.conf on each runAndrew Tridgell1-2/+1
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 01:47:48 CET 2010 on sn-devel-104
2010-11-26wintest: do an initial replication of CN=Configuration to transfer dnsHostnameAndrew Tridgell1-0/+4
this fixes the drs replication in the dcpromo test
2010-11-26wintest: fixed "rndc command" option in provisionAndrew Tridgell1-5/+14
we need to point at the generated rndc.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-26wintest: make IPv6 optional in wintestAndrew Tridgell1-5/+12
we need some more work on IPv6 support in s4 before this works
2010-11-24wintest: added an IPv6 address, and use fully qualified hostnameAndrew Tridgell1-27/+37
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
2010-11-24wintest Don't connect to localhost or unqualified hostname, bind interface onlyAndrew Bartlett1-13/+13
Instead, connect to ${INTERFACE_IP} and the fully qualified hostname, so that we talk to the the interface where Samba is (now) bound. Using 'bind interfaces only' means that the other Samba instances (properly configured) can still run while the tests progress. (killall operations that currently terminate other Samba instances still need work). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Nov 24 08:33:03 CET 2010 on sn-devel-104
2010-11-24wintest: fixed cleanup of /etc/resolv.confAndrew Tridgell1-1/+3
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 07:29:49 CET 2010 on sn-devel-104
2010-11-24wintest: remove reliance on hostname in /etc/hostsAndrew Tridgell1-35/+31
- don't setwinvars() in test code - use fully qualified names where possible - don't delete named and rndc config