summaryrefslogtreecommitdiffstats
path: root/wintest
Commit message (Collapse)AuthorAgeFilesLines
* samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell2011-07-211-5/+5
|
* s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell2011-07-131-1/+1
| | | | | | this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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-072-5/+18
|
* 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 New snapshot for my wintest VMsAndrew Bartlett2011-03-291-1/+1
|
* wintest: added a "ipconfig /flushdns"Andrew Tridgell2011-03-291-0/+3
| | | | | | w2k3 doesn't flush its DNS cache on a dynamic update Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wintest: fixed syntax highlighting with emacsAndrew Tridgell2011-03-291-1/+1
|
* wintest: ensure we startup the w2k3 DC VMAndrew Tridgell2011-03-291-0/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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>
* Add support for testing a Win2k3 domain memberAndrew Bartlett2011-02-172-3/+19
|
* wintest upper case the --vms paramter arguments to wintest.pyAndrew Bartlett2011-02-171-1/+4
| | | | This makes it easier to specify
* s4-wintest Use top level build for wintestAndrew Bartlett2011-02-071-1/+1
|
* wintest Return debug info when dcpromo fails from the logAndrew Bartlett2011-02-021-1/+11
|
* s4/wintest New ESXi configuration fileZahari Zahariev2011-01-211-0/+46
| | | | | | | | | | This is a way to use wintest as it is unchanged and work with ESXi virtualization solution instead of VirtualBox or KVM. As the virtualization server is a remote Linux like machine I use 'sshpass' wrapper SSH to execute stop/reset/revert commands. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Jan 21 00:29:15 CET 2011 on sn-devel-104
* Typos in wintestZahari Zahariev2010-12-162-3/+3
|
* wintest Add testing of kerberos connections to Windows members of an AD domainAndrew Bartlett2010-12-143-27/+129
| | | | | | | | | | | | | | | | | 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 flush DNS on Windows clients to improve reliablityAndrew Bartlett2010-12-101-0/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Dec 10 08:45:28 CET 2010 on sn-devel-104
* wintest More work to make test-s3.py workAndrew Bartlett2010-12-101-4/+17
| | | | | | | | | | | - Set the password on the newly added 'root' user so we can connect with a user that exists in getpwnam() without further configuration - bind interfaces only so we don't conflict with other Samba instances - use the full DNS name for smbclient - don't connect to localhost (as we will be on ${INTERFACE_IP} only - Use the windows domain in the wbinfo command (winbindd won't take bare name here). - Register our IP address in DNS using 'net ads dns register' Andrew Bartlett
* wintest Share more of the S4 test code with the s3 testAndrew Bartlett2010-12-103-257/+298
| | | | | | | | 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-092-4/+13
| | | | | | | | | | 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: use --add-ref for RODC replicationAndrew Tridgell2010-12-081-3/+18
| | | | | this forces the creation of the repsTo attribute, and allows more complete testing of RODC replication
* wintest: autodetect if named supports tkey-gssapi-keytabAndrew Tridgell2010-12-033-3/+27
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Dec 3 08:48:52 CET 2010 on sn-devel-104
* wintest: put most of the main program login in wintest.pyAndrew Tridgell2010-12-033-88/+60
| | | | | | | 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: added READMEAndrew Tridgell2010-12-021-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
* wintest: cope with w2k3 form of dcdiag outputAndrew Tridgell2010-12-012-4/+6
|
* wintest Move stopping of BIND into a new stepAndrew Bartlett2010-12-011-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
* 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: we don't need the WIN_BASEDN vars any moreAndrew Tridgell2010-12-011-2/+0
| | | | they are based on the realm now
* wintest: fixed formatting of wintest in emacs python modeAndrew Tridgell2010-12-011-1/+1
|
* wintest Wipe the BIND data directory just before we restart bindAndrew Bartlett2010-12-011-2/+5
| | | | | | | This will hopefully mean we don't end up with stale zone info in the new server. Andrew Bartlett
* 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 Add more retries and fix up RODC handling after auto-dcpromoAndrew Bartlett2010-12-011-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
* wintest Allow 'samba-tool newuser' to run a few times waiting for the RID SetAndrew Bartlett2010-12-011-1/+1
| | | | Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* wintest Make the new --vms option default to running all tests.Andrew Bartlett2010-12-012-2/+3
| | | | 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-012-0/+17
| | | | | | | This helps ensure that old virtual machines don't interfer with a new test run. Andrew Bartlett
* wintest Fix case of BASEDN variablesAndrew Bartlett2010-12-011-1/+1
| | | | | | This needs to be automatically calculated. Andrew Bartlett
* wintest Add automatic dcpromo is the host isn't a DC yetAndrew Bartlett2010-12-012-3/+76
| | | | | | | This is slow, and requires an extra reboot, but should be consistent and reproducible. Andrew Bartlett
* wintest Add more VMs and correct titlesAndrew Bartlett2010-12-011-1/+25
|
* wintest: cope with delays in w2k3 starting its DRS serverAndrew Tridgell2010-12-011-1/+1
| | | | | w2k3 brings up its DRS server quite a long time after its other services
* wintest: wait for the windows DC to register its DNS nameAndrew Tridgell2010-12-011-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>
* 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-012-9/+24
| | | | this allows you to run tests associated with a specified list of VMs
* wintest: cope with the heimdal version of kinitAndrew Tridgell2010-11-292-5/+8
| | | | | 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-274-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
* wintest: avoid adding a blank line to resolv.conf on each runAndrew Tridgell2010-11-271-2/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Nov 27 01:47:48 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: do an initial replication of CN=Configuration to transfer dnsHostnameAndrew Tridgell2010-11-261-0/+4
| | | | this fixes the drs replication in the dcpromo test