summaryrefslogtreecommitdiff
path: root/selftest
AgeCommit message (Collapse)AuthorFilesLines
2012-08-27s4-torture: Test for #9058Volker Lendecke1-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
2012-08-23s4-selftest: Always set vfs objects in selftest smb.confAndrew Bartlett1-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
2012-08-23s4-provision: set POSIX ACLs to for use with the smbd file server (s3fs)Andrew Bartlett1-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
2012-08-23file_server: Move default VFS module settings to loadparm.cAndrew Bartlett1-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
2012-08-23selftest: Set --use-ntvfs for rodc, vampire_dc, promoted_vampire_dc and ↵Andrew Bartlett1-4/+4
subdom_dc
2012-08-23selftest: Specify --use-ntvfs for the chdcpass environmentAndrew Bartlett1-1/+1
2012-08-22selftest: Specify --use-ntvfs to provision in test scriptsAndrew Bartlett1-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
2012-08-21selftest: Add tests for vfs_aio_forkAndrew Bartlett1-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
2012-08-20selftest: Use new fake_acls moduleAndrew Bartlett3-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
2012-08-17s4:torture:basic: add more delete test - variants of deltest16 and deltest17Michael Adam1-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
2012-08-17s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher3-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
2012-08-16s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett1-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
2012-08-15selftest: Add knownfail for samba3.winbind.wbclient.wbcPingDc2Andrew Bartlett1-0/+1
The soon-to-be-added command also fails against the s4 winbind. Andrew Bartlett
2012-08-06lib/param: Also enable vlp when --enable-selftest is specifiedAndrew Bartlett1-0/+4
2012-07-19s4-torture: Allow unix.whoami to test against a member serverAndrew Bartlett1-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
2012-07-06s4-selftest: do a dbcheck on our two vampire DCsAndrew Bartlett1-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
2012-07-06selftest: Update knownfail list for samba4.rpc.lsalookup.Andreas Schneider1-1/+5
2012-07-06s4-selftest: Test samba-tool domain dcpromoAndrew Bartlett2-1/+131
This needs a new environment to test it properly. This requires a raise in the number of socket wrapper interfaces. Andrew Bartlett
2012-07-03selftest: Give Samba4 processes a little longer to clean upAndrew Bartlett1-1/+1
This may help write out gcov data correctly. Andrew Bartlett
2012-06-27s4-selftest: Test login with a password expired userAndrew Bartlett1-0/+1
This uses rkpty to test changing an expired password. Andrew Bartlett
2012-06-27selftest: allow NSS_WRAPPER_* vars to be exported to the environmentAndrew Bartlett1-1/+6
2012-06-27selftest: Add extra users to nss_wrapperAndrew Bartlett2-2/+4
These will be used for a test using pdbtest and to run the client test environment under nss_wrapper. Andrew Bartlett
2012-06-25s3:selftest: run SMB2-SESSION-RECONNECTStefan Metzmacher1-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
2012-06-25selftest/known: samba3.smb2.session.*reconnect passes nowStefan Metzmacher1-1/+0
metze
2012-06-25s3:selftest: run raw.sessionStefan Metzmacher1-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
2012-06-25s3:selftest: run smbtorture3 SMB2-SESSION-REAUTHStefan Metzmacher1-0/+1
metze
2012-06-25s3:selftest: run smb2.session as ntlm and krb5Stefan Metzmacher1-2/+2
This activates the smb2.session.expire1 test, when krb5 is used. metze
2012-06-25selftest/knownfail: only reauth5 still failsStefan Metzmacher1-1/+1
metze
2012-06-25selftest/Samba3: 'server max protocol = SMB3'Stefan Metzmacher1-1/+1
metze
2012-06-24selftest: Test unix.whoami with kerberos on plugin_s4_dcAndrew Bartlett1-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
2012-06-22selftest/knownfail: mark ^samba4.raw.session.expire1 as knownfailStefan Metzmacher1-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
2012-06-22s4:torture/smb2: add smb2.durable-open.lock-oplockStefan Metzmacher1-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
2012-06-22selftest: samba3.smb2.durable-open.lock => samba3.smb2.durable-open.lock-leaseStefan Metzmacher1-1/+1
metze
2012-06-21s4:torture/smb2: add smb2.durable-open.delete_on_close1Stefan Metzmacher1-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
2012-06-20s4-provision: Remove last unused remenants of the 'sid generator' configurationAndrew Bartlett1-9/+0
This was part of the now-abandoned S4 AD LDAP backend project. Andrew Bartlett
2012-06-19selftest/flapping: mark samba4.nss.test using winbind as flakeyStefan Metzmacher1-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
2012-06-19TDB2: make SAMBA use tdb1 again for the moment.Rusty Russell1-3/+0
Otherwise the following surgery will break the SAMBA build and testsuite. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-06-18selftest/flapping: samba4.nss.test is also flakey for s3memberStefan Metzmacher1-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
2012-06-16s4-lib/param: FLAG DAY for the default FILE SERVERAndrew Bartlett1-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
2012-06-15selftest/flapping: mark samba4.nss.test using winbind(s3dc) as flakeyStefan Metzmacher1-0/+1
I saw this at least 10 times in the last weeks. [1425/1517 in 1h12m22s] samba4.nss.test using winbind(s3dc) UNEXPECTED(failure): samba4.nss.test using winbind(s3dc).run nsstest(s3dc) 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 FAILED (1 failures, 0 errors and 0 unexpected successes in 0 testsuites) metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jun 15 20:24:11 CEST 2012 on sn-devel-104
2012-06-12selftest: fix use of a non-existent word (existant)Michael Adam1-1/+1
2012-06-08build: do not run fsrvp tests as part of selftestDavid Disseldorp1-0/+1
Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Jun 8 15:24:45 CEST 2012 on sn-devel-104
2012-06-05Tests for bug #8972 - Add a posix_share definition to s4 so we can do raw ↵Jeremy Allison1-0/+8
posix permissions checks.
2012-06-05Tests for bug #8972 - Add a posix_share definition to s3 so we can do raw ↵Jeremy Allison1-0/+9
posix permissions checks.
2012-05-31build: rename build targets smbclient -> smbclient4 and smbclient3 -> smbclientMichael Adam1-2/+2
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu May 31 06:36:55 CEST 2012 on sn-devel-104
2012-05-31selftest: add a binary mapping for smbclient4Michael Adam1-0/+1
2012-05-31build: rename build targets nmblookup -> nmblookup4 and nmblookup3 -> nmblookupMichael Adam1-2/+2
2012-05-31selftest:Samba4: use the nmblookup4 binary mappingMichael Adam1-1/+1
2012-05-31selftest: add a binary mapping for nmblookup4Michael Adam1-0/+1
2012-05-31s3:selftest: introduce a variable for binpath('nmblookup3') in tests.pyMichael Adam1-5/+6