Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This needs always to be done after a control allocation otherwise we end up in
double-allocations and unexpected behaviour.
|
|
|
|
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
|
|
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Oct 3 04:51:44 UTC 2010 on sn-devel-104
|
|
this can be used to start a test envioronment in screen windows.
Use:
make testenv SCREEN=1 SELFTEST_TESTENV=dc
to launch just one environment (in this case, "dc")
|
|
|
|
|
|
|
|
detect if the prefixmap blob is text or binary using the first 4 bytes
|
|
this ensures that make test detects a failure if samba is killed by
SIGTERM
|
|
you can now do:
make test TESTS="some test" SCREEN=1
while in GNU screen, and all the samba servers will launch in their
own new screen, named after the server name.
You can also do:
make test TESTS="some test" SCREEN=1 VALGRIND_SERVER=1
to run valgrind on each samba server, or
make test TESTS="some test" SCREEN=1 GDBTEST=1
to run gdb on each server
|
|
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Oct 3 01:56:04 UTC 2010 on sn-devel-104
|
|
|
|
1bea031b9404b14114b0272ecbe56e60c567af5c)
|
|
|
|
|
|
Heimdal has it's own dynconfig like system, and so we need the
LIBDIR etc in the CFLAGS here.
We also need to define build rules for the new files imported in
the merge commit, and fix up some header files.
This includes the work by Matthieu Patou <mat@matws.net>
Andrew Bartlett
|
|
42cabfb5b683dbcb97d583c397b897507689e382)
I based this on Matthieu's import of lorikeet-heimdal, and then
updated it to this commit.
Andrew Bartlett
|
|
This allow us to fallback to first credentials given.
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sat Oct 2 23:05:20 UTC 2010 on sn-devel-104
|
|
are supplied on command line and caller doesn't want us
to guess credentials from environment
|
|
This allows us not to hard code timeout we are going to wait for
before failing the test - if DCs are not very busy, we won't wait
at all (speeds up 'make test' by a minute also)
Maximum timeout to wait for is set to 20 secs currently,
which should be enough even for slow machines and tested
DCs being under load
|
|
|
|
by using samba.tests.connect_samdb() helper
|
|
|
|
|
|
Unit-test based python tests require certain input parameters
to be set in environment, otherwise they can't be run
|
|
|
|
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
|
|
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
|
|
This helper makes proper ldb url to connect to
and is a shorthand for test to create SamDB connections
|
|
- 'filter' is built-in
- 'ldb' is a module name we imported
|
|
|
|
|
|
- we have sys module already imported
- _glue module is part of samba package so be more precise how to import
|
|
this is required when talking to RODCs (for notify calls), and is good
practice for all DCs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
this allows you to specify a target SPN for a connection
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
this is more efficient than first searching for the DN, then doing a
search. We should look at using this in lots of existing code
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
directly
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sat Oct 2 03:11:38 UTC 2010 on sn-devel-104
|
|
The spengo code won't set this unless it is allowed to by this
same option, but other callers may need it.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Oct 2 02:27:39 UTC 2010 on sn-devel-104
|
|
we need to ensure we only ever compare USNs from the same originating
invocation ID.
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Oct 2 01:45:19 UTC 2010 on sn-devel-104
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Instead, store the same key value under the multiple alias names.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sat Oct 2 00:16:52 UTC 2010 on sn-devel-104
|
|
All DCs and all krbtgt servers are forced to use AES, regardless
of the msDS-SecondaryKrbTgtNumber value.
Andrew Bartlett
|
|
Previously, our PAC code didn't include these groups into the
server_info from which we would eventually calculate the full
list of tokenGroups.
Andrew Bartlett
|
|
Andrew Bartlett
|
|
Some hdb modules (samba4) may change the case of the realm in
a returned result. Use that to determine if it matches the krbtgt
realm also returned from the DB (the DB will return it in the 'right' case)
Andrew Bartlett
|
|
Guenther
|
|
Guenther
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|