summaryrefslogtreecommitdiff
path: root/selftest/target/Samba4.pm
AgeCommit message (Collapse)AuthorFilesLines
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>
2011-10-12selftest: Fix plugin_s4_dc configuration.Andreas Schneider1-0/+1
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-09-13s4-subdomain more work on sub-domain joinAndrew Bartlett1-2/+2
we can now create a subdomain of an existing windows domain using: samba-tool domain join sub.domain.dns.name subdomain The ordering of the creation of the key records is quite tricky, especially for the NTDSDSA object Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-09-13selftest: add test for subdomain supportAndrew Bartlett1-0/+120
2011-08-26selftest: Allow a krb5.conf to be generated that covers multiple realmsAndrew Bartlett1-1/+1
2011-08-22set passdb backend in Samba4 make test environments tooAndrew Bartlett1-0/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 22 03:46:21 CEST 2011 on sn-devel-104
2011-08-12selftest:Samba4: test --domain-critical-only in provision_vampire_dc()Stefan Metzmacher1-1/+1
This way only only replicate critical objects during the initial join as DC, then we'll replicate the whole domain while 'samba' is running. metze Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 14:07:50 CEST 2011 on sn-devel-104
2011-08-12selftest:target/Samba4: use the correct configuration in setup_vampire_dc()Stefan Metzmacher1-0/+2
This allows "TDB_NO_FSYNC=1 make -j test TESTS=vampire" to work. metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-12s4-test: use standard process model for 'dc' serverAndrew Tridgell1-20/+12
this provides us with both 'standard' and 'single' process models in selftest, ensuring that we test the standard process model in the build farm Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Aug 12 11:06:50 CEST 2011 on sn-devel-104
2011-08-03selftest: use the s4 winbindd in plugin_s4_dc testAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-21selftest: use "state directory" and "cache directory" optionsBjörn Baumbach1-2/+2
instead of "state dir" and "cache dir" Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jul 21 10:06:32 CEST 2011 on sn-devel-104
2011-07-21samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell1-4/+4
2011-07-13s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell1-1/+1
this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-12selftest/Samba4: use "state dir" for persistent filesStefan Metzmacher1-7/+7
metze
2011-07-12selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher1-0/+8
metze
2011-07-04selftest: eliminate perl warnings (my $cmd masks earlier definition...)Michael Adam1-2/+2
2011-06-24s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher1-6/+49
Pair-Programmed-With: Björn Baumbach <bb@sernet.de> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jun 24 20:35:30 CEST 2011 on sn-devel-104
2011-06-24selftest/Samba4: correctly upper case the netbiosname variableStefan Metzmacher1-5/+7
metze
2011-06-24selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett1-1/+1
The debugger or script will need to work out the binary from the PID, as %PROG% support was lost when the setup_fault() code was merged between Samba3 and Samba4. Andrew Bartlett
2011-06-06s4-testparm: testparm is now part of samba_toolAndrew Tridgell1-1/+1
2011-05-21selftest: Allow to test samba4 with ACL on read setMatthieu Patou1-0/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-05-08selftest: Make the ncalrpc dir common between Samba4 and Samba3.Andrew Bartlett1-2/+0
This also avoids creating the directory, as the startup routines will create it with the correct permissions. Andrew Bartlett
2011-05-08selftest: Add plugin_s4_dc environmentAndrew Bartlett1-0/+57
This environment uses pdb_samba4 and auth_samba4 to plug these critical subsystems into a mixed Samba3/Samba4 DC, in a similar way to the 'Franky' proposal. Andrew Barltett
2011-04-28s4-selftest: Don't use a hardcoded target DC nameAndrew Bartlett1-1/+1
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett1-53/+23
This checks that Samba3 joins Samba4 correctly, and allows NTLM and Kerberos logons from a live Samba4 DC. This needs the common krb5.conf generation logic, and because we now override KRB5_CONFIG we must update ktest to have a valid krb5.conf. Based on an original patch by metze Andrew Bartlett
2011-04-27selftest: Make bindir_path much less complexAndrew Bartlett1-11/+11
There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
2011-04-19selftest Consolidate server wall clock time limitsAndrew Bartlett1-21/+14
This helps ensure that we don't have the Samba3 servers stop before the full make test is finished. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 19 09:03:07 CEST 2011 on sn-devel-104