1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

64 Commits

Author SHA1 Message Date
Joe Guo
5d532543ab PEP8: fix E128: continuation line under-indented for visual indent
Signed-off-by: Joe Guo <joeg@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2018-08-24 07:49:27 +02:00
Mathieu Parent
8ed2873400 Fix spelling s/propogate/propagate/
Signed-off-by: Mathieu Parent <math.parent@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
2018-05-12 02:09:27 +02:00
Andrew Bartlett
6245c5cba2 wintest: Give dcpromo more time
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Oct  3 16:04:44 CEST 2012 on sn-devel-104
2012-10-03 16:04:44 +02:00
Andrew Bartlett
10eba77dcb wintest: Give netdom join more time to complete 2012-10-03 14:25:57 +02:00
Andrew Bartlett
1773fc0673 wintest: bump version to 4.1 2012-10-03 14:25:57 +02:00
Andrew Bartlett
72720d6ea0 wintest: Fix --use-ntvfs handling
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-12 16:51:29 +02:00
Andrew Bartlett
ee4d1c4062 wintest: Rework support for the internal DNS server
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-12 16:51:29 +02:00
Stefan Metzmacher
1d085f6eb1 wintest: make use of samba-tool domain provision
metze
2012-09-11 08:35:57 +02:00
Björn Baumbach
cea3bdb103 wintest: enable dns forwarding for internal dns
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-21 23:47:35 +02:00
Björn Baumbach
ed3ded1122 wintest: set recursive queries for internal dns
Need dns recursive queries = yes, since
host expects answers with RA-bit.

Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +02:00
Björn Baumbach
b45d4beca5 wintest: add option to select the dns backend
This is an option to use the internal dns.

Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +02:00
Björn Baumbach
09bee254f0 wintest: set nameserver on a more general place
Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +02:00
Björn Baumbach
226dbc116d wintest: add option to use ntvfs instead of s3fs
Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +02:00
Michael Adam
d328762164 wintest: use (renamed) smbclient4 tool as smbclient
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu May 31 13:23:34 CEST 2012 on sn-devel-104
2012-05-31 13:23:34 +02:00
Michael Adam
f866755015 wintest: introduce a variable to contain the (relative) path of smbclient 2012-05-31 18:23:42 +10:00
Andrew Bartlett
7891ad478b wintest: s3fs is now the default in provision 2012-05-25 10:17:50 +10:00
Andrew Bartlett
b6b4364a3d s4-wintest: --use-s3fs in wintest 2012-05-02 10:53:51 +10:00
Andrew Bartlett
d4cfed3df8 wintest: test demote of DC 2012-03-23 03:04:08 +01:00
Giampaolo Lauria
901959d9ca samba-tool: updated test suite to account for newuser change
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-28 15:20:51 +10:00
Andrew Tridgell
e593939da1 samba-tool: fixed some more calls to samba_tool join to be 'domain join' 2011-07-21 11:44:38 +10:00
Andrew Tridgell
18995cde5c s4-fault: changed to use %d for PID, instead of %PID%
this matches the s3 behaviour

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-13 12:51:05 +02:00
Andrew Tridgell
9eb9b11bfd wintest: added a "ipconfig /flushdns"
w2k3 doesn't flush its DNS cache on a dynamic update

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
b85bb3e386 wintest: ensure we startup the w2k3 DC VM
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Bartlett
0dec840677 Add support for testing a Win2k3 domain member 2011-02-17 05:56:04 +01:00
Andrew Bartlett
2d72f68ed0 s4-wintest Use top level build for wintest 2011-02-07 13:22:02 +11:00
Andrew Bartlett
e830cb4839 wintest Return debug info when dcpromo fails from the log 2011-02-02 15:21:13 +11:00
Zahari Zahariev
94b149f3cb Typos in wintest 2010-12-16 15:54:29 +11:00
Andrew Bartlett
6510414ef0 wintest Add testing of kerberos connections to Windows members of an AD domain
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-14 01:54:46 +01:00
Andrew Bartlett
e92803201a wintest flush DNS on Windows clients to improve reliablity
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Dec 10 08:45:28 CET 2010 on sn-devel-104
2010-12-10 08:45:28 +01:00
Andrew Bartlett
4408f8a0de wintest Share more of the S4 test code with the s3 test
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-10 17:58:13 +11:00
Andrew Bartlett
377b3995b1 wintest Remove the password expiry as the first step
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-09 13:33:00 +01:00
Andrew Tridgell
9013f93df1 wintest: use --add-ref for RODC replication
this forces the creation of the repsTo attribute, and allows more
complete testing of RODC replication
2010-12-08 05:26:05 +01:00
Andrew Tridgell
6bfa21f624 wintest: autodetect if named supports tkey-gssapi-keytab
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Dec  3 08:48:52 CET 2010 on sn-devel-104
2010-12-03 08:48:52 +01:00
Andrew Tridgell
9de6b4a7ca wintest: put most of the main program login in wintest.py
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-03 06:17:44 +01:00
Andrew Tridgell
00ecbdbbd1 wintest: cope with w2k3 form of dcdiag output 2010-12-01 17:00:47 +11:00
Andrew Bartlett
06fd5b7003 wintest Move stopping of BIND into a new step
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-01 17:00:47 +11:00
Andrew Tridgell
bd86dda8e6 wintest: fixed formatting of wintest in emacs python mode 2010-12-01 16:09:59 +11:00
Andrew Bartlett
4072455c00 wintest Wipe the BIND data directory just before we restart bind
This will hopefully mean we don't end up with stale zone info in the
new server.

Andrew Bartlett
2010-12-01 16:09:59 +11:00
Andrew Bartlett
ca79bc7373 wintest Add more retries and fix up RODC handling after auto-dcpromo
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-01 16:09:59 +11:00
Andrew Bartlett
a565eff969 wintest Allow 'samba-tool newuser' to run a few times waiting for the RID Set
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2010-12-01 16:09:59 +11:00
Andrew Bartlett
0b2ec0abb9 wintest Make the new --vms option default to running all tests.
Andrew Bartlett
2010-12-01 16:09:58 +11:00
Andrew Bartlett
7ecf6b2451 wintest Add a function to shut down all the managed VMs at the start
This helps ensure that old virtual machines don't interfer with a new
test run.

Andrew Bartlett
2010-12-01 16:09:58 +11:00
Andrew Bartlett
f5382d5d3f wintest Add automatic dcpromo is the host isn't a DC yet
This is slow, and requires an extra reboot, but should be consistent
and reproducible.

Andrew Bartlett
2010-12-01 16:09:58 +11:00
Andrew Tridgell
2b1c259d51 wintest: cope with delays in w2k3 starting its DRS server
w2k3 brings up its DRS server quite a long time after its other
services
2010-12-01 16:09:58 +11:00
Andrew Tridgell
90215c53df wintest: wait for the windows DC to register its DNS name
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-01 16:09:58 +11:00
Andrew Tridgell
1079195a76 wintest: added --vms option
this allows you to run tests associated with a specified list of VMs
2010-12-01 11:03:25 +11:00
Andrew Tridgell
7025087456 wintest: cope with the heimdal version of kinit
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
2010-11-29 08:49:36 +01:00
Andrew Tridgell
8737baee7c wintest: cope with VMs sometimes not rebooting
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-27 02:42:19 +01:00
Andrew Tridgell
353cdd006a wintest: avoid adding a blank line to resolv.conf on each run
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Nov 27 01:47:48 CET 2010 on sn-devel-104
2010-11-27 01:47:48 +01:00
Andrew Tridgell
cfa7510e19 wintest: do an initial replication of CN=Configuration to transfer dnsHostname
this fixes the drs replication in the dcpromo test
2010-11-26 03:08:21 +01:00