Volker Lendecke
48dccbf2b5
s3: Move #define VALGRIND to config.h
...
This fixes the valgrind overrun in the tdb jenkins hash
2010-10-03 12:03:36 +02:00
Stefan Metzmacher
d05ae9451a
s4:rpc_server/echo: fix compiler warning
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Oct 3 09:41:51 UTC 2010 on sn-devel-104
2010-10-03 09:41:51 +00:00
Volker Lendecke
ff48f7c00c
s3: Attempt to fix the IRIX build
2010-10-03 10:54:28 +02:00
Volker Lendecke
97b76364e7
s3: Attempt to fix a ton of warnings on the build farm
2010-10-03 10:51:08 +02:00
Volker Lendecke
c87d4e5ddb
s3: Remove talloc_autofree_context() from dmapi.c
...
This is a place where an explicit dmapi_destroy_session would be needed. But we
don't use a destructor for this.
2010-10-03 10:45:57 +02:00
Volker Lendecke
414cd919ff
s3: Remove talloc_autofree_context() from unexpected.c
...
Same argument as in 997a64f6fb11e19d78c: If tdb_close() was needed at exit
time, we'd have more severe problems by now.
2010-10-03 10:45:57 +02:00
Volker Lendecke
da0ef65e04
s3: Remove talloc_autofree_context() from srv_samr_nt.c
...
The dispinfo structs need to survive within a process across pipe opens,
but they don't have a special destructor
2010-10-03 10:45:57 +02:00
Volker Lendecke
41b54a8931
s3: Remove talloc_autofree_context from pdb_interface
...
None of the pdb backends have special destructors that need to be run at
program exit.
2010-10-03 10:45:56 +02:00
Andrew Tridgell
32ec1b36e0
s4-kcc: silence "Testing kcctpl_create_intersite_connections" message
...
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sun Oct 3 04:51:44 UTC 2010 on sn-devel-104
2010-10-03 04:51:44 +00:00
Andrew Tridgell
dfb664a182
s4-selftest: support 'make testenv SCREEN=1'
...
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")
2010-10-02 21:11:53 -07:00
Andrew Tridgell
29e1a847dd
s4-selftest: silence warnings about bind chown
2010-10-02 21:11:52 -07:00
Andrew Tridgell
3bb59255bb
s4-test: silence a tap2subunit error
2010-10-02 21:11:52 -07:00
Andrew Tridgell
762ad1c4ba
s4-test: silence the Failed to chown message in make test
2010-10-02 21:11:52 -07:00
Andrew Tridgell
e36f20d39d
s4-ldif: get rid of the ndr_pull_error message on startup
...
detect if the prefixmap blob is text or binary using the first 4 bytes
2010-10-02 21:11:52 -07:00
Andrew Tridgell
87f0145d07
s4-server: exit with status 127 on SIGTERM
...
this ensures that make test detects a failure if samba is killed by
SIGTERM
2010-10-02 21:11:52 -07:00
Andrew Tridgell
b772871f4c
s4-selftest: added --screen option for test
...
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
2010-10-02 21:11:52 -07:00
Andrew Tridgell
507c413e48
s4-selftest: fixed up exit codes on signals for make test
...
also set $ENVNAME in launched servers
2010-10-02 21:11:52 -07:00
Jelmer Vernooij
60e25ab06b
land: Force always emailing when there is no other mechanism of progress reporting.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
0bb970dd81
land: Attach tarball of logs rather than individual logs to keep the
...
mail size reasonable.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
997165b23e
land: Some cosmetic fixes.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
288b217a8f
land: Attach test output files to result emails.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
f6b254c65d
land: Add --revision argument.
2010-10-03 05:25:18 +02:00
Jelmer Vernooij
d8e81a19de
land-remote: Run remote land command unbuffered.
2010-10-03 05:25:17 +02:00
Andrew Bartlett
0e11d18d14
s4-kdc Fix up after import of new lorikeet-heimdal
...
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Sun Oct 3 01:56:04 UTC 2010 on sn-devel-104
2010-10-03 01:56:04 +00:00
Andrew Bartlett
f213a97ea0
Add new files for sha512 support
2010-10-03 01:15:04 +00:00
Andrew Bartlett
21460dfc14
s4:heimdal: import lorikeet-heimdal-201010022046 (commit 1bea031b9404b14114b0272ecbe56e60c567af5c)
2010-10-03 01:15:04 +00:00
Andrew Bartlett
a2c4f54dfb
s4-heimdal We don't need HDBDIR any more
2010-10-03 01:15:04 +00:00
Matthieu Patou
f02d82595f
heimdal: change the version string
2010-10-03 01:15:04 +00:00
Andrew Bartlett
3ca886b835
s4-heimdal_build fix up build after heimdal import
...
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
2010-10-03 01:15:04 +00:00
Matthieu Patou
ab6e3fce04
s4:heimdal: import lorikeet-heimdal-201009250123 (commit 42cabfb5b683dbcb97d583c397b897507689e382)
...
I based this on Matthieu's import of lorikeet-heimdal, and then
updated it to this commit.
Andrew Bartlett
2010-10-03 01:15:04 +00:00
Kamen Mazdrashki
197a1514d6
s4-ldapcmp.py: Don't guess credentials for second Credentials object
...
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
2010-10-02 23:05:20 +00:00
Kamen Mazdrashki
da0f3bd229
s4-getopt.py: Make Anonymous creds when no credentials
...
are supplied on command line and caller doesn't want us
to guess credentials from environment
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
d385d9a317
s4-test-fsmo.py: Implement kind of busy-wait for role transfer
...
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
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
657d4d8812
s4-test-dsdb_schema_info.py: Get rid of global module variables
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
83a15155eb
s4-test-dsdb_schema_info.py: Simplify connection SamDB
...
by using samba.tests.connect_samdb() helper
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
2a23f0d524
s4-test-fsmo.py: Use common implementation for env_get_var_value()
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
c05180caa7
s4-test-delete_object.py: Use common implementation for env_get_var_value()
2010-10-03 01:24:57 +03:00
Kamen Mazdrashki
302e1d29d8
s4-python-test: Common implementation for getting environment variable value
...
Unit-test based python tests require certain input parameters
to be set in environment, otherwise they can't be run
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
6546127b64
s4-python-samba: Remove trailing ';'s
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
6bc7c015fb
s4-test-fsmo.py: Use common implementation for connect_samdb()
...
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
98e4d2702a
s4-test-delete_object.py: Use common implementation for connect_samdb()
...
Connections are restricted to LDAP only (remote),
as this test can't be run against local LDBs
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
7acbb7346f
s4-python-test: Implement global connect_samdb() function
...
This helper makes proper ldb url to connect to
and is a shorthand for test to create SamDB connections
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
46ac1c3b47
s4-samba.samdb: Fix masking names from outer context
...
- 'filter' is built-in
- 'ldb' is a module name we imported
2010-10-03 01:24:56 +03:00
Kamen Mazdrashki
0cb476fb26
s4-python-samba: 'file' is a built-in
2010-10-03 01:24:55 +03:00
Kamen Mazdrashki
edfb8c64f6
s4-samba.samdb: Fix leading indention and trailing ';'
2010-10-03 01:24:55 +03:00
Kamen Mazdrashki
e9620c5fd2
s4-python-samba: Fix few cosmetics
...
- we have sys module already imported
- _glue module is part of samba package so be more precise how to import
2010-10-03 01:24:55 +03:00
Volker Lendecke
24f1893b5d
s3: Attempt to fix the non-ads build
2010-10-03 00:17:44 +02:00
Jelmer Vernooij
b9bef1fd3f
land-remote: Pass extra arguments on to land.
2010-10-03 00:04:59 +02:00
Jelmer Vernooij
22f633d094
pytdb: Include Python.h first to prevent warning.
2010-10-02 23:40:19 +02:00
Jelmer Vernooij
5cdef70823
subunithelper: Remove accidentally added line.
2010-10-02 23:32:12 +02:00