summaryrefslogtreecommitdiff
path: root/source4/selftest
Commit message (Collapse)AuthorAgeFilesLines
* selftest: Add a test for smbclient --machine-pass without secrets.tdbAndrew Bartlett2012-08-291-1/+1
| | | | | | | Errors in handling the upgrade case without a matching secrets.tdb caused segfaults in the server. This essentially tests both sides. Andrew Bartlett
* selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett2012-08-281-0/+3
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* s4-selftest: Add testing of samba-tool ntacl sysvolresetAndrew Bartlett2012-08-231-0/+1
|
* selftest: Add a test of the NT ACL -> posix ACL mapping layer to selftestAndrew Bartlett2012-08-231-0/+1
|
* s3-libsmb: Add a simple test for python bindingsVolker Lendecke2012-08-161-0/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 22:49:06 CEST 2012 on sn-devel-104
* selftest: Rename samba4.blackbox.pdbtest to samba.blackbox.pdbtestAndrew Bartlett2012-08-081-1/+1
| | | | | | | | | This test covers s3dc as well. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 8 09:57:14 CEST 2012 on sn-devel-104
* s4-selftest: do a dbcheck on our two vampire DCsAndrew Bartlett2012-07-061-1/+1
| | | | | | | | | | | However, due to using --domain-critical-only we have to knownfail the vampire DC here, as we do not fill in the backlinks on non-critical objects correctly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 6 16:54:10 CEST 2012 on sn-devel-104
* s4-selftest: Don't run lsarpc requiring a named pipe over tcpip.Andreas Schneider2012-07-061-1/+1
|
* s4-selftest: Don't plan lsa.secrets tests over tcpip.Andreas Schneider2012-07-061-4/+4
| | | | These will only work over a named pipe or ncalrpc.
* s4-selftest: Test samba-tool domain dcpromoAndrew Bartlett2012-07-061-1/+2
| | | | | | | This needs a new environment to test it properly. This requires a raise in the number of socket wrapper interfaces. Andrew Bartlett
* selftest: run pdbtest against s3dc as wellAndrew Bartlett2012-06-281-1/+1
| | | | | | | | | | | | This validates the password expiry, account disable in the s3 auth code and the save/restore of values in tdbsam. It also provides the first test of some net sam set subcommands. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Jun 28 20:39:38 CEST 2012 on sn-devel-104
* selftest: use a loop rather than declare tests for both dc and s3dcAndrew Bartlett2012-06-281-16/+16
|
* s4-selftest: expand passdb testingAndrew Bartlett2012-06-271-0/+1
| | | | This tests pdb_samba4 in the first instance
* s4-selftest: Add tests for dbcheck on an old database that needs repairAndrew Bartlett2012-06-161-0/+2
| | | | | | | | | 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
* selftest: Add targetdir and tdbrestore parameters to undump.shAndrew Bartlett2012-06-161-5/+22
|
* s4-selftest: Test samba-tool drs replicate --local --full-syncAndrew Bartlett2012-06-111-1/+1
|
* s4:selftest: change the blackbox.samba_tool_demote test to use a binary ↵Michael Adam2012-05-311-1/+1
| | | | mapping for smbclient
* s4:selftest: change the blackbox.passwords test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.pkinit test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.kinit test to use a binary mapping for ↵Michael Adam2012-05-311-3/+3
| | | | smbclient
* s4:selftest: change the blackbox.export.keytab test to use a binary mapping ↵Michael Adam2012-05-311-1/+1
| | | | for smbclient
* s4:selftest: change the blackbox.chgdcpass test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.samba_tool test to use a binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftets: change the blackbox.bogusdomain test to use binary mapping for ↵Michael Adam2012-05-311-1/+1
| | | | smbclient
* s4:selftest: change the blackbox.smbclient test to use binary mapping for ↵Michael Adam2012-05-311-1/+2
| | | | smbclient
* s4:selftest: determine nmblookup via binary mapping for blackbox test in ↵Michael Adam2012-05-311-1/+3
| | | | tests.py
* ldb: Detect failures in ldb.base againAndrew Bartlett2012-04-101-2/+1
| | | | | | | | | 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
* wafsamba: Cope with slight differences in gdb output regarding incomplete ↵Jelmer Vernooij2012-03-261-1/+1
| | | | | | sequences. Bug: https://bugzilla.samba.org/show_bug.cgi?id=8820
* s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam2012-03-181-0/+1
|
* selftest: add more tests for different authentication codepathsAndrew Bartlett2012-03-081-0/+1
|
* policy/python: Move python binding tests to standard location.Jelmer Vernooij2012-03-061-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
* selftest/tests.py: Fix name of selftest.py for benefit of --load-list.Jelmer Vernooij2012-03-061-1/+1
|
* selftest: start to run more dcerpc tests against plugin_s4_dcAndrew Bartlett2012-03-051-1/+2
|
* Run selftest.py tests.Jelmer Vernooij2012-03-041-0/+1
|
* selftest: Rework samba4.blackbox.bogusdomain to use a temporary userAndrew Bartlett2012-03-021-1/+1
| | | | | | | | | | | | | 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
* selftest: add more tests for plugin_s4_dcAndrew Bartlett2012-02-291-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Feb 29 12:14:05 CET 2012 on sn-devel-104
* selftest: Do not run chgdcpass test on the main DCAndrew Bartlett2012-02-291-1/+1
| | | | | | | If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
* selftest: plugin_s4_dc can now handle kerberos properlyAndrew Bartlett2012-02-271-1/+1
|
* selftest: Remove 'if have_ads_support:' from tests.pyAndrew Bartlett2012-02-161-18/+9
| | | | | | The selftest system now skips launching these if the environment is not available. Andrew Bartlett
* selftest: Run nsstest against more environmentsAndrew Bartlett2012-02-161-4/+5
|
* waf: Add initial unit test for samba_utils.Jelmer Vernooij2012-02-121-0/+1
|
* s3: check that a user in a bogus domain name is mapped to the localnetbios ↵Matthieu Patou2012-01-301-0/+1
| | | | | | | | | 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.
* s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett2011-12-131-0/+1
| | | | | | This tries to ensure our netbios lookup code is still run. Andrew Bartlett
* s4-selftest Give local.resolve a real name to look upAndrew Bartlett2011-12-131-1/+2
|
* Add tests for srvsvc python interface. Thanks Dhananjay SatheJelmer Vernooij2011-12-081-0/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 8 04:57:52 CET 2011 on sn-devel-104
* selftest: Some extra assertions.Jelmer Vernooij2011-12-081-0/+4
|
* s4-selftest re-enable nsstest on libnss_winbind.soAndrew Bartlett2011-12-071-1/+1
|
* s4: add blackbox test for the demote functionMatthieu Patou2011-12-051-0/+2
|
* s4-tests: Use long option names in test list script, to prevent 'eating' ↵Jelmer Vernooij2011-11-301-38/+38
| | | | --list argument when e.g. is not set.
* s4-testlist: Write diagnostic info to stderr, and purely test info to stdout.Jelmer Vernooij2011-11-301-2/+2
|