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

101 Commits

Author SHA1 Message Date
Björn Baumbach
884e28f66b wintest: check netcats exitstatus instead of output
There are many netcat implementations with different output messages.

Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +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
Björn Baumbach
9fcd4a83a5 wintest: add working bbaumbach.conf file for use with VirtualBox
Signed-off-by: Kai Blin <kai@samba.org>
2012-06-21 21:55:20 +02:00
Andrew Bartlett
d6cd48fca6 wintest: Fix test-s3.py to use smbclient3 under the name smbclient
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jun  5 06:24:39 CEST 2012 on sn-devel-104
2012-06-05 06:24:39 +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
Andrew Bartlett
9e22b096cc wintest: test wbinfo --krb5auth
This will ensure that this functionality is tested with MIT krb5, as the
make test system only reaches this code with Heimdal.

Andrew Bartlett
2012-03-15 09:29:02 +11:00
Andrew Bartlett
1102acbbb6 wintest: continue turning over VMs... 2012-03-08 10:14:05 +01:00
Andrew Bartlett
7724533d80 wintest: Change to a new Win2008R2 VM 2012-02-23 16:14:19 +11:00
Andrew Bartlett
fb54ba193b wintest: Update Win2003 VM 2012-02-17 17:36:38 +11:00
Andrew Bartlett
071f3c15f2 wintest: give host longer to register the SRV record 2012-02-17 17:36:37 +11:00
Andrew Bartlett
a7569b68f9 wintest: use net rpc to put authenticated users into TelentClients if we need to 2012-02-17 17:36:37 +11:00
Andrew Bartlett
111f8f4a7c wintest: Allow Windows VM to have no default route 2012-02-17 17:36:37 +11:00
Andrew Bartlett
a8a83611f0 wintest: update WinXP-1 snapshot 2012-02-16 15:20:10 +11:00
Andrew Bartlett
8f6ddb3c02 wintest: Change Windows 7 VM 2012-02-16 15:20:10 +11:00
Andrew Bartlett
61ccb465db wintest: Give the Windows VM a little more time to start back up 2012-02-16 15:20:10 +11:00
Andrew Bartlett
de2bb2a7f8 wintest: Samba is now all version 4.0 2012-02-16 15:20:09 +11:00
Andrew Bartlett
98e438df00 wintest: Cope with nc not timing out even when -w 1 is specified 2012-02-16 15:20:09 +11:00
Andrew Bartlett
97859d1ce8 wintest: s3 moved smb.conf to /etc 2012-02-16 15:20:09 +11:00
Andrew Bartlett
81ddb83943 wintest: Update VM used for W2K8R2A 2012-02-16 15:20:09 +11:00
Andrew Bartlett
15a0de66cb wintest: Allow access denied when turning off the firewall 2012-02-16 15:20:09 +11:00
Andrew Bartlett
2ba57f42b8 wintest: Retry joining the domain a few times 2012-02-16 15:20:09 +11:00
Andrew Bartlett
032a2c4ce3 wintest: connect to correct hostname in test_net_use 2012-02-16 15:20:09 +11:00
Andrew Bartlett
7dba93ac41 wintest: update snapshots 2011-09-01 15:23:09 +10: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 Bartlett
1367e2b303 wintest Allow setting of the firewall to fail
This is also required to allow a telnet connection as non-admin.

Andrew Bartlett
2011-04-07 14:35:36 +10:00
Andrew Bartlett
e410a1af30 s3-wintest Add test of 'net use' against the Samba3 member 2011-04-07 14:35:36 +10:00
Andrew Bartlett
9ced0df379 wintest Allow changing the telnet settings to fail, we might not be admin
This allows us to test logging in as non-admin users over telnet
2011-04-07 14:35:36 +10:00
Andrew Bartlett
53ddac3f27 wintest New snapshot for my wintest VMs 2011-03-29 00:00:23 +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
22cbd04fd7 wintest: fixed syntax highlighting with emacs 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 Tridgell
949427c208 python: use os.environ[] instead of os.putenv()
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22 02:51:10 +01:00
Andrew Bartlett
0dec840677 Add support for testing a Win2k3 domain member 2011-02-17 05:56:04 +01:00
Andrew Bartlett
5425227b55 wintest upper case the --vms paramter arguments to wintest.py
This makes it easier to specify
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
330b922bd6 s4/wintest New ESXi configuration file
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
2011-01-21 00:29:15 +01: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
89d4439ff1 wintest More work to make test-s3.py work
- 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
2010-12-10 17:58:13 +11:00