summaryrefslogtreecommitdiff
path: root/selftest/target
AgeCommit message (Collapse)AuthorFilesLines
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 Bartlett2-2/+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-17s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher2-0/+8
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-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-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-25selftest/Samba3: 'server max protocol = SMB3'Stefan Metzmacher1-1/+1
metze
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-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-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-31selftest:Samba4: use the nmblookup4 binary mappingMichael Adam1-1/+1
2012-05-31s3:selftest: introduce a variable for binpath('nmblookup3') in tests.pyMichael Adam1-5/+6
2012-05-24s4-provision: Make s3fs the default way to install a new Samba4 DCAndrew Bartlett1-0/+1
With s3fs now well settled into master, we now throw the swtich and make it the default. There is still much to do, but we need to be using s3fs by default to find out exactly what that is. Andrew Bartlett
2012-05-18selftest/Samba3: add 'smbd:suicide mode = yes'Stefan Metzmacher1-0/+1
metze
2012-05-15selftest: Remove tests for security=serverAndrew Bartlett2-41/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-11samba4: When running samba_dnsupdate during tests, use the testJelmer Vernooij1-7/+7
smb.conf. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri May 11 18:18:53 CEST 2012 on sn-devel-104
2012-05-02selftest: 'store dos attributes = yes' is now set in fileserver.confAndrew Bartlett1-4/+0
As such, there is no need to set it or the permissions-based mappings here as well. Andrew Bartlett
2012-05-02selftest: Do not start samba4 srvsvc in plugin_s4_dc modeAndrew Bartlett1-1/+1
2012-05-02selftest: add hooks required for printing to Samba4.pmAndrew Bartlett1-0/+16
2012-05-02selftest: Use same pattern for path to share as Samba3.pmAndrew Bartlett1-13/+15
This helps as we declare tests that were previously targetted at Samba3 only. Andrew Bartlett
2012-05-02selftest: Add hideunread share to plugin_s4_dcAndrew Bartlett1-0/+3
2012-05-02selftest: run plugin_s4_dc with 'acl_xattr xattr_tdb streams_depot' VFS modulesAndrew Bartlett1-0/+1
2012-05-02selftest: prepare to run smbtorture tests against plugin_s4_dcAndrew Bartlett1-10/+47
2012-05-02selftest: attempt to test samba3hide in a different environmentAndrew Bartlett1-0/+2
This should ensure that the samba3hide test is still run and passes, in a non-ACLed environment. Andrew Bartlett
2012-05-02selftest: Enable ACL testing against the s3dc environmentAndrew Bartlett1-1/+1
Previously, ACL tests were skipped and the correct modules for ACL testing were not loaded. The addition of a knownfail entry for raw.samba3* tests is due to an inconsitancy between the behaviour with and without ACL modules loaded - posix chown calls appear to be ignored in this mode. Andrew Bartlett
2012-04-18s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
2012-04-03file_server: Move vfs objects initialisation into file_server.c smb.conf wrapperAndrew Bartlett1-3/+0
2012-03-27selftest.py: Add get_interface.Jelmer Vernooij1-0/+34
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Mar 27 00:32:48 CEST 2012 on sn-devel-104
2012-03-24selftest.py: Add cleanup_pid.Jelmer Vernooij1-2/+27
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 04:52:59 CET 2012 on sn-devel-104
2012-03-24selftest.py: Add write_krb5_conf.Jelmer Vernooij1-0/+40
2012-03-24selftest.py: Add mk_realms_stanza function.Jelmer Vernooij1-0/+32
2012-03-24selftest.py: Add selftest.target.samba with bindir_path function.Jelmer Vernooij1-0/+24
2012-03-15s4:selftest: make the use of writetimeupdatedelay consistent across all testsMichael Adam1-3/+3
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 20:20:13 CET 2012 on sn-devel-104
2012-03-15s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-11s3 selftest: Allow DNS updates during testingKai Blin1-1/+3
2012-03-07s3-rpc_server: Do not register embedded ncacn_np endpoints by defaultAndrew Bartlett1-0/+1
The end point mapper is primarily in support of lsasd, and the key SAMR, LSA and NETLOGON services being accessed over TCP/IP. The end point mapper does not appear to be used for the well-known mappings to named pipes, and we have a problem with how to safely register the embedded pipes. For now, disable this to avoid re-registration storms in production, until we sort out a better way. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 7 14:27:38 CET 2012 on sn-devel-104
2012-03-07s3-rpc_server: Do not setup ncalrpc pipes and TCP for embedded rpc serversAndrew Bartlett1-1/+0
Embedded RPC services are those not launched in the preforked lsasd and spoolssd children. The reason that these child processes were created is that is is not possible to correctly listen for ncalrpc and TCP connections without creating a child process. Therefore, we should not have these embedded RPC services to listen on these sockets just because the endpoint mapper has been enabled. Andrew Bartlett
2012-03-07selftest: Only run s3dc with a forked lsasdAndrew Bartlett1-11/+11
This ensures that we run ktest, member and s3member in the default configuration, to try and cover both code paths. (This does not change the tests being run, but at least the initialisation code will be checked, plus whatever the rpcclient test can cover). Andrew Bartlett
2012-03-05selftest: run smbtorture_s3 tests against the ntvfs file serverAndrew Bartlett1-1/+2
This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett
2012-03-05selftest: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett1-6/+12
2012-03-05selftest: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett1-1/+1
2012-03-04selftest.target: Add NoneTarget.Jelmer Vernooij1-0/+17
2012-03-04selftest.target: Add Environment.get_vars.Jelmer Vernooij1-0/+11
2012-03-04selftest.target: Add tests for check.Jelmer Vernooij1-2/+1
2012-03-04selftest.target: Add tests for setup.Jelmer Vernooij1-5/+5
2012-03-04selftest: Add base classes for Target/Environment and their management.Jelmer Vernooij1-0/+138
2012-03-04selftest: Rework Samba3.pm process terminationAndrew Bartlett1-15/+23
We now store the timelimit child PID in memory, and confirm that the child has exited with both waitpid() and kill(0, $pid). By calling Samba::cleanup_child() we get exit status information. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Mar 4 11:51:12 CET 2012 on sn-devel-104