summaryrefslogtreecommitdiff
path: root/selftest/target/Samba3.pm
AgeCommit message (Collapse)AuthorFilesLines
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
2011-07-20selftest: Pass lsass and epmapper across the named pipe proxy to the AD serverAndrew Bartlett1-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>
2011-06-20tdb2: create tdb2 versions of various testing TDBs.Rusty Russell1-1/+5
Soon, TDB2 will handle tdb1 files, but until then, we substitute. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-09s3-selftest Add a test for 'message command'Andrew Bartlett1-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
2011-05-09selftest: don't override just-added username in plugin_s4_dc testAndrew Bartlett1-2/+0
This will allow us to test a user added via smbpasswd as well as the administrator added by provision. Andrew Bartlett
2011-05-08selftest: Make the ncalrpc dir common between Samba4 and Samba3.Andrew Bartlett1-5/+7
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/+50
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-05-08selftest Use die() less often, as it fails to allow cleanupAndrew Bartlett1-8/+29
2011-04-29selftest: Restore the s3member environment by avoiding smbcaclsAndrew Bartlett1-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>
2011-04-28selftest: Print a better warning warning message when smbcacls fails.Andrew Bartlett1-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
2011-04-28selftest: Don't die() when the join failsAndrew Bartlett1-5/+14
This kills off everything without a proper shutdown, and is difficult to debug. Andrew Bartlett
2011-04-28selftest: s3member admember test to confirm s3/s4 interopabilityAndrew Bartlett1-1/+89
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-28s3-selftest: Use default name resolution methods (now that dns is emulated)Andrew Bartlett1-2/+0
Now that we have emulated DNS, we can test Samba with the default name resolve order. Andrew Bartlett
2011-04-28s3-test: log to stdout for smbd/nmbd/winbinddAndrew Tridgell1-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
2011-04-27selftest: Make bindir_path much less complexAndrew Bartlett1-21/+21
There is no need to pass it as a function pointer, just put it in 'Samba.pm'. Andrew Bartlett
2011-04-26libcli/dns Improve dns_hosts_file, using Samba3's struct dns_rr_srvAndrew Bartlett1-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
2011-04-19selftest Consolidate server wall clock time limitsAndrew Bartlett1-23/+15
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
2011-04-19s3-selftest Fix interface localktest6 listens on.Andrew Bartlett1-1/+1
Andrew Bartlett
2011-04-19selftest Add combined 'Samba' target moduleAndrew Bartlett1-0/+3
To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
2011-04-19s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett1-31/+31
This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett1-6/+6
This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
2011-04-16selftest: Provide a single bindir_path function across all targetsAndrew Bartlett1-34/+26
This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett
2011-04-12s3/selftest Tear down the environment if we fail to connectAndrew Bartlett1-12/+36
This removes the exit(1) that previously didn't tear down the environment correctly, and instead just fails to set it up, allowing the rest of the script handle that with more grace. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 12 01:53:37 CEST 2011 on sn-devel-104
2011-04-07s3-selftest actually wait for smbclient to connectAndrew Bartlett1-2/+14
This means that we actually have a working smbd. The previous code didn't know if it worked or not, and so created flaky tests. Andrew Bartlett
2011-04-07s3-selftest Fix use of the 'fake DNS' fileAndrew Bartlett1-1/+1
This ensures we don't use netbios before the hosts file and that we do fill in the fake DNS zone correctly for the way we invoke smbtorture4. Currently this works because the realm in client.conf is "", if this changes then this will need to change too (perhaps an additional entry). Andrew Bartlett
2011-04-06s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett1-4/+14
It is important that a machine account password change does not invalidate existing tickets. This is only for the default kerberos method with a password in secrets.tdb. The keytab based methods are still not tested. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 05:24:48 CEST 2011 on sn-devel-104
2011-04-06s3-selftest names into DNS hosts file to avoid NBT lookupsAndrew Bartlett1-0/+5
NBT lookups cause trouble and variablity in 'make test', so it's much better if we just use the fake DNS code. This code is only used by smbtorture4 at this time, but the other client tools are generally told to contact by IP address. We need to contact by name to test Kerberos, and this should make the kerberos tests much more reliable. Andrew Bartlett
2011-04-04s3-selftest Add testing of kerberos loginAndrew Bartlett1-0/+65
This uses a pre-calculated credentials cache, that should be valid until 2036. Andrew Bartlett
2011-04-04s3-selftest Disable log rotation in 'make test'Andrew Bartlett1-0/+1
2011-03-29s3-selftest Add tests for security=serverAndrew Bartlett1-0/+39
Andrew Bartlett
2011-03-22s3:selftest: fix Samba3.pm deprecated idmap configBjörn Baumbach1-2/+1
Replace deprecated idmap uid and gid option with new idmap config * : range
2011-03-19selftest/Samba3: use 'debug pid=yes'Stefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Mar 19 10:55:34 CET 2011 on sn-devel-104