summaryrefslogtreecommitdiff
path: root/selftest/target/Samba3.pm
AgeCommit message (Collapse)AuthorFilesLines
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 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-06-27selftest: Add extra users to nss_wrapperAndrew Bartlett1-1/+3
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-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-31s3:selftest: introduce a variable for binpath('nmblookup3') in tests.pyMichael Adam1-5/+6
2012-05-18selftest/Samba3: add 'smbd:suicide mode = yes'Stefan Metzmacher1-0/+1
metze
2012-05-15selftest: Remove tests for security=serverAndrew Bartlett1-40/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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-03-15s3:selftest: reactivate the writetimeupdatedelay speed-upMichael Adam1-1/+1
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
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: Reduce time in cleanup loop, try waitpid on all 3 childrenAndrew Bartlett1-6/+12
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
2012-03-04selftest: Fix waitpid termination testAndrew Bartlett1-2/+2
2012-03-02selftest: close stdin and wait with waitpid() for a safer exitAndrew Bartlett1-1/+31
This avoids timelimit sending kill -9 after 1 second, which may disrupt the writing of gcov data. Andrew Bartlett
2012-03-02selftest: Establish a registry of socket wrapper IPsAndrew Bartlett1-13/+7
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-73/+0
2012-02-28selftest: added a pipe on stdin in s3 child processesAndrew Tridgell1-0/+17
this adds a pipe for STDIN in smbd, nmbd and winbindd when run in selftest. This allows those processes to detect when they should exit by looking for EOF on stdin.
2012-02-27selftest: up the default log level in s3Andrew Bartlett1-1/+1
This may help show more detail when our tests fail. Andrew Bartlett
2012-02-18selftest: Fix selftest to check ADS functionalty againAndrew Bartlett1-8/+10
This was found by looking over the lcov output on build.samba.org The new have_ads() check also now dies if it cannot run smbd, to avoid this in future. Andrew Bartlett
2012-02-16selftest: skip targets that are not compiled in if we do not have ADSAndrew Bartlett1-0/+25
2012-02-16s3-selftest: Require SMB signing for ktest environmentAndrew Bartlett1-0/+1
This will help weed out session key errors in the krb5 code. Andrew Bartlett
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-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-3/+1
2012-01-28s3-selftest: Add test for posix large reads and writesAndrew Bartlett1-0/+5
This includes encrypted reads and writes, both NTLM and kerberos. Andrew Bartlett Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 28 00:13:57 CET 2012 on sn-devel-104
2011-12-12tdb2: don't use TDB2 versions of test tdb files.Rusty Russell1-5/+1
Now tdb2 handles tdb1 files, we don't need most of commit 5eecc854236f0b943aaa89e0c3a46f9fbd208ca9 which added TDB2 versions of all the testing tdbs. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 12 06:33:44 CET 2011 on sn-devel-104
2011-10-28The xcopy test is used in unusual ways (via a different uid). Ensure we can ↵Jeremy Allison1-0/+5
cope with this.
2011-10-28The xcopy test requires "dos filemode=yes" as it opens with WRITE_OWNER.Jeremy Allison1-0/+1
2011-10-18selftest:Samba3: fix signature for check_or_start()Michael Adam1-1/+1
2011-10-18selftest:Samba3: fix a message printed when starting winbinddMichael Adam1-1/+1
2011-10-12selftest: Fix plugin_s4_dc configuration.Andreas Schneider1-7/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 12 13:50:10 CEST 2011 on sn-devel-104
2011-10-08selftest: run dfs tests on plugin_s4_dcStefan Metzmacher1-0/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
2011-10-06selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbdStefan Metzmacher1-0/+6
metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 6 13:49:05 CEST 2011 on sn-devel-104
2011-09-01s3-rpc_server: Handle services with multiple pipe names.Andreas Schneider1-2/+0
The configuration should only use the default pipe name to configure all of them correctly.
2011-08-26selftest: Allow a krb5.conf to be generated that covers multiple realmsAndrew Bartlett1-2/+2
2011-08-21s3-lsasd: Listen on \PIPE\lsass.Andreas Schneider1-0/+1
Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21selftest: Enable testing of the lsa service daemon.Andreas Schneider1-0/+5
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-21selftest: Fix daemon testing to use the new syntax.Simo Sorce1-2/+6
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
2011-08-10selftest: Always test the spoolss deamon.Andreas Schneider1-0/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Aug 10 19:29:14 CEST 2011 on sn-devel-104
2011-08-03selftest: print %U in smbclient -L output to allow testingAndrew Bartlett1-0/+1
2011-08-03selftest: use the s4 winbindd in plugin_s4_dc testAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-01s3-rpc_server: Disable listening on tcpip ports by default.Andreas Schneider1-0/+2
2011-08-01s3-torture: Run epmapper as daemon and the tests over ncalrpc.Andreas Schneider1-1/+1
2011-07-29s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett1-0/+32
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-29selftest: explain how the message command test worksAndrew Bartlett1-0/+2