summaryrefslogtreecommitdiffstats
path: root/selftest/target
Commit message (Collapse)AuthorAgeFilesLines
* s4-subdomain more work on sub-domain joinAndrew Bartlett2011-09-131-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>
* selftest: add test for subdomain supportAndrew Bartlett2011-09-131-0/+120
|
* s3-rpc_server: Handle services with multiple pipe names.Andreas Schneider2011-09-011-2/+0
| | | | | The configuration should only use the default pipe name to configure all of them correctly.
* selftest: Allow a krb5.conf to be generated that covers multiple realmsAndrew Bartlett2011-08-263-23/+38
|
* set passdb backend in Samba4 make test environments tooAndrew Bartlett2011-08-221-0/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 22 03:46:21 CEST 2011 on sn-devel-104
* s3-lsasd: Listen on \PIPE\lsass.Andreas Schneider2011-08-211-0/+1
| | | | Signed-off-by: Simo Sorce <idra@samba.org>
* selftest: Enable testing of the lsa service daemon.Andreas Schneider2011-08-211-0/+5
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
* selftest: Fix daemon testing to use the new syntax.Simo Sorce2011-08-211-2/+6
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Simo Sorce <idra@samba.org>
* selftest:Samba4: test --domain-critical-only in provision_vampire_dc()Stefan Metzmacher2011-08-121-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
* selftest:target/Samba4: use the correct configuration in setup_vampire_dc()Stefan Metzmacher2011-08-121-0/+2
| | | | | | | | This allows "TDB_NO_FSYNC=1 make -j test TESTS=vampire" to work. metze Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-test: use standard process model for 'dc' serverAndrew Tridgell2011-08-121-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
* selftest: Always test the spoolss deamon.Andreas Schneider2011-08-101-0/+1
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Aug 10 19:29:14 CEST 2011 on sn-devel-104
* selftest: print %U in smbclient -L output to allow testingAndrew Bartlett2011-08-031-0/+1
|
* selftest: use the s4 winbindd in plugin_s4_dc testAndrew Bartlett2011-08-032-2/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-rpc_server: Disable listening on tcpip ports by default.Andreas Schneider2011-08-011-0/+2
|
* s3-torture: Run epmapper as daemon and the tests over ncalrpc.Andreas Schneider2011-08-011-1/+1
|
* s3-selftest Add tests for 'map to guest = bad user'Andrew Bartlett2011-07-291-0/+32
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: explain how the message command test worksAndrew Bartlett2011-07-291-0/+2
|
* selftest: use "state directory" and "cache directory" optionsBjörn Baumbach2011-07-211-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
* samba-tool: fixed some more calls to samba_tool join to be 'domain join'Andrew Tridgell2011-07-211-4/+4
|
* selftest: Pass lsass and epmapper across the named pipe proxy to the AD serverAndrew Bartlett2011-07-201-0/+2
| | | | | | | | | Eventually we will have just one end point mapper, but for now we need to use the source4 one for the AD tests. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-fault: changed to use %d for PID, instead of %PID%Andrew Tridgell2011-07-131-1/+1
| | | | | | this matches the s3 behaviour Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* selftest/Samba4: use "state dir" for persistent filesStefan Metzmacher2011-07-121-7/+7
| | | | metze
* selftest/Samba4: setup "state dir" and "cache dir"Stefan Metzmacher2011-07-121-0/+8
| | | | metze
* selftest: eliminate perl warnings (my $cmd masks earlier definition...)Michael Adam2011-07-041-2/+2
|
* s4:selftest: test ntvfs.cifs with s4u2proxyStefan Metzmacher2011-06-241-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
* selftest/Samba4: correctly upper case the netbiosname variableStefan Metzmacher2011-06-241-5/+7
| | | | metze
* selftest: Remove %PROG% argument from 'panic action'Andrew Bartlett2011-06-241-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
* tdb2: create tdb2 versions of various testing TDBs.Rusty Russell2011-06-201-1/+5
| | | | | | | Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-selftest Add a test for 'message command'Andrew Bartlett2011-06-091-0/+2
| | | | | | | This also provides us a way to test that the -n option to smbclient works, as that becomes part of the filename. Andrew Bartlett
* s4-testparm: testparm is now part of samba_toolAndrew Tridgell2011-06-061-1/+1
|
* selftest: Allow to test samba4 with ACL on read setMatthieu Patou2011-05-211-0/+3
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* selftest: don't override just-added username in plugin_s4_dc testAndrew Bartlett2011-05-091-2/+0
| | | | | | | This will allow us to test a user added via smbpasswd as well as the administrator added by provision. Andrew Bartlett
* selftest: Make the ncalrpc dir common between Samba4 and Samba3.Andrew Bartlett2011-05-082-7/+7
| | | | | | | This also avoids creating the directory, as the startup routines will create it with the correct permissions. Andrew Bartlett
* selftest: Add plugin_s4_dc environmentAndrew Bartlett2011-05-082-0/+107
| | | | | | | | 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
* selftest Use die() less often, as it fails to allow cleanupAndrew Bartlett2011-05-082-9/+30
|
* selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett2011-04-291-13/+5
| | | | | | | | | This removes the need for acls on the filesystem for simple domain member tests. ACL tests should be written at some point... Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
* s4-selftest: Don't use a hardcoded target DC nameAndrew Bartlett2011-04-281-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
* selftest: Print a better warning warning message when smbcacls fails.Andrew Bartlett2011-04-281-1/+1
| | | | | | | These tests can't run on systems without posix ACLs. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 28 06:18:59 CEST 2011 on sn-devel-104
* selftest: Don't die() when the join failsAndrew Bartlett2011-04-281-5/+14
| | | | | | | This kills off everything without a proper shutdown, and is difficult to debug. Andrew Bartlett
* selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett2011-04-283-54/+168
| | | | | | | | | | | | 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
* selftest: Make overwrite of $env->{target} optionalAndrew Bartlett2011-04-281-2/+6
| | | | | | | This allows a target to be a mix of Samba3 and Samba4, and chose it's own backend for check_env and get_log_env. Andrew Bartlett
* s3-selftest: Use default name resolution methods (now that dns is emulated)Andrew Bartlett2011-04-281-2/+0
| | | | | | | Now that we have emulated DNS, we can test Samba with the default name resolve order. Andrew Bartlett
* s3-test: log to stdout for smbd/nmbd/winbinddAndrew Tridgell2011-04-281-3/+5
| | | | | | | | | | this prevents error messages from logfile creation before smb.conf is read Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Apr 28 05:29:19 CEST 2011 on sn-devel-104
* selftest: Make bindir_path much less complexAndrew Bartlett2011-04-273-35/+48
| | | | | | There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
* libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srvAndrew Bartlett2011-04-261-0/+4
| | | | | | | | | By reworking the 'fake DNS' file to use struct dns_rr_srv it should be possible to emulate that resolver layer as well as the Samba4 sockaddr_storage* based layer. This will then give us a common DNS emulation for 'make test'. Andrew Bartlett
* selftest Consolidate server wall clock time limitsAndrew Bartlett2011-04-193-47/+32
| | | | | | | | | | 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
* selftest: move warning about invalid environments up to selftest.plAndrew Bartlett2011-04-191-1/+0
|
* s4-selftest Rename Samba4 'member' test environment to s4memberAndrew Bartlett2011-04-191-4/+4
| | | | | | This will avoid a conflict with the s3 'member' environment. Andrew Bartlett
* s4-selftest: Move Samba4 test interfaces out of the way of the Samba3 tests.Andrew Bartlett2011-04-191-8/+8
| | | | This avoids a conflict when we merge the test suites.