summaryrefslogtreecommitdiffstats
path: root/wintest/test-s4-howto.py
Commit message (Collapse)AuthorAgeFilesLines
...
* wintest: added an IPv6 address, and use fully qualified hostnameAndrew Tridgell2010-11-241-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
* wintest Don't connect to localhost or unqualified hostname, bind interface onlyAndrew Bartlett2010-11-241-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
* wintest: fixed cleanup of /etc/resolv.confAndrew Tridgell2010-11-241-1/+3
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 24 07:29:49 CET 2010 on sn-devel-104
* wintest: remove reliance on hostname in /etc/hostsAndrew Tridgell2010-11-241-35/+31
| | | | | | - 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-59/+77
| | | | | | - allow for _IP vars on VMs - resolve IPs using nmblookup - forward DNS requests for windows domains
* wintest: tidyups and new conf variablesAndrew Tridgell2010-11-231-8/+45
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 23 13:01:10 CET 2010 on sn-devel-104
* wintest Evolve wintest to handle it's own BIND nameserverAndrew Bartlett2010-11-231-21/+103
| | | | | | | | | | | | | | | | | | | 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
* wintest Improve wintest's handling of IP addresses and add more auto-setupAndrew Bartlett2010-11-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | - 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
* wintest Set the virtual machine IP to match it's dynamic IP, but don't use DHCPAndrew Bartlett2010-11-231-7/+12
| | | | | | | | | 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
* wintest Force krb5.conf for BIND so we use the one generated for this testAndrew Bartlett2010-11-231-1/+1
| | | | | | | This avoids needing to set the krb5.conf for the whole host to match the test environment. Andrew Bartlett
* wintest: added del_files, write_file and casefoldAndrew Tridgell2010-11-191-9/+14
|
* wintest: rename test-howto.py to test-s4-howto.pyAndrew Tridgell2010-11-191-0/+618
ready for test-s3.py