summaryrefslogtreecommitdiff
path: root/source3/selftest
AgeCommit message (Collapse)AuthorFilesLines
2013-03-12vfs_catia: testcase - add missing piecesGuenter Kukkukk1-0/+1
Signed-off-by: Guenter Kukkukk <kukks@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@samba.org> Autobuild-User(master): Richard Sharpe <sharpe@samba.org> Autobuild-Date(master): Tue Mar 12 07:36:13 CET 2013 on sn-devel-104
2013-03-09Add testcase for idmap_rfc2307 moduleChristof Schmitt1-1/+5
Create a new test environment with 'idmap config DOMAIN : backend = rfc2307'. A new test script adds LDAP records and queries them again for the mapped uid and gid. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sat Mar 9 08:18:43 CET 2013 on sn-devel-104
2013-02-20s3:selftest: generate ${SELFTESTPREFIX}/subunit with the raw outputStefan Metzmacher1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Feb 20 01:33:50 CET 2013 on sn-devel-104
2013-01-09selftest: show that Samba honours "write list" and valid usersAndrew Bartlett1-0/+5
Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-12s3-selftest: make sure to test rpc.samr.passwords.validate over ncacn_ip_tcp.Günther Deschner1-1/+4
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-11-22build: Be consistent with the name of smbtorture binariesAndrew Bartlett1-2/+2
This ensures that in both build systems, smbtorture3 is the source3 binary, and smbtoture is our main smbtorture binary, built with waf. Also included in this is the removal of bin/ndrdump4 as a special case. This removes the last cases of binaries with different names in each build system. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
2012-10-31Add regression test for bug #9329 - Directory listing with SeBackup can ↵Jeremy Allison1-5/+5
crash smbd. Ensure we exercise the SeBackup code path on directory listings. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Oct 31 03:21:38 CET 2012 on sn-devel-104
2012-10-27source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij1-10/+4
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
2012-10-27source3.selftest: Move more variables to be in common.Jelmer Vernooij1-6/+1
2012-10-27source3.selftests.tests: Use common plansmbtorture4testsuite() function.Jelmer Vernooij1-56/+50
2012-10-27source3.selftest.tests: Add suffix for smbclient3/ntlm_auth3.Jelmer Vernooij1-23/+23
2012-10-27source3.selftest.tests: Remove tabs.Jelmer Vernooij1-18/+18
2012-10-27selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij1-4/+1
2012-10-27selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij1-1/+1
2012-10-27selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij1-8/+7
options.
2012-10-27selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij1-24/+18
2012-10-27selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij1-12/+6
2012-10-01Add samba3.samba3badnameblob test to check regressions in bug #9215.Jeremy Allison1-1/+1
Bad name in SMB1 openX can cause a crash in iconv inside glibc. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Oct 1 23:29:25 CEST 2012 on sn-devel-104
2012-09-26selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett1-3/+3
This avoids the loadparm code failing due to the invalid smb.conf entry, and removes the very last hint of security=share! Andrew Bartlett
2012-09-10s3: Run raw.oplockVolker Lendecke1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-08selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher1-0/+3
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-08-29s4-torture: Add start of a test to confirm winbindd PAC parsingAndrew Bartlett1-1/+3
So far this confirms that we can accept a ticket using the secrets.tdb entry. Andrew Bartlett
2012-08-28selftest: Add test of smbclient --machine-pass against and using both s3 and s4Andrew Bartlett1-0/+3
This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
2012-08-21selftest: Add tests for vfs_aio_forkAndrew Bartlett1-0/+4
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-17s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher1-2/+7
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-16s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett1-1/+1
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-16s3-selftest: convert xattr-tdb-1 vfstest driver into a subunit testAndrew Bartlett1-0/+2
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-16s3-selftest: convert stream_depot vfstest driver into a subunit testAndrew Bartlett1-0/+3
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-14s3-selftest: Add smbclient tarmode testSalvador I. Gonzalez1-1/+4
(With small changes to have test complete by Andrew Bartlett) Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-07-19selftest: Run unix.whomai against the machine acccount as wellAndrew Bartlett1-0/+2
This shows that the machine account got an extra SID in the token for domain users. Andrew Bartlett
2012-07-19s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett1-5/+7
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-06s3-selftest: Run lsa tests over np and tcpip.Andreas Schneider1-0/+5
2012-06-25s3:selftest: run SMB2-SESSION-RECONNECTStefan Metzmacher1-1/+1
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-25s3:selftest: run raw.sessionStefan Metzmacher1-2/+2
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-25s3:selftest: run rpc.samba3.smb-reauth1 and rpc.samba3.smb-reauth2Stefan Metzmacher1-0/+1
metze
2012-06-25s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher1-0/+1
metze
2012-06-25s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher1-0/+4
This activates the smb2.session.expire1 test, when krb5 is used. metze
2012-06-24selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett1-2/+5
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-20s4-torture: Expand whoami test to confirm the user token.Andrew Bartlett1-1/+1
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-05Tests for bug #8972 - run the POSIX tests against the posix_share.Jeremy Allison1-2/+8
2012-05-31s3:selftest: add a binary mapping for smbclient4Michael Adam1-2/+2
2012-05-31s3:selftest: add a binary mapping for nmblookup4Michael Adam1-2/+2
2012-05-31s3:selftest: improve strange linebreaks for blackbox tests in tests.py for ↵Michael Adam1-22/+31
readability
2012-05-31s3:selftest: introduce a variable for binpath('dbwrap_tool') in tests.pyMichael Adam1-2/+3
2012-05-31s3:selftest: introduce a variable for binpath('ntlm_auth3') in tests.pyMichael Adam1-4/+5
2012-05-31s3:selftest: introduce a variable for binpath('smbtorture3') in tests.pyMichael Adam1-4/+5
2012-05-31s3:selftest: introduce a variable for binpath('net') in tests.pyMichael Adam1-9/+10
2012-05-31s3:selftest: introduce a variable for binpath('wbinfo') in tests.pyMichael Adam1-5/+6
to remove explicit calls to binpath('wbinfo')
2012-05-31s3:selftest: introduce a variable for binpath('smbclient3') to test.pyMichael Adam1-15/+17
to remove manual calls to binpath("smbclient3")
2012-05-28s3:selftest: run rpc.samba3.smb[1|2]-pipe-nameStefan Metzmacher1-0/+1
metze