summaryrefslogtreecommitdiff
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
* selftest: skip the samba4.rpc.samr.passwords test in ncacn_np(dc) and ↵Michael Adam2012-12-111-0/+2
| | | | | | | | | | | | s4member environments These currently fail in a corner case. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Karolin Seeger <kseeger@samba.org> The last 9 patches address bug #9414 - 'samba-tool user add' ignores password complexity settings.
* 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> (cherry picked from commit 46f2dfa7a51487e1b21c329dfb2e4cac3e6ada11)
* 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> (cherry picked from commit 11ca06338670c3aa1ad6928232f2c582116f42e8)
* 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> (cherry picked from commit 5b975ce78cc77bd9ff39e2ec0c2e7d674bf61ebe)
* 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> (cherry picked from commit f7dca55224af2cb2ac172831755246f5c9b04e0f)
* 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> (cherry picked from commit ee17a516c82acbdf347c2a47e7003b6a7fb879de)
* s4:dsdb/acl_read: enable acl checking on search by default (bug #8620)Stefan Metzmacher2012-12-032-11/+0
| | | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> (cherry picked from commit 990448b4997d1a2423e5dd4da1e37ad51f99bf3a) The last 22 patches address bug #8620 - Read ACL are not enabled by default on DS.
* selftest: check that samba-tool gpo works for basic operationsAndrew Bartlett2012-12-031-1/+1
| | | | | | Reviewed-by: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 0b7bb774ce836722d219d6e466a76b12c1a03de3)
* selftest/knownfail: add samba3.rpc.lsa.privileges.lsa.PrivilegesStefan Metzmacher2012-12-031-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 (cherry picked from commit 1861213d147e0d96fd637813c5badb4908ec14d1)
* selftest: use an array when starting testenv with system()Andrew Bartlett2012-12-031-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
* build: Use ntlm_auth from source3 as the only ntlm_auth installed on the systemAndrew Bartlett2012-11-261-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> (cherry-picked from 1000da933534f1148f5b6f9db2029a5074917968)
* selftest: Always build a linux-style nss_winbind for nss_wrapperAndrew Bartlett2012-11-023-5/+11
|
* source3.selftest: Move last variables to selftesthelpers.Jelmer Vernooij2012-10-291-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 (cherry picked from commit a7b8d0260a55959c72614251db880fed04a48316) The last 62 patches address bug #9274 - backport documentation changes.
* source3.selftest: Move more variables to be in common. (cherry picked from ↵Jelmer Vernooij2012-10-291-0/+10
| | | | commit 66980989e5b28490cd7b04b576cf39d26f183b90)
* selftesthelpers: Fix detection of tap2subunit.Jelmer Vernooij2012-10-291-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 (cherry picked from commit 13269923585888912e2433c15c0ca010a9897595)
* selftest: Add --random-order option. (cherry picked from commit ↵Jelmer Vernooij2012-10-292-1/+13
| | | | 67dd28f3605db4cbdc5feacc1121ec3d7dd075a6)
* selftesthelpers: Simplify detection of tap2subunit. (cherry picked from ↵Jelmer Vernooij2012-10-291-4/+6
| | | | commit 05dc5a39a6ad4b1ffafc904faea3e8e40f6f5cde)
* selftesthelpers: Add function for printing smbtorture4 version. (cherry ↵Jelmer Vernooij2012-10-291-1/+11
| | | | picked from commit 58345820c078f79fe7f67b8e6f947691f7237641)
* selftest: Move determining of smbtorture4 options to selftesthelpers. ↵Jelmer Vernooij2012-10-291-12/+18
| | | | (cherry picked from commit 8237e2727da0d04b82cb3cf644dd337a4c77fe34)
* selftest/selftesthelpers: Share environment handling for extra smbtorture ↵Jelmer Vernooij2012-10-291-0/+11
| | | | options. (cherry picked from commit fcb7926ce544a8d4b0e5aa6577fe21712b38bb53)
* selftest/selftesthelpers.py: Share configuration variable, strip whitespace. ↵Jelmer Vernooij2012-10-291-0/+2
| | | | (cherry picked from commit 6bcb25673bdc249f5a49ded912d90bc84b13809d)
* selftesthelpers: Share code for listing smbtorture4 tests. (cherry picked ↵Jelmer Vernooij2012-10-291-0/+13
| | | | from commit 4c4d3c86f0430d38f78d16dcb5d365b577ef4227)
* tests: Convert find_missing_doc into a unit test. (cherry picked from commit ↵Jelmer Vernooij2012-10-291-0/+1
| | | | d2f8fe855d0705faf216714cf147038563c0ba7e)
* selftest: Move more tests to common list script.Jelmer Vernooij2012-10-292-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 (cherry picked from commit ff82afb1f8ad3cf950277487aff05d442d03c969)
* selftest: Move some tests to common test script. (cherry picked from commit ↵Jelmer Vernooij2012-10-291-0/+2
| | | | 1aa291c331c29c2f5ee4572b660c4c2061755856)
* selftests.tests: Remove reference to Samba 4. (cherry picked from commit ↵Jelmer Vernooij2012-10-291-4/+4
| | | | 1080b6c2caf1191fd896f3caf38e576a00b01982)
* samba4-tests: Move 'samba.tests.source' up.Jelmer Vernooij2012-10-292-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 (cherry picked from commit b7822a55c40c5c42356b263c3d7bc1998fb1a7d3)
* Ensure the masks don't conflict with the ACL checks.Jeremy Allison2012-10-292-2/+4
| | | | | The last 8 patches address bug #9190 - Regression (change in behavior) of default acl masks.
* samba_dnsupdate: Safely update/create names for Samba3 targets as wellAndrew Bartlett2012-10-101-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 (cherry picked from commit 3c4d0ce46995f82921f538757783fa7a678a7fc1)
* selftest: Remove invalid security=share and rename secshare to simpleserverAndrew Bartlett2012-10-101-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 (cherry picked from commit b320e7f93b5905558efa879992c125af66f0043c)
* selftest/knownfail: samba*.smb2.oplock.stream1 doesn't workStefan Metzmacher2012-10-021-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 (cherry picked from commit 98d117a5424d62804b7cb3d8a9ad35e703fc158a)
* selftest: skip the samba4.smb2.compound testsuiteMichael Adam2012-09-281-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 (cherry picked from commit 162fbf4adbd78af0ca62e01da30e9c8bf86d3b4d) Signed-off-by: Stefan Metzmacher <metze@samba.org> The last 21 patches address bug #9173 - SMB2 compound request create/delete_on_close/close doesn't work as windows.
* selftest: we fail samba3.smb2.compound.interim2Michael Adam2012-09-281-0/+1
| | | | | | | | We currently return NT_STATUS_CANCELLED where we should return NT_STATUS_INTERNAL_ERROR. (cherry picked from commit 841934647b06d6400148932cc8ce02a20c209610) Signed-off-by: Stefan Metzmacher <metze@samba.org>
* We now pass "samba3.raw.acls.generic" and "samba3.smb2.acls.GENERIC" with ↵Jeremy Allison2012-09-281-3/+0
| | | | the max access change.
* 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
* selftest/knownfail: samba3.smb2.durable-v2-open.reopen{1,2} fails currentlyStefan Metzmacher2012-09-071-0/+2
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 7 02:12:22 CEST 2012 on sn-devel-104
* s3-passdb: Rename pdb_samba4 to samba_dsdb and autoconfigure when we are a AD DCAndrew Bartlett2012-09-041-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | The name samba_dsdb is not ideal, but it matches the primary ldb module we use, and more importantly it avoids having '4' in the name. We should slowly avoid using the term samba4 in long-term places like the smb.conf because it is confusing to users given we are shipping Samba 4.0 as an AD DC as well as all the other supported roles (domain member/standalone server/classic DC) Additionally, samba4 will be an odd name when we eventually release Samba 5.0! samba4 remains accepted as an alias to ensure existing smb.conf files load, but to allow changes here in the future, we set the value during the smb.conf load, and not during the provision when we are an AD DC. This simplifies the default smb.conf for the vast majority of our users and reduces the number of things listed in smb.conf files that we later have to work around if we wish to change the name/implementation of the passdb glue module again. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Sep 4 04:45:16 CEST 2012 on sn-devel-104
* Now SEC_RIGHTS_PRIV_RESTORE and SEC_RIGHTS_PRIV_BACKUP don't include any ↵Jeremy Allison2012-08-311-0/+1
| | | | | | generic bits (they're used directly in the fileserver where the generic bits have already been mapped into file specific bits) we need to add the generic bits to the test when we have these privileges. Mark samba4.base.maximum_allowed knownfail until we implement NTCREATEX_OPTIONS_BACKUP_INTENT.
* Add a comment showing where to set log level in tests.Jeremy Allison2012-08-311-0/+3
|