summaryrefslogtreecommitdiff
path: root/wintest
AgeCommit message (Collapse)AuthorFilesLines
2010-12-02wintest: added READMEAndrew Tridgell1-0/+5
this points at the wiki page Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 2 02:05:32 CET 2010 on sn-devel-104
2010-12-01wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell2-4/+6
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: make command matching case insensitive by defaultAndrew Tridgell1-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
2010-12-01wintest: we don't need the WIN_BASEDN vars any moreAndrew Tridgell1-2/+0
they are based on the realm now
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 Another way to work out if a Windows machine is a DCAndrew Bartlett1-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
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 Bartlett2-2/+3
Andrew Bartlett
2010-12-01wintest Set WIN_LCREALM and WIN_BASEDN automaticallyAndrew Bartlett1-1/+7
Also this uppper cases WIN_REALM, to avoid this being sensitive based on the configuration file. Andrew Bartlett
2010-12-01wintest Add a function to shut down all the managed VMs at the startAndrew Bartlett2-0/+17
This helps ensure that old virtual machines don't interfer with a new test run. Andrew Bartlett
2010-12-01wintest Fix case of BASEDN variablesAndrew Bartlett1-1/+1
This needs to be automatically calculated. Andrew Bartlett
2010-12-01wintest Add automatic dcpromo is the host isn't a DC yetAndrew Bartlett2-3/+76
This is slow, and requires an extra reboot, but should be consistent and reproducible. Andrew Bartlett
2010-12-01wintest Add more VMs and correct titlesAndrew Bartlett1-1/+25
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: fixed casefold handling in expect callsAndrew Tridgell1-1/+6
2010-12-01wintest: make expect calls case insensitive by defaultAndrew Tridgell1-7/+10
2010-12-01wintest: added --vms optionAndrew Tridgell2-9/+24
this allows you to run tests associated with a specified list of VMs
2010-11-29wintest: cope with the heimdal version of kinitAndrew Tridgell2-5/+8
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 Tridgell4-7/+33
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-27wintest: handle missing firewall commands Andrew Tridgell1-1/+3
my w2k3 box doesn't have these firewall commands
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 Tridgell3-7/+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 Tridgell4-34/+53
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 Tridgell2-35/+34
- don't setwinvars() in test code - use fully qualified names where possible - don't delete named and rndc config
2010-11-24wintest: fixed interface handling and DNS forwardingAndrew Tridgell4-65/+118
- allow for _IP vars on VMs - resolve IPs using nmblookup - forward DNS requests for windows domains
2010-11-23wintest: tidyups and new conf variablesAndrew Tridgell4-20/+62
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 23 13:01:10 CET 2010 on sn-devel-104
2010-11-23wintest Evolve wintest to handle it's own BIND nameserverAndrew Bartlett3-27/+132
The changes here start our own copy of BIND, listening on a new interface that we create at the start of the script. The user must specify the IP address etc that this interface will have, and BIND and Samba will bind to that interface only. This means that we won't conflict with an existing BIND on the system, so long as it isn't configured to listen on all interfaces. We also auto-create the /etc/resolv.conf and restore it at the end of the script, using the existing server value from the script as a forwarder. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 23 08:30:34 CET 2010 on sn-devel-104
2010-11-23wintest Improve wintest's handling of IP addresses and add more auto-setupAndrew Bartlett2-13/+62
- Don't change the IP address if DHCP is not in use The main reason to 'fix' the IP is to get around Dynamic DNS issues caused by the DHCP server, if the VM is already on a fixed IP, it does not matter. - Set the maximum telnet connection limit to 1024 This ensures that we can always make a new connection, regardless of the existing configuration. We also catch more conditions when the server has restricted the number of connections, and try again. - Set the route after the connection drops out My WinXP box always wants to drop the default route - Set the DNS as a distinct step My WinXP box drops the connection when we set DNS servers Andrew Bartlett
2010-11-23wintest Explian that this is my KVM/libvirt configurationAndrew Bartlett1-1/+1
2010-11-23wintest example configuration file for a KVM based wintestAndrew Bartlett1-0/+59
Andrew Bartlett
2010-11-23wintest Allow substitute to cope with objects like pexpect.EOFAndrew Bartlett1-0/+3
These are not strings, but may get passed into this function on the way to pexpect. Andrew Bartlett
2010-11-23wintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCPAndrew Bartlett2-11/+78
The idea here is that the virtual machine stays on the address allocated by DHCP, but is configured statically. This avoids the need to manually set the address on the host, but avoids the host being instructed by DHCP not to do Dynamic DNS. Andrew Bartlett
2010-11-23wintest Force krb5.conf for BIND so we use the one generated for this testAndrew Bartlett1-1/+1
This avoids needing to set the krb5.conf for the whole host to match the test environment. Andrew Bartlett
2010-11-19wintest: the start of a S3 testing script for wintestAndrew Tridgell1-0/+202
this is just a skeleton at this stage. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Nov 19 06:03:55 CET 2010 on sn-devel-104
2010-11-19wintest: added del_files, write_file and casefoldAndrew Tridgell2-12/+35
2010-11-19wintest: move conf files to conf/Andrew Tridgell1-0/+0
2010-11-19wintest: rename test-howto.py to test-s4-howto.pyAndrew Tridgell1-0/+0
ready for test-s3.py
2010-11-19wintest: moved to top levelAndrew Tridgell3-0/+970
the plan is to expand wintest to test a lot more of Samba against windows, including testing the Samba3 file server, winbind, nmbd etc