summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
|
* The NTVFS server doesn't pass the SMB1 INHERITFLAGS test.Jeremy Allison2012-08-301-0/+1
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 30 21:38:02 CEST 2012 on sn-devel-104
* With the inheritance ACL changes we now pass samba3.smb2.acls.INHERITFLAGS.Jeremy Allison2012-08-301-1/+0
|
* selftest: Remove spoolss tests from knownfail.Andreas Schneider2012-08-301-66/+0
| | | | | Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Aug 30 17:17:55 CEST 2012 on sn-devel-104
* selftest: Add missing printing options for plugin_s4_dc.Andreas Schneider2012-08-301-0/+24
|
* selftest: Define the log directory for s3fs.Andreas Schneider2012-08-301-0/+3
|
* selftest: Add a test for smbclient --machine-pass without secrets.tdbAndrew Bartlett2012-08-291-0/+9
| | | | | | | 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/+1
| | | | | | This uses both smbclient binaries to ensure that both work in both environments. Andrew Bartlett
* s4-torture: Test for #9058Volker Lendecke2012-08-271-0/+1
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Aug 27 17:43:09 CEST 2012 on sn-devel-104
* s4-selftest: Always set vfs objects in selftest smb.confAndrew Bartlett2012-08-231-2/+2
| | | | | | | | | | This sets it for all enviornments, as it is harmless if ntvfs is used and critical if the provision script runs in s3fs mode. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 23 16:42:41 CEST 2012 on sn-devel-104
* s4-provision: set POSIX ACLs to for use with the smbd file server (s3fs)Andrew Bartlett2012-08-231-1/+2
| | | | | | | | This handles the fact that smbd will rarely override the POSIX ACL enforced by the kernel. This has caused issues with the creation of group policies by other members of the Domain Admins group. Andrew Bartlett
* file_server: Move default VFS module settings to loadparm.cAndrew Bartlett2012-08-231-1/+1
| | | | | | | | | | This means that any utility that calls into the VFS layer will get the right modules. Because we use the fake_acls backend we need to override this whole list in Samba4.pm however. Andrew Bartlett
* selftest: Set --use-ntvfs for rodc, vampire_dc, promoted_vampire_dc and ↵Andrew Bartlett2012-08-231-4/+4
| | | | subdom_dc
* selftest: Specify --use-ntvfs for the chdcpass environmentAndrew Bartlett2012-08-231-1/+1
|
* selftest: Specify --use-ntvfs to provision in test scriptsAndrew Bartlett2012-08-221-18/+20
| | | | | | | | Because these run as non-root, we need to avoid doing things that will fail during the provision. The main test of the s3fs provision is the plugin_s4_dc environment with a smb.conf that specifies vfs_fake_acls. Andrew Bartlett
* selftest: Add tests for vfs_aio_forkAndrew Bartlett2012-08-211-0/+8
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
* selftest: Use new fake_acls moduleAndrew Bartlett2012-08-203-8/+2
| | | | | | | | | | | | This isolates us from the OS ACL library, and allows chown to 'work' when we are non-root. In turn, this ensures that we can test the SMB -> POSIX layer even when the OS would refuse the set due to non-root or simply not having acls enabled on this particular file system. This should make a number of build farm tests much more reliable, and allows a number more tests to pass. Andrew Bartlett
* s4:torture:basic: add more delete test - variants of deltest16 and deltest17Michael Adam2012-08-171-1/+7
| | | | | | | | | | | | | There seems to be a difference if the initial delete_on_close flag was set on a handle that created the file or if the handle if was for a file that already existed. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
* s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher2012-08-173-0/+13
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
* s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett2012-08-161-0/+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
* selftest: Add knownfail for samba3.winbind.wbclient.wbcPingDc2Andrew Bartlett2012-08-151-0/+1
| | | | | | The soon-to-be-added command also fails against the s4 winbind. Andrew Bartlett
* lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett2012-08-061-0/+4
|
* s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett2012-07-191-0/+1
| | | | | | | | | | | 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
* s4-selftest: do a dbcheck on our two vampire DCsAndrew Bartlett2012-07-061-0/+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
* selftest: Update knownfail list for samba4.rpc.lsalookup.Andreas Schneider2012-07-061-1/+5
|