1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

744 Commits

Author SHA1 Message Date
Michael Adam
46f2dfa7a5 selftest:Samba3: provision the BUILTIN\Users group if the environment runs 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>
2012-12-03 08:48:25 +01:00
Michael Adam
11ca063386 selftest:Samba3: add "wbinfo -p" test to wait_for_start()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03 08:48:24 +01:00
Michael Adam
5b975ce78c selftest:Samba3: add nmbd, winbindd smbd arguments to wait_for_start()
to make checks conditional

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-12-03 08:48:24 +01:00
Michael Adam
f7dca55224 selftest:Samba3: call wait_for_start() from check_or_start()
...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>
2012-12-03 08:48:24 +01:00
Michael Adam
ee17a516c8 selftest:Samba3: provision the domain adminstrators group in the s3 environments
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>
2012-12-03 08:48:23 +01:00
Stefan Metzmacher
990448b499 s4:dsdb/acl_read: enable acl checking on search by default (bug #8620)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
2012-11-30 17:17:20 +01:00
David Disseldorp
27d23dd3a9 selftest: configure printer with default devmode = no
This allows us to reproduce the segfault described in bug 9433.

Reviewed-by: Andreas Schneider <asn@samba.org>
2012-11-29 13:39:30 +01:00
Andrew Bartlett
1000da9335 build: Use ntlm_auth from source3 as the only ntlm_auth installed on the system
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>
2012-11-22 10:21:16 +01:00
Andrew Bartlett
c5f53ed580 Revert "selftest/skip: add samba.tests.samba_tool.gpo until it's stable"
This reverts commit 47bbf9886f.

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
2012-11-13 01:45:04 +01:00
Stefan Metzmacher
47bbf9886f selftest/skip: add samba.tests.samba_tool.gpo until it's stable
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
2012-11-06 14:24:08 +01:00
Andrew Bartlett
0b7bb774ce selftest: check that samba-tool gpo works for basic operations
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-11-06 08:27:44 +11:00
Andrew Bartlett
c452efe977 selftest: Add skip for DIR1 test which loops on 64 bit ext4
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
2012-11-05 00:34:56 +01:00
Jelmer Vernooij
a7b8d0260a source3.selftest: Move last variables to selftesthelpers.
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-27 19:08:41 +02:00
Jelmer Vernooij
66980989e5 source3.selftest: Move more variables to be in common. 2012-10-27 07:01:10 -08:00
Jelmer Vernooij
1326992358 selftesthelpers: Fix detection of tap2subunit.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Sat Oct 27 16:57:49 CEST 2012 on sn-devel-104
2012-10-27 16:57:49 +02:00
Jelmer Vernooij
67dd28f360 selftest: Add --random-order option. 2012-10-27 05:16:19 -08:00
Jelmer Vernooij
05dc5a39a6 selftesthelpers: Simplify detection of tap2subunit. 2012-10-27 05:16:19 -08:00
Jelmer Vernooij
58345820c0 selftesthelpers: Add function for printing smbtorture4 version. 2012-10-27 05:16:18 -08:00
Jelmer Vernooij
8237e2727d selftest: Move determining of smbtorture4 options to selftesthelpers. 2012-10-27 05:16:18 -08:00
Jelmer Vernooij
fcb7926ce5 selftest/selftesthelpers: Share environment handling for extra smbtorture options. 2012-10-27 05:16:18 -08:00
Jelmer Vernooij
6bcb25673b selftest/selftesthelpers.py: Share configuration variable, strip whitespace. 2012-10-27 05:16:18 -08:00
Jelmer Vernooij
4c4d3c86f0 selftesthelpers: Share code for listing smbtorture4 tests. 2012-10-27 05:16:18 -08:00
Jelmer Vernooij
d2f8fe855d tests: Convert find_missing_doc into a unit test. 2012-10-19 09:10:13 +02:00
Stefan Metzmacher
1861213d14 selftest/knownfail: add samba3.rpc.lsa.privileges.lsa.Privileges
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
2012-10-16 10:43:02 +02:00
Jelmer Vernooij
ff82afb1f8 selftest: Move more tests to common list script.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 12 02:06:42 CEST 2012 on sn-devel-104
2012-10-12 02:06:41 +02:00
Jelmer Vernooij
1aa291c331 selftest: Move some tests to common test script. 2012-10-11 18:50:40 +02:00
Jelmer Vernooij
1080b6c2ca selftests.tests: Remove reference to Samba 4. 2012-10-11 18:50:40 +02:00
Jeremy Allison
78594909b8 Ensure the masks don't conflict with the ACL checks.
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct  5 00:36:40 CEST 2012 on sn-devel-104
2012-10-05 00:36:40 +02:00
Andrew Bartlett
0e037bfc60 selftest: Always build a linux-style nss_winbind for nss_wrapper 2012-10-03 14:25:57 +02:00
Andrew Bartlett
7d0a9f5a06 selftest: use an array when starting testenv with system()
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
2012-09-30 02:30:39 +02:00
Jelmer Vernooij
b7822a55c4 samba4-tests: Move 'samba.tests.source' up.
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
2012-09-27 20:26:27 +02:00
Stefan Metzmacher
98d117a542 selftest/knownfail: samba*.smb2.oplock.stream1 doesn't work
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 26 07:57:12 CEST 2012 on sn-devel-104
2012-09-26 07:57:12 +02:00
Andrew Bartlett
3c4d0ce469 samba_dnsupdate: Safely update/create names for Samba3 targets as well
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
2012-09-26 05:48:25 +02:00
Andrew Bartlett
b320e7f93b selftest: Remove invalid security=share and rename secshare to simpleserver
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-26 04:08:26 +02:00
Jeremy Allison
322654d792 We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with 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
2012-09-25 04:57:44 +02:00
Michael Adam
162fbf4adb selftest: skip the samba4.smb2.compound testsuite
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
2012-09-22 20:50:06 +02:00
Michael Adam
841934647b selftest: we fail samba3.smb2.compound.interim2
We currently return NT_STATUS_CANCELLED where we should
return NT_STATUS_INTERNAL_ERROR.
2012-09-22 10:19:02 +02:00
Michael Adam
f43498b759 selftest: we currently fail smb2.durable-v2-open.app-instance
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 19 23:05:43 CEST 2012 on sn-devel-104
2012-09-19 23:05:43 +02:00
Stefan Metzmacher
a11e45f1c5 selftest: let provision_plugin_s4_dc use SMB3
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Sep 12 18:30:48 CEST 2012 on sn-devel-104
2012-09-12 18:30:48 +02:00
Stefan Metzmacher
1b848ecbff lib/param: change the default for 'allow dns updates' to 'secure only'
metze
2012-09-12 16:51:29 +02:00
Stefan Metzmacher
1e00c0dcec selftest:Samba4: don't provision with BIND9_DLZ
metze
2012-09-12 16:51:29 +02:00
Kai Blin
76801b502d s4 dns: Run python tests in fl2003dc env 2012-09-12 16:51:29 +02:00
Michael Adam
69c2e18865 selftest: we fail the smb2.durable-open.delete_on_close2 test
(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
2012-09-11 16:22:19 +02:00
Michael Adam
675871f7a7 selftest: pass smb2.durable-open.delete_on_close1 2012-09-11 14:29:54 +02:00
Michael Adam
f244b29949 selftest: smb2.durable-open.delete_on_close1 is not flapping any more
The entry into flapping was not effective anyways since, the test
was also listed in knownfail...
2012-09-11 14:29:54 +02:00
Stefan Metzmacher
5b4a7aea17 selftest/Samba4: make use of samba-tool domain provision
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Tue Sep 11 10:15:23 CEST 2012 on sn-devel-104
2012-09-11 10:15:23 +02:00
Jeremy Allison
6a1fa3e0a7 samba3.smb2.durable-open.delete_on_close1 is now flapping (sometimes passes).
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Sep 11 02:30:55 CEST 2012 on sn-devel-104
2012-09-11 02:30:53 +02:00
Stefan Metzmacher
7a51c5e469 selftest/knownfail: we pass some samba3.smb2.durable-* tests now
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-09-08 23:18:39 +02:00
Stefan Metzmacher
3fef8e207c selftest/Samba3: don't explicitly set 'server max protocol'
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Sat Sep  8 05:15:00 CEST 2012 on sn-devel-104
2012-09-08 05:15:00 +02:00
Stefan Metzmacher
51a3845190 selftest/knownfail: samba3.smb2.durable-open.alloc-size fails currently
metze

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Sep  7 10:47:29 CEST 2012 on sn-devel-104
2012-09-07 10:47:29 +02:00