summaryrefslogtreecommitdiffstats
path: root/selftest
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* s4-selftest: Test samba-tool domain dcpromoAndrew Bartlett2012-07-062-1/+131
| | | | | | | This needs a new environment to test it properly. This requires a raise in the number of socket wrapper interfaces. Andrew Bartlett
* selftest: Give Samba4 processes a little longer to clean upAndrew Bartlett2012-07-031-1/+1
| | | | | | This may help write out gcov data correctly. Andrew Bartlett
* s4-selftest: Test login with a password expired userAndrew Bartlett2012-06-271-0/+1
| | | | | | This uses rkpty to test changing an expired password. Andrew Bartlett
* selftest: allow NSS_WRAPPER_* vars to be exported to the environmentAndrew Bartlett2012-06-271-1/+6
|
* selftest: Add extra users to nss_wrapperAndrew Bartlett2012-06-272-2/+4
| | | | | | | These will be used for a test using pdbtest and to run the client test environment under nss_wrapper. Andrew Bartlett
* s3:selftest: run SMB2-SESSION-RECONNECTStefan Metzmacher2012-06-251-0/+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
* selftest/known: samba3.smb2.session.*reconnect passes nowStefan Metzmacher2012-06-251-1/+0
| | | | metze
* s3:selftest: run raw.sessionStefan Metzmacher2012-06-251-0/+1
| | | | | | | | | | | | 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
* s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher2012-06-251-0/+1
| | | | metze
* s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher2012-06-251-2/+2
| | | | | | This activates the smb2.session.expire1 test, when krb5 is used. metze
* selftest/knownfail: only reauth5 still failsStefan Metzmacher2012-06-251-1/+1
| | | | metze
* selftest/Samba3: 'server max protocol = SMB3'Stefan Metzmacher2012-06-251-1/+1
| | | | metze
* selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett2012-06-241-0/+1
| | | | | | | | This also tests the comparison with LDAP on anonymous connections and marks this as knownfail, while we investigate the correct behaviour here. Andrew Bartlett
* selftest/knownfail: mark ^samba4.raw.session.expire1 as knownfailStefan Metzmacher2012-06-221-0/+1
| | | | | Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 15:03:16 CEST 2012 on sn-devel-104
* s4:torture/smb2: add smb2.durable-open.lock-oplockStefan Metzmacher2012-06-221-0/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 22 03:37:54 CEST 2012 on sn-devel-104
* selftest: samba3.smb2.durable-open.lock => samba3.smb2.durable-open.lock-leaseStefan Metzmacher2012-06-221-1/+1
| | | | metze
* s4:torture/smb2: add smb2.durable-open.delete_on_close1Stefan Metzmacher2012-06-211-0/+1
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 21 10:19:00 CEST 2012 on sn-devel-104
* s4-provision: Remove last unused remenants of the 'sid generator' configurationAndrew Bartlett2012-06-201-9/+0
| | | | | | This was part of the now-abandoned S4 AD LDAP backend project. Andrew Bartlett
* selftest/flapping: mark samba4.nss.test using winbind as flakeyStefan Metzmacher2012-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | [1427/1518 in 1h12m39s] samba4.nss.test using winbind(member) UNEXPECTED(failure): samba4.nss.test using winbind(member).run nsstest(member) REASON: _StringException: _StringException: ERROR setpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR setgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR Non existent user gave error -1 ERROR Non existent uid gave error -1 ERROR Non existent group gave error -1 ERROR Non existent gid gave error -1 total_errors=10 This seems to happen in all environments metze
* TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell2012-06-191-3/+0
| | | | | | | Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* selftest/flapping: samba4.nss.test is also flakey for s3memberStefan Metzmacher2012-06-181-1/+1
| | | | | | | | | | | | | | | | | | | | | [1426/1518 in 1h24m58s] samba4.nss.test using winbind(s3member) UNEXPECTED(failure): samba4.nss.test using winbind(s3member).run nsstest(s3member) REASON: _StringException: _StringException: ERROR setpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endpwent: NSS_STATUS=-1 1 (nss_errno=0) ERROR setgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR getgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR endgrent: NSS_STATUS=-1 1 (nss_errno=0) ERROR Non existent user gave error -1 ERROR Non existent uid gave error -1 ERROR Non existent group gave error -1 ERROR Non existent gid gave error -1 total_errors=10 metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jun 18 17:59:25 CEST 2012 on sn-devel-104
* s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett2012-06-161-1/+2
| | | | | | | | | | | This commit changes the default file server to be s3fs. Existing installs wishing to keep the ntvfs file server need to set this in their smb.conf: server services = +smb -s3fs dcerpc endpoint services = +winreg +srvsvc Andrew Bartlett