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

200 Commits

Author SHA1 Message Date
Volker Lendecke
79f05247d5 s3: Run raw.oplock
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-10 14:58:51 -07:00
Stefan Metzmacher
7a51c5e469 selftest/knownfail: we pass some samba3.smb2.durable-* tests now
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep  8 23:18:39 CEST 2012 on sn-devel-104
2012-09-08 23:18:39 +02:00
Andrew Bartlett
a58bf44c1e s4-torture: Add start of a test to confirm winbindd PAC parsing
So far this confirms that we can accept a ticket using the secrets.tdb
entry.

Andrew Bartlett
2012-08-29 23:46:17 +02:00
Andrew Bartlett
1a8fd711d7 selftest: Add test of smbclient --machine-pass against and using both s3 and s4
This uses both smbclient binaries to ensure that both work in both environments.

Andrew Bartlett
2012-08-28 07:57:29 +10:00
Andrew Bartlett
ebb776f51f selftest: Add tests for vfs_aio_fork
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
2012-08-21 13:12:33 +02:00
Stefan Metzmacher
1b487ad3d7 s3:selftest: add some tests against a share the requires encryption
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
2012-08-17 16:34:26 +02:00
Andrew Bartlett
df8e9c1287 s3-selftest: Add a seperate test for ACL tests using vfstest
This does not check for consistency or correctness yet, that will be
done with python unit tests.  The purpose of this test is to ensure
that the vfstest wrapper doesn't crash.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
2012-08-16 09:32:25 +02:00
Andrew Bartlett
97e7c3b8bd s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit test
We don't use the simple smb.conf because we need to override all the
paths for this to work as non-root without a panic, so we use the s3dc
environment, which already loads this module.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Aug 16 02:55:19 CEST 2012 on sn-devel-104
2012-08-16 02:55:19 +02:00
Andrew Bartlett
748d8f5310 s3-selftest: convert stream_depot vfstest driver into a subunit test
This gives us our first automated coverage of the vfstest binary.

We don't use the simple smb.conf because we need to override all the
paths for this to work as non-root without a panic, so we use the s3dc
environment, which already loads this module.

Andrew Bartlett
2012-08-16 09:15:45 +10:00
Salvador I. Gonzalez
34c4664dc0 s3-selftest: Add smbclient tarmode test
(With small changes to have test complete by Andrew Bartlett)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-08-14 08:37:48 +10:00
Andrew Bartlett
9130bbb7e5 selftest: Run unix.whomai against the machine acccount as well
This shows that the machine account got an extra SID in the token for domain users.

Andrew Bartlett
2012-07-19 04:04:20 +02:00
Andrew Bartlett
624f11e4b4 s4-torture: Allow unix.whoami to test against a member server
This compares only the domain SIDs betwen the two servers, rather than
the full token, as well known and other SIDs may be added locally
in both cases.

This also expands the test environments this is run against to verify
this between our AD server and domain members.

Andrew Bartlett
2012-07-19 04:04:20 +02:00
Andreas Schneider
81ff67c3c8 s3-selftest: Run lsa tests over np and tcpip. 2012-07-06 10:00:56 +02:00
Stefan Metzmacher
5c31e5d553 s3:selftest: run SMB2-SESSION-RECONNECT
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Mon Jun 25 22:42:03 CEST 2012 on sn-devel-104
2012-06-25 22:42:03 +02:00
Stefan Metzmacher
ed96b397f7 s3:selftest: run raw.session
Note: raw.session.reauth2 still fails:

	failure: samba3.raw.session.reauth2(s3dc) [
	_StringException: _StringException: ../source4/torture/raw/session.c:186: status
	was NT_STATUS_ACCESS_DENIED, expected NT_STATUS_OK: 2nd open failed

But it's not critical as real clients won't reauth as anonymous.

metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
c0b9fa8b2c s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
842f1c85b6 s3:selftest: run smbtorture3 SMB2-SESSION-REAUTH
metze
2012-06-25 20:55:06 +02:00
Stefan Metzmacher
ce22037621 s3:selftest: run smb2.session as ntlm and krb5
This activates the smb2.session.expire1 test, when krb5 is used.

metze
2012-06-25 20:55:06 +02:00
Andrew Bartlett
0eab44c297 selftest: Test unix.whoami with kerberos on plugin_s4_dc
This also tests the comparison with LDAP on anonymous connections
and marks this as knownfail, while we investigate the correct
behaviour here.

Andrew Bartlett
2012-06-24 23:46:10 +10:00
Andrew Bartlett
bc9e12183f s4-torture: Expand whoami test to confirm the user token.
This uses the tokenGroups attribute on LDAP and the posix whoami call
to confirm that user token matches between LDAP and CIFS.

I have a seperate patch for the anonymous case, because this isn't
consistent at this stage, and we need to study and fix that.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 20 18:43:43 CEST 2012 on sn-devel-104
2012-06-20 18:43:43 +02:00
Jeremy Allison
27bb01691c Tests for bug #8972 - run the POSIX tests against the posix_share. 2012-06-05 06:25:31 +02:00
Michael Adam
4b07193705 s3:selftest: add a binary mapping for smbclient4 2012-05-31 04:46:06 +02:00
Michael Adam
f56ada0978 s3:selftest: add a binary mapping for nmblookup4 2012-05-31 04:46:06 +02:00
Michael Adam
13181f3341 s3:selftest: improve strange linebreaks for blackbox tests in tests.py for readability 2012-05-31 04:46:06 +02:00
Michael Adam
910a4977f1 s3:selftest: introduce a variable for binpath('dbwrap_tool') in tests.py 2012-05-31 04:46:06 +02:00
Michael Adam
953163ddc7 s3:selftest: introduce a variable for binpath('ntlm_auth3') in tests.py 2012-05-31 04:46:06 +02:00
Michael Adam
5ec763aeec s3:selftest: introduce a variable for binpath('smbtorture3') in tests.py 2012-05-31 04:46:06 +02:00
Michael Adam
886169b380 s3:selftest: introduce a variable for binpath('net') in tests.py 2012-05-31 04:46:06 +02:00
Michael Adam
f9aef09454 s3:selftest: introduce a variable for binpath('wbinfo') in tests.py
to remove explicit calls to binpath('wbinfo')
2012-05-31 04:46:05 +02:00
Michael Adam
4f611bcc1b s3:selftest: introduce a variable for binpath('smbclient3') to test.py
to remove manual calls to binpath("smbclient3")
2012-05-31 04:46:05 +02:00
Stefan Metzmacher
ac4d23ebeb s3:selftest: run rpc.samba3.smb[1|2]-pipe-name
metze
2012-05-28 19:52:00 +02:00
Stefan Metzmacher
0bf6ec88ed s3:selftest: run smbtorture3 CLEANUP3 in the s3dc:local environment
metze

Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri May 25 20:09:15 CEST 2012 on sn-devel-104
2012-05-25 20:09:15 +02:00
Jeremy Allison
c531aac27c Added torture test for bug #8910. Test remove_duplicate_addrs2().
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-05-22 01:31:17 +02:00
Andrew Bartlett
f67cb32b51 selftest: Remove tests for security=server
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15 08:18:27 +02:00
Andrew Bartlett
5763301e26 selftest: run more raw.samba3 against secshare simple file server
This allows these tests to run in an environment where they can pass,
as they fail when ACL support is turned on in smbd.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed May  2 02:51:27 CEST 2012 on sn-devel-104
2012-05-02 02:51:27 +02:00
Andrew Bartlett
6d87df2ac3 selftest: Run smbtorture tests being run against s3dc against plugin_s4_dc as well 2012-05-02 01:00:13 +02:00
Andrew Bartlett
5baf11307f selftest: attempt to test samba3hide in a different environment
This should ensure that the samba3hide test is still run and passes,
in a non-ACLed environment.

Andrew Bartlett
2012-05-02 01:00:12 +02:00
Christian Ambach
b985c672bf s3:selftest run LOCAL-IDMAP-TDB-COMMON in make test
Autobuild-User: Christian Ambach <ambi@samba.org>
Autobuild-Date: Tue May  1 11:07:08 CEST 2012 on sn-devel-104
2012-05-01 11:07:08 +02:00
Andrew Bartlett
2f35c246fc selftest: Add test to ensure that bug #8872 does not come back
The raw.composite test checks that we handle mutliple concurrent connections.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Apr 27 16:25:37 CEST 2012 on sn-devel-104
2012-04-27 16:25:37 +02:00
Andrew Bartlett
67a851a050 selftest: Remove silly space before unit test name
When we have no description, there is no need for a leading space here

Andrew Bartlett
2012-04-27 14:51:05 +02:00
Andrew Bartlett
d913a94eeb selftest: push --target selection into plansmbtorturetestsuite 2012-04-26 02:28:26 +02:00
Jelmer Vernooij
dd0b8792a0 s3/selftest: Fix reference to knownfail file. 2012-04-16 16:30:18 +02:00
Björn Baumbach
0e3be00af1 s3-selftest: Remove some unnecessary comma
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22 00:21:56 +01:00
Björn Baumbach
56f2f76166 s3-selftest: Add samba3.blackbox.net.registry.check to test list
Signed-off-by: Michael Adam <obnox@samba.org>
2012-03-22 00:21:56 +01:00
Michael Adam
64627de35c s3:selftest: reactivate the writetimeupdatedelay speed-up
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-15 18:41:37 +01:00
Andrew Bartlett
8b10d6848f selftest: test wbinfo --authenticate and --krb5auth 2012-03-15 09:29:02 +11:00
Stefan Metzmacher
89511d28bf s3:selftest: add support for 'make test FAIL_IMMEDIATELY=1'
This is what autobuild uses in order to let the build abort on the first
failure.

metze
2012-03-14 21:20:26 +01:00
Andrew Bartlett
16ecda3f11 selftest: fix running additional smbclient test for non-spnego session setup
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Mar 10 20:46:05 CET 2012 on sn-devel-104
2012-03-10 20:46:05 +01:00
Andrew Bartlett
79753ec02c selftest: add more tests for different authentication codepaths 2012-03-08 10:14:05 +01:00
Gregor Beck
4f5412dda6 s3:selftest: ask smbtorture4 for smb2 tests
Signed-off-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Mar  7 01:34:05 CET 2012 on sn-devel-104
2012-03-07 01:34:05 +01:00