1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
Andrew Bartlett
d957fd5ae7 selftest: Test both users created in plugin_s4_dc environment
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May  9 06:10:52 CEST 2011 on sn-devel-104
2011-05-09 06:10:52 +02:00
Andrew Bartlett
5def7a1e5e s4-selftest Add tests for proxy_samba4_dc
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun May  8 20:03:45 CEST 2011 on sn-devel-104
2011-05-08 20:03:45 +02:00
Andrew Bartlett
fb5e1f4a65 selftest: s3member admember test to confirm s3/s4 interopability
This checks that Samba3 joins Samba4 correctly, and allows NTLM and
Kerberos logons from a live Samba4 DC.

This needs the common krb5.conf generation logic, and because we now
override KRB5_CONFIG we must update ktest to have a valid krb5.conf.

Based on an original patch by metze

Andrew Bartlett
2011-04-28 05:30:21 +02:00
Andrew Bartlett
5439553c96 selftest: Don't specify SELFTEST_TARGET as an env variable
It is much more reliable to specify it as a direct parameter, and this
is needed for the combined 'make test'.

Andrew Bartlett
2011-04-19 16:13:42 +10:00
Andrew Bartlett
790ceec78b s4-selftest Rename Samba4 'member' test environment to s4member
This will avoid a conflict with the s3 'member' environment.

Andrew Bartlett
2011-04-19 14:26:59 +10:00
Andrew Bartlett
8f58b13579 s4-selftest: Stop creating netbios aliases everywhere
This reduces some of the clutter when we have quite so many server
configurations starting.

The one case that actually needs an alias (dc environment for the
test_nmblookup.sh test) will still keep it.

Andrew Bartlett
2011-04-19 14:26:58 +10:00
Andrew Bartlett
d9e29c0250 selftest Remove selftest of the test subsystem
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.

Andrew Bartlett
2011-04-16 11:43:05 +02:00
Andrew Bartlett
48bb69ef00 selftest: Start using the binary mapping at the python layer as well 2011-04-16 11:43:04 +02:00
Stefan Metzmacher
4b86beb98b s4:selftest: test using the machine account of the rodc against itself
This should test the non proxy rodc kdc path.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Mar  4 22:06:10 CET 2011 on sn-devel-104
2011-03-04 22:06:10 +01:00
Kamen Mazdrashki
ec5453427e s4/tests: Include 'replica_sync' test in S4 test suite 2011-02-27 00:23:21 +02:00
Andrew Bartlett
a056792294 selftest move selftesthelpers to a top level helper script 2011-02-22 16:20:09 +11:00
Matthieu Patou
b2e126cddc s4:selftest: add tests with seal and sign for backupkey
We need to specify sign and seal as the protocol operate really only on
sealed protected connections, in other case we are just checking that
the server returns something like unwilling to perform due to weak
security.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon Feb 14 01:48:39 CET 2011 on sn-devel-104
2011-02-14 01:48:39 +01:00
Kamen Mazdrashki
4d058ca7c0 s4/tests: Implement a blackbox test for 'samba-tool drs' command
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Feb  9 11:45:30 CET 2011 on sn-devel-104
2011-02-09 11:45:30 +01:00
Andrew Tridgell
ceb4b06c43 s4-test: fixed samba4.policy.python test for top level build
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00
Andrew Tridgell
be5a709341 s4-test: fixed hard coded test paths for top level build
this fixes the various test plans that hard coded incorrect paths for
a top level build

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:01 +11:00
Andrew Tridgell
6484da4859 s4-test: allow make test to work from top level directory
this fixes the path assumptions in Samba4 make test to allow it to
work from the top level directory.

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-07 13:22:00 +11:00
Andrew Bartlett
916cc7be85 s4-dsdb Add PAC validation test to tokengroups test.
This confirms that the groups obtained from a Kerberos PAC match those
that a manual search of a target LDAP server would reveal.

This should allow mixing of a KDC specified by krb5.conf to test Samba
or Windows alternatly.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jan 19 13:13:48 CET 2011 on sn-devel-104
2011-01-19 13:13:48 +01:00
Andrew Bartlett
a1e1f02efe s4-gensec Extend python bindings for GENSEC and the associated test
This now tests a real GENSEC exchange, including wrap and unwrap,
using GSSAPI.  Therefore, it now needs to access a KDC.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Jan 18 11:41:26 CET 2011 on sn-devel-104
2011-01-18 11:41:26 +01:00
Andrew Tridgell
197f4b098b s4-test: added a tokengroups test
this tests that the remote tokenGroups match the internally calculated
ones

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-01-14 16:39:33 +11:00
Stefan Metzmacher
d0cbbee2dd s4:selftest: selftest.pl already sets TEST_DATA_PREFIX
metze
2010-12-27 15:37:56 +01:00
Jelmer Vernooij
6bc6c004fa selftest-s4: Support listing smbtorture4 tests.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
2010-12-11 19:32:07 +01:00
Stefan Metzmacher
21d02c0626 s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"
I wonder how commit 35fbc7bbda
(s4-smbtorture: Make test names lowercase and dot-separated)
ever passed make test.

metze
2010-12-11 11:06:56 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Jelmer Vernooij
c565da0f71 selftest: Make sure system subunit.run has TestProgram. 2010-12-10 03:04:06 +01:00
Jelmer Vernooij
365cfb1c32 smbtorture: Rename --list to --list-suites, add stub --list. 2010-12-10 03:04:06 +01:00
Jelmer Vernooij
680a2fb517 s4-selftest: Add convenience function for running testsuites using
subunitrun.
2010-12-10 03:04:06 +01:00
Jelmer Vernooij
028ea57e55 selftest: Allow discovering tests in pure python testsuites. 2010-12-10 03:04:06 +01:00
Kai Blin
1f2518df5a s4 libcli: Add libcli_echo lib and torture test
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Dec  9 23:57:03 CET 2010 on sn-devel-104
2010-12-09 23:57:03 +01:00
Jelmer Vernooij
ca495e67b2 samba.hostconfig: Move samba.shares into samba.hostconfig. 2010-11-28 17:23:27 +01:00
Jelmer Vernooij
4cf85a7193 s4-selftest: Ignore broken pipe error from grep.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov 28 05:45:05 CET 2010 on sn-devel-104
2010-11-28 05:45:05 +01:00
Jelmer Vernooij
d237698850 blackbox.ldb: Support using system ldbsearch.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Nov 27 04:32:11 CET 2010 on sn-devel-104
2010-11-27 04:32:11 +01:00
Kamen Mazdrashki
1b58074557 s4-tests: Make all DRS python tests to start with samba4.drs.* prefix 2010-11-23 18:01:05 +01:00
Matthieu Patou
0d85d2b4bf selftest: fix tap2subunit detection on system with tap2subunit but not correct subunit libs
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 21 16:21:54 CET 2010 on sn-devel-104
2010-11-21 16:21:54 +01:00
Kamen Mazdrashki
dcd346c0e5 s4-tests: Make repl_schema.py test part of Samba4 test suite
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Thu Nov 11 19:38:18 UTC 2010 on sn-devel-104
2010-11-11 19:38:18 +00:00
Anatoliy Atanasov
4574d497ce s4/test: Add bind.py to make test
bind.py is a place to have tests for ldb binding with different credentials.
For starter we have a simple bind with machine account.
2010-11-11 15:33:07 +00:00
Matthias Dieter Wallnöfer
79548f0da2 s4:selftest/tests.py - skip the "passwords.py" suite on Windows 2000 domain function level
The "userPassword" password change functionality isn't available and so it
causes big parts of the testsuite to fail. On the other hand we've basic tests
in "acl.py" and indirectly also over SAMR and kpasswd so I propose to simply
skip it.
2010-11-11 10:03:38 +01:00
Jelmer Vernooij
228a9c10d0 selftest: Allow some tests to output empty subunit data. 2010-11-05 02:06:05 +00:00
Jelmer Vernooij
c4dab7d545 urgent_replication: forbid empty subunit output.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov  4 12:13:47 UTC 2010 on sn-devel-104
2010-11-04 12:13:47 +00:00
Jelmer Vernooij
b6cef24463 selftest: Allow some tests to output empty subunit data. 2010-11-04 11:30:04 +00:00
Andrew Tridgell
f3ad867ab5 s4-test: fixed quoting in deletetest.py 2010-11-04 20:35:44 +11:00
Jelmer Vernooij
fdcbc087c0 selftest/tests.py: Fix typos.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov  3 19:55:55 UTC 2010 on sn-devel-104
2010-11-03 19:55:55 +00:00
Andrew Bartlett
46e70a2100 s4-selftest Run RPC-PAC against all the DC environments.
This is important, as it will validate that the PAC handling is
correct with the different encryption types.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov  2 11:45:50 UTC 2010 on sn-devel-104
2010-11-02 11:45:50 +00:00
Matthieu Patou
917cc0db0c unit tests: use skip file to exclude smb2.dir instead of hack
Thanks metze for pointing this.

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Thu Oct 28 09:39:11 UTC 2010 on sn-devel-104
2010-10-28 09:39:11 +00:00
Kai Blin
b73a05e4e1 s4 net: rename to samba-tool in order to not clash with s3 net
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-28 07:25:16 +00:00
Matthieu Patou
b1f6a2be27 unit tests: move backend testing to the end
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Wed Oct 27 11:12:02 UTC 2010 on sn-devel-104
2010-10-27 11:12:02 +00:00
Matthieu Patou
04d63e973e unit tests: remove smb2.dir
Tridge says that it's a hard to fix pb and that it's not the priority
for 4.0.0
2010-10-27 14:29:45 +04:00
Jelmer Vernooij
7c36853313 selftest: Avoid check_call(), use call() instead. This should fix
Python2.4 compatibility.
2010-10-11 20:32:03 +00:00
Matthias Dieter Wallnöfer
584ac76a4f s4:ldap.py - split it up and move SAM related stuff to sam.py
ldap.py would still need some additional split-up but it's a start.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Oct  8 14:05:18 UTC 2010 on sn-devel-104
2010-10-08 14:05:17 +00:00
Kamen Mazdrashki
ee881c9d07 s4-test: Fix PYTHONPATH for samba4.schemaInfo.python(dc) test
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Wed Oct  6 02:54:56 UTC 2010 on sn-devel-104
2010-10-06 02:54:56 +00:00
Kamen Mazdrashki
9c27099715 s4-test: Fix PYTHONPATH for python.drs_ tests 2010-10-05 10:51:14 +00:00