Age | Commit message (Collapse) | Author | Files | Lines |
|
We need to reset the umask in order to set to the desired permissions.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon May 23 13:26:33 CEST 2011 on sn-devel-104
|
|
Signed-off-by: Andrew Tridgell <tridge@samba.org>
|
|
This will make it easier to write code that uses the whole codebase.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
|
|
This will allow us to test a user added via smbpasswd as well as the
administrator added by provision.
Andrew Bartlett
|
|
This also avoids creating the directory, as the startup routines will
create it with the correct permissions.
Andrew Bartlett
|
|
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
|
|
|
|
|
|
metze
|
|
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>
|
|
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Apr 28 07:34:31 CEST 2011 on sn-devel-104
|
|
|
|
The previous code was too subtle, and tried to filter via two xfail
scripts. The --fail-immediately for the source3 knownfail would then
fail samba4 know failures.
Andrew Bartlett
Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
|
|
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
|
|
This kills off everything without a proper shutdown, and is difficult
to debug.
Andrew Bartlett
|
|
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
|
|
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
|
|
Now that we have emulated DNS, we can test Samba with the default name
resolve order.
Andrew Bartlett
|
|
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
|
|
this check was causing the CP850 warning in the combined build, as the
s3 tests want CP850, but we don't have builtin support for that
charset
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Apr 27 09:31:44 CEST 2011 on sn-devel-104
|
|
There is no need to pass it as a function pointer, just put it in 'Samba.pm'.
Andrew Bartlett
|
|
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
|
|
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
|
|
|
|
It is much more reliable to specify it as a direct parameter, and this
is needed for the combined 'make test'.
Andrew Bartlett
|
|
|
|
Andrew Bartlett
|
|
This will avoid a conflict with the s3 'member' environment.
Andrew Bartlett
|
|
This avoids a conflict when we merge the test suites.
|
|
Andrew Bartlett
|
|
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
|
|
This should make it easier to change the IP address.
Andrew Bartlett
|
|
This should avoid a clash with the s4 DC environment in a future
combined 'make test'.
Andrew Bartlett
|
|
This reduces some of the clutter when we have quite so many server
configurations starting.
The one case that actually needs an alias (dc environment for the
test_nmblookup.sh test) will still keep it.
Andrew Bartlett
|
|
This will allow us to have a 'switch' target type that creates
environments from Samba3 or Samba4 as required.
Andrew Bartlett
|
|
This is selected with for example
./buildtools/bin/waf test --target=samba3
Andrew Bartlett
|
|
The intereactions between selftest.pl and the target are now too
complex to unit test like this any more.
Andrew Bartlett
|
|
|
|
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
|
|
|
|
Just have BINDIR, and have it default to ./bin
Andrew Bartlett
|
|
|
|
This will allow a mapping to be made between things like smbtorture4
-> smbtorture that is correct for the different build environments.
Andrew Bartlett
|
|
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
|
|
The "rpc_proxy" should behave like "member", just with a different
configuration.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Apr 7 15:52:25 CEST 2011 on sn-devel-104
|
|
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
|
|
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
|
|
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
|
|
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
|
|
This uses a pre-calculated credentials cache, that should be valid
until 2036.
Andrew Bartlett
|