summaryrefslogtreecommitdiff
path: root/selftest/target/Samba3.pm
AgeCommit message (Collapse)AuthorFilesLines
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
2011-03-08selftest: Added ncalrpc dir to config.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-22selftest pass in srcdir into Samba3 target moduleAndrew Bartlett1-5/+7
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett1-0/+6
This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett1-0/+45
2011-02-02s3-smbd: Disable the endpoint mapper by default.Andreas Schneider1-0/+2
2011-01-11Fix "make test" - ensure nmbd runs with -S (log to stdout).Jeremy Allison1-2/+2
Also ensure nmbd socket directory isn't created (nmbd will create it). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 11 00:30:52 CET 2011 on sn-devel-104
2011-01-08Explicitly set "nmbd: socket dir" in the test environment.Jeremy Allison1-0/+8
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jan 8 07:17:22 CET 2011 on sn-devel-104
2010-12-13s3-selftest: support differing VFSLIBDIR in autoconf and waf build.Günther Deschner1-1/+1
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works! Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-11-29s3-selftest: add WIN40 directory to print$ share.Günther Deschner1-0/+3
Guenther
2010-11-10Add test that detects problems in the SMB signing code when run through ↵Jeremy Allison1-0/+2
cli_write() (which doesn't use the new async methods). Unfortunately, and I think due to the socket wrapper code, this doesn't detect the failure on the build farm, but running the RW-SIGNING test separately against a Samba or Windows server using signing does. Jeremy.
2010-11-08Ensure we always have a mapped group for "Domain Users".Jeremy Allison1-1/+6
Needed for DC tests to pass with bugfix for bug #7777. Jeremy.
2010-10-28s3-selftest: add vfs_modulesdir variable for both test systems.Günther Deschner1-1/+2
Guenther
2010-10-05s3-selftest: enable smb2 torture tests against samba3.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Oct 5 14:38:07 UTC 2010 on sn-devel-104
2010-09-10s3-selftest: rename printer "print4" to "lp".Günther Deschner1-1/+1
This should trigger a false error condition in our code. Guenther
2010-09-04selftest: Remove stop() method, not used anywhere.Jelmer Vernooij1-5/+0
2010-08-26s3-selftest: do not remove nsswrapper environment when running smbtorture4.Günther Deschner1-3/+0
Guenther
2010-06-17selftest/Samba3: remove unused create_clientconf() functionStefan Metzmacher1-33/+0
metze
2010-06-02s3-selftest: Fix blackbox smbclient s3 tests during make selftest.Günther Deschner1-0/+2
Guenther
2010-05-29s3-selftest: fix chmod commands in provisioning.Günther Deschner1-3/+3
Guenther
2010-05-29s3-selftest: make sure provisioned s3 looks the same in make selftest as in ↵Günther Deschner1-3/+41
make test. This fixes some tests that were previously failing. Guenther
2010-04-23s3-selftest: add print$ share with two arch dirs.Günther Deschner1-0/+8
Guenther
2010-03-29s3-selftest: Don't log to stdout, use logfiles instead.Andreas Schneider1-3/+3
The logging to the logfiles is more verbose and they can be found in ./st/dc/logs. If you still want to log to stdout start selftest with: SMBD_OPTIONS="-S -d10" make selftest
2010-03-26s3-selftest: set "lpq cache time = 0" in server configuration.Günther Deschner1-0/+1
This fixes currently broken spoolss tests. Guenther
2010-03-25s3-selftest: move printing config to global section.Günther Deschner1-8/+9
Guenther
2010-03-19s3-selftest: rearrange uid/gid calculation to achieve correct membership.Günther Deschner1-25/+33
Guenther
2010-03-18s3-selftest: fix Samba3.pm provisioning after uid/gid changes.Günther Deschner1-3/+3
Guenther
2010-03-18s3-selftest: make sure we do not have duplicate uids/gids in nsswrapper.Günther Deschner1-5/+33
Also make sure we only add root user when needed, Jeremy please check. Guenther
2010-03-17s3-selftest: setup initial eventlog infrastructure.Günther Deschner1-0/+13
Guenther
2010-02-18s3-selftest: include addprinter/deleteprinter command.Günther Deschner1-0/+5
Guenther
2010-01-14s3 selftest: Allow the enumeration of users and groupsKai Blin1-0/+2
This fixes the WINBINDD_GETPWENT test.