Andrew Bartlett
d1d36d2563
s4-selftest: Add tests for dbcheck on an old database that needs repair
...
We changed a lot since alpha13, so there are lots of legitimate errors to fix.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Sat Jun 16 05:44:15 CEST 2012 on sn-devel-104
2012-06-16 05:44:15 +02:00
Andrew Bartlett
29ff3ce568
s4-selftest: Test samba-tool drs replicate --local --full-sync
2012-06-11 11:44:07 +02:00
Michael Adam
769908540f
s4:selftest: change the blackbox.samba_tool_demote test to use a binary mapping for smbclient
2012-05-31 04:46:07 +02:00
Michael Adam
72fbbdb9b3
s4:selftest: change the blackbox.passwords test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
e7281b450a
s4:selftest: change the blackbox.pkinit test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
d86ae30bb8
s4:selftest: change the blackbox.kinit test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
104135faa9
s4:selftest: change the blackbox.export.keytab test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
00f5473de8
s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
df0cadbcc9
s4:selftest: change the blackbox.samba_tool test to use a binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
da82c07e13
s4:selftets: change the blackbox.bogusdomain test to use binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
11a2eeabaa
s4:selftest: change the blackbox.smbclient test to use binary mapping for smbclient
2012-05-31 04:46:06 +02:00
Michael Adam
fef5ce7f0f
s4:selftest: determine nmblookup via binary mapping for blackbox test in tests.py
2012-05-31 04:46:06 +02:00
Andrew Bartlett
c484f259c6
ldb: Detect failures in ldb.base again
...
We need to wrap the ldb tests in the subunit blackbox helpers.
We also needed to change to the right directory, or else the :< file://
syntax check does not work, as samba4.png is not found.
Andrew Bartlett
2012-04-10 16:57:06 +10:00
Jelmer Vernooij
acd63fdb86
wafsamba: Cope with slight differences in gdb output regarding incomplete sequences.
...
Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
2012-03-26 18:28:06 +02:00
Michael Adam
f4458a5cef
s4:selftest: add a new testsuite for the "samba-tool group" command
2012-03-18 23:41:40 +01:00
Andrew Bartlett
79753ec02c
selftest: add more tests for different authentication codepaths
2012-03-08 10:14:05 +01:00
Jelmer Vernooij
f033c221f8
policy/python: Move python binding tests to standard location.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06 02:26:29 +01:00
Jelmer Vernooij
aaffd996ab
selftest/tests.py: Fix name of selftest.py for benefit of --load-list.
2012-03-06 00:48:14 +01:00
Andrew Bartlett
ebe8aa9cc1
selftest: start to run more dcerpc tests against plugin_s4_dc
2012-03-05 08:15:05 +01:00
Jelmer Vernooij
570dbf2ee0
Run selftest.py tests.
2012-03-04 18:02:07 +01:00
Andrew Bartlett
95976d4ec2
selftest: Rework samba4.blackbox.bogusdomain to use a temporary user
...
This avoids leaving an account in the test environment after the test is run
and therefore avoids issues with interations with other tests.
Also, we now use the local administrator account in the member server to
add the test account.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Mar 2 14:44:36 CET 2012 on sn-devel-104
2012-03-02 14:44:36 +01:00
Andrew Bartlett
7cc19afb1f
selftest: add more tests for plugin_s4_dc
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
2012-02-29 12:14:05 +01:00
Andrew Bartlett
8e8fde51b4
selftest: Do not run chgdcpass test on the main DC
...
If winbindd has it's password changed from under it, it becomes
grumpy.
Andrew Bartlett
2012-02-29 10:41:07 +01:00
Andrew Bartlett
3b3066fcaf
selftest: plugin_s4_dc can now handle kerberos properly
2012-02-27 07:36:05 +01:00
Andrew Bartlett
7e0e713406
selftest: Remove 'if have_ads_support:' from tests.py
...
The selftest system now skips launching these if the environment is not available.
Andrew Bartlett
2012-02-16 15:21:11 +11:00
Andrew Bartlett
8ea068d702
selftest: Run nsstest against more environments
2012-02-16 15:21:10 +11:00
Jelmer Vernooij
c3a9d1eb15
waf: Add initial unit test for samba_utils.
2012-02-12 18:44:09 +01:00
Matthieu Patou
7350d99409
s3: check that a user in a bogus domain name is mapped to the localnetbios name of a domain member
...
This means that if we authentify for BOGUS\administrator in AD domain
FOREST with samba being domain member with the netbiosname MEMBER then
BOGUS\administrator will be mapped to MEMBER\administrator if the
password match.
2012-01-30 08:23:11 -08:00
Andrew Bartlett
8a4b5cdfea
s4-selftest: Add test of RPC to a netbios alias
...
This tries to ensure our netbios lookup code is still run.
Andrew Bartlett
2011-12-13 23:42:05 +01:00
Andrew Bartlett
abed96535e
s4-selftest Give local.resolve a real name to look up
2011-12-13 23:42:05 +01:00
Jelmer Vernooij
a47970cae6
Add tests for srvsvc python interface. Thanks Dhananjay Sathe
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
2011-12-08 04:57:52 +01:00
Jelmer Vernooij
8878949ff5
selftest: Some extra assertions.
2011-12-08 03:24:27 +01:00
Andrew Bartlett
2da506ee66
s4-selftest re-enable nsstest on libnss_winbind.so
2011-12-07 03:09:08 +01:00
Matthieu Patou
105d388c9b
s4: add blackbox test for the demote function
2011-12-05 18:23:07 +01:00
Jelmer Vernooij
7c1a884396
s4-tests: Use long option names in test list script, to prevent 'eating' --list argument when e.g. is not set.
2011-11-30 22:58:04 +01:00
Jelmer Vernooij
64cfb79cd5
s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.
2011-11-30 22:58:04 +01:00
Matthias Dieter Wallnöfer
6b63d7e618
s4:selftest/test_samba_tool.sh - add a basic unit test for the new "domain info" command
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-11-27 12:51:57 +01:00
Kai Blin
e5ebda4156
s4 dns: Add a first test case
2011-11-17 15:25:58 +01:00
Jelmer Vernooij
5cf31eb592
s4-tests: Use plansmbtorturesuite where possible.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
faa4eb5d1a
s4-tests: Remove unnecessary py suffix.
2011-11-14 15:49:37 +01:00
Jelmer Vernooij
6321d5bf97
s4-tests: Allow listing tests run for iconv.
2011-11-14 15:49:36 +01:00
Stefan Metzmacher
17c529a35f
s4:selftest: samba4.urgent_replication.python needs to run as "dc:local"
...
As it uses local files on the dc.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Nov 14 15:48:33 CET 2011 on sn-devel-104
2011-11-14 15:48:33 +01:00
Jelmer Vernooij
b24dd2ca1c
selftesthelper: Fix argument order.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0a31d3212
selftest: Make planoldpythontestsuite arguments consistent with planpythontestsuite.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
0fcec8bfa0
selftest: Simplify calling of python tests.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
8ea8683f72
selftest: Allow passing arbitrary number of additional python path values.
2011-11-10 23:37:04 +01:00
Jelmer Vernooij
a0ed2da105
ldb: Re-apply pyldb fixes from Tridge and Amity, using unittest rather
...
than samba.tests.
2011-11-10 23:37:04 +01:00
Andrew Tridgell
39356761e5
test: use planpythontestsuite() for ldb.python test
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
e118d91a63
test: enable time and user samba-tool tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Matthieu Patou
37703892bd
s4-selftest: add unit tests for sites's function in python
2011-11-02 13:37:18 +01:00