summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
* selftest:Samba3: provision the BUILTIN\Users group if the environment runs ↵Michael Adam2012-12-031-0/+24
| | | | | | | | | | winbindd Note that in order to create a local group (alias), the id-allocator of id-mapping is needed, so this can only work if winbindd is running. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest:Samba3: add "wbinfo -p" test to wait_for_start()Michael Adam2012-12-031-1/+18
| | | | | Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest:Samba3: add nmbd, winbindd smbd arguments to wait_for_start()Michael Adam2012-12-031-28/+33
| | | | | | | to make checks conditional Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest:Samba3: call wait_for_start() from check_or_start()Michael Adam2012-12-031-22/+9
| | | | | | | ...instead of calling the two one after another each time. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* selftest:Samba3: provision the domain adminstrators group in the s3 environmentsMichael Adam2012-12-031-1/+7
| | | | | | | | | | I discovered that this sid / mapping is missing by working with the Sids2Uids code and test. I do even wonder why this test could succeed prior to my pending changes to the winbindd sids-to-xids code, for example against the s3:local environment, since the test tries to map the sid <domsid>-512. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4:dsdb/acl_read: enable acl checking on search by default (bug #8620)Stefan Metzmacher2012-11-302-11/+0
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* selftest: configure printer with default devmode = noDavid Disseldorp2012-11-291-0/+1
| | | | | | This allows us to reproduce the segfault described in bug 9433. Reviewed-by: Andreas Schneider <asn@samba.org>
* build: Use ntlm_auth from source3 as the only ntlm_auth installed on the systemAndrew Bartlett2012-11-221-1/+1
| | | | | | | | | | The ntlm_auth4 binary is untested, and is missing major features compared with the source3 binary. The two are being slowly merged, but I have not finished that. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org>
* Revert "selftest/skip: add samba.tests.samba_tool.gpo until it's stable"Andrew Bartlett2012-11-131-1/+0
| | | | | | | | | | | | | | | | This reverts commit 47bbf9886f0cebf994435a32bafa07e36cce191b. This test appears to be stable now, but the changes in the previous commit should allow the real error to be found if it comes back. As requested by metze. Andrew Bartlett Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Nov 13 01:45:04 CET 2012 on sn-devel-104
* selftest/skip: add samba.tests.samba_tool.gpo until it's stableStefan Metzmacher2012-11-061-0/+1
| | | | | | | | | | | | | See: https://git.samba.org/autobuild.flakey/2012-11-06-0314/samba.stdout https://git.samba.org/autobuild.flakey/2012-11-06-0514/samba.stdout https://git.samba.org/autobuild.flakey/2012-11-06-0713/samba.stdout Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Nov 6 14:24:08 CET 2012 on sn-devel-104
* selftest: check that samba-tool gpo works for basic operationsAndrew Bartlett2012-11-061-1/+1
| | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* selftest: Add skip for DIR1 test which loops on 64 bit ext4Andrew Bartlett2012-11-051-0/+1
| | | | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Nov 5 00:34:56 CET 2012 on sn-devel-104
* source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij2012-10-271-0/+5
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 19:08:42 CEST 2012 on sn-devel-104
* source3.selftest: Move more variables to be in common.Jelmer Vernooij2012-10-271-0/+10
|
* selftesthelpers: Fix detection of tap2subunit.Jelmer Vernooij2012-10-271-2/+8
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
* selftest: Add --random-order option.Jelmer Vernooij2012-10-272-1/+13
|
* selftesthelpers: Simplify detection of tap2subunit.Jelmer Vernooij2012-10-271-4/+6
|
* selftesthelpers: Add function for printing smbtorture4 version.Jelmer Vernooij2012-10-271-1/+11
|
* selftest: Move determining of smbtorture4 options to selftesthelpers.Jelmer Vernooij2012-10-271-12/+18
|
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-271-0/+11
| | | | options.
* selftest/selftesthelpers.py: Share configuration variable, strip whitespace.Jelmer Vernooij2012-10-271-0/+2
|
* selftesthelpers: Share code for listing smbtorture4 tests.Jelmer Vernooij2012-10-271-0/+13
|
* tests: Convert find_missing_doc into a unit test.Jelmer Vernooij2012-10-191-0/+1
|
* selftest/knownfail: add samba3.rpc.lsa.privileges.lsa.PrivilegesStefan Metzmacher2012-10-161-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This failed more than 20 times in the last few weeks, e.g. https://git.samba.org/autobuild.flakey/2012-10-16-0629/samba3.stdout https://git.samba.org/autobuild.flakey/2012-10-16-0829/samba3.stdout [530/717 in 14m32s] samba3.rpc.lsa.privileges(s3dc) Using seed 1350368974 Testing OpenPolicy Testing OpenPolicy2 Testing CreateAccount Testing Delete Testing DeleteObject Testing EnumAccounts Testing LookupSids Testing LookupNames with 7 names LookupName of sharesec_user was unmapped LookupName of Everyone failed to return a result UNEXPECTED(failure): samba3.rpc.lsa.privileges.lsa.Privileges(s3dc) REASON: _StringException: _StringException: ../source4/torture/rpc/lsa.c:319: r.out.result was STATUS_SOME_UNMAPPED, expected NT_STATUS_OK: LookupNames failed FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Oct 16 10:43:02 CEST 2012 on sn-devel-104
* selftest: Move more tests to common list script.Jelmer Vernooij2012-10-122-0/+32
| | | | | Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
* selftest: Move some tests to common test script.Jelmer Vernooij2012-10-111-0/+2
|
* selftests.tests: Remove reference to Samba 4.Jelmer Vernooij2012-10-111-4/+4
|
* Ensure the masks don't conflict with the ACL checks.Jeremy Allison2012-10-052-2/+4
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Oct 5 00:36:40 CEST 2012 on sn-devel-104
* selftest: Always build a linux-style nss_winbind for nss_wrapperAndrew Bartlett2012-10-033-5/+11
|
* selftest: use an array when starting testenv with system()Andrew Bartlett2012-09-301-3/+11
| | | | | | | | | | By reduing the need for escapes and forcing the use of bash, this seems to allow 'make testenv' to start on FreeBSD Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Sun Sep 30 02:30:40 CEST 2012 on sn-devel-104
* samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij2012-09-272-1/+25
| | | | | | | | We would like to run this as early as possible so we get a quick failure when there is trailing whitespace. Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Thu Sep 27 20:26:27 CEST 2012 on sn-devel-104
* selftest/knownfail: samba*.smb2.oplock.stream1 doesn't workStefan Metzmacher2012-09-261-0/+2
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 26 07:57:12 CEST 2012 on sn-devel-104
* samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett2012-09-261-4/+7
| | | | | | | | | | This avoids unlocked writes to the dns_hosts_file, and may fix some of our issues on the build farm where large numbers of tests fail due to failed name resolution. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Sep 26 05:48:25 CEST 2012 on sn-devel-104
* selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett2012-09-261-7/+6
| | | | | | | This avoids the loadparm code failing due to the invalid smb.conf entry, and removes the very last hint of security=share! Andrew Bartlett
* We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with ↵Jeremy Allison2012-09-251-3/+0
| | | | | | | the max access change. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 25 04:57:44 CEST 2012 on sn-devel-104
* selftest: skip the samba4.smb2.compound testsuiteMichael Adam2012-09-221-0/+1
| | | | | | | Too many tests are starting but never finish. Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Sat Sep 22 20:50:06 CEST 2012 on sn-devel-104
* selftest: we fail samba3.smb2.compound.interim2Michael Adam2012-09-221-0/+1
| | | | | We currently return NT_STATUS_CANCELLED where we should return NT_STATUS_INTERNAL_ERROR.
* selftest: we currently fail smb2.durable-v2-open.app-instanceMichael Adam2012-09-191-0/+1
| | | | | Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 19 23:05:43 CEST 2012 on sn-devel-104
* selftest: let provision_plugin_s4_dc use SMB3Stefan Metzmacher2012-09-121-1/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Sep 12 18:30:48 CEST 2012 on sn-devel-104
* lib/param: change the default for 'allow dns updates' to 'secure only'Stefan Metzmacher2012-09-121-3/+2
| | | | metze
* selftest:Samba4: don't provision with BIND9_DLZStefan Metzmacher2012-09-121-21/+34
| | | | metze
* s4 dns: Run python tests in fl2003dc envKai Blin2012-09-121-2/+2
|
* selftest: we fail the smb2.durable-open.delete_on_close2 testMichael Adam2012-09-111-0/+1
| | | | | | | (we currently do not grant durable on reconnect when delete-on-close is set) Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 11 16:22:20 CEST 2012 on sn-devel-104
* selftest: pass smb2.durable-open.delete_on_close1Michael Adam2012-09-111-1/+0
|
* selftest: smb2.durable-open.delete_on_close1 is not flapping any moreMichael Adam2012-09-111-1/+0
| | | | | The entry into flapping was not effective anyways since, the test was also listed in knownfail...
* selftest/Samba4: make use of samba-tool domain provisionStefan Metzmacher2012-09-111-1/+3
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
* samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).Jeremy Allison2012-09-111-0/+1
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 11 02:30:55 CEST 2012 on sn-devel-104
* selftest/knownfail: we pass some samba3.smb2.durable-* tests nowStefan Metzmacher2012-09-083-14/+11
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 23:18:39 CEST 2012 on sn-devel-104
* selftest/Samba3: don't explicitly set 'server max protocol'Stefan Metzmacher2012-09-081-1/+0
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 8 05:15:00 CEST 2012 on sn-devel-104
* selftest/knownfail: samba3.smb2.durable-open.alloc-size fails currentlyStefan Metzmacher2012-09-071-0/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 7 10:47:29 CEST 2012 on sn-devel-104