summaryrefslogtreecommitdiff
path: root/selftest/target/Samba4.pm
AgeCommit message (Collapse)AuthorFilesLines
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-20selftest: Use new fake_acls moduleAndrew Bartlett1-1/+1
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 Metzmacher1-0/+4
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 Bartlett1-1/+130
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 Bartlett1-1/+1
These will be used for a test using pdbtest and to run the client test environment under nss_wrapper. Andrew Bartlett
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-05-31selftest:Samba4: use the nmblookup4 binary mappingMichael Adam1-1/+1
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-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-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-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-11s3 selftest: Allow DNS updates during testingKai Blin1-1/+3
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: forward rpcecho to Samba4 in plugin_s4_dcAndrew Bartlett1-1/+1
2012-03-04selftest: Rework Samba4.pm process termination.Andrew Bartlett1-6/+23
We now double-check the waitpid() result with kill(0, $pid) We now also send a SIGTERM, then a SIGKILL. Andrew Bartlett
2012-03-04selftest: Use fork()/exec() rather than system()Andrew Bartlett1-71/+39
This follows the Samba3.pm model for starting child processes is to use fork()/exec(). This reduces the number of processes being created by selftest.pl, and gives us more information about the child process and the running state in the parent. Andrew Bartlett
2012-03-02selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett1-1/+5
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
2012-03-02selftest: Put stdin pipe on the environmentAndrew Bartlett1-9/+8
This seems to help us close the right pipe at cleanup time. Andrew Bartlett
2012-03-02selftest: Establish a registry of socket wrapper IPsAndrew Bartlett1-16/+11
This fixes a bug where chgdcpass was on the same IP as localsubdc, and will avoid similar mistakes in future. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Mar 2 03:48:05 CET 2012 on sn-devel-104
2012-02-29selftest: change plugin_dc to test using s3fsAndrew Bartlett1-6/+9
2012-02-29selftest: Do not run chgdcpass test on the main DCAndrew Bartlett1-0/+46
If winbindd has it's password changed from under it, it becomes grumpy. Andrew Bartlett
2012-02-16selftest: skip plugin_s4_dc if we do not have ADSAndrew Bartlett1-0/+5
2012-02-16selftest: Do not start up an already-running test environmentAndrew Bartlett1-0/+4
Otherwise we may re-provision the dc just because we started it via s3member or s4member first. Andrew Bartlett
2012-02-16selftest: Make plugin_s4_dc set the cached environment correctlyAndrew Bartlett1-10/+12
2012-02-13selftest: Allow setup_env() to signal that an environment name is unknownAndrew Bartlett1-1/+1
This will allow us to skip samba4 environments that may be mentioned in the source3/selftest/tests.py file. Andrew Bartlett
2012-02-01selftest: Remove unused support for --exeextAndrew Bartlett1-4/+2
2011-12-13s4-selftest: Add test of RPC to a netbios aliasAndrew Bartlett1-3/+2
This tries to ensure our netbios lookup code is still run. Andrew Bartlett
2011-11-29selftest/Samba4: pass '--machinepass' to 'samba-tool domain join'Stefan Metzmacher1-0/+4
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 29 11:00:42 CET 2011 on sn-devel-104
2011-11-17s4 dns: Turn on internal DNS server during testingKai Blin1-1/+1
2011-11-15selftest/Samba4: allow schema updatesStefan Metzmacher1-0/+1
metze
2011-11-08selftest: Remove the 'all' environment as it is just too slow to start upAndrew Bartlett1-59/+0
Instead we start the 'dc' environment, and other environments are available as: make testenv SELFTEST_TESTENV=fl2003dc Andrew Bartlett
2011-11-03selftest/Samba4: use "server signing = on" for nowStefan Metzmacher1-0/+4
Otherwise the smb2.compound test fails as it doesn't work with signing yet. metze
2011-10-28The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison1-0/+7
cope with this.
2011-10-20s4-selftest: Add tests for RPC dnsserverAmitay Isaacs1-0/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>