summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-12-13build: remove -no-undefined and -as-needed on openbsdMatthieu Patou1-2/+5
This is causing problems with linker Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Dec 13 00:25:38 CET 2010 on sn-devel-104
2010-12-12s4:dsdb/pydsdb.c - don't throw another exception on "PyObject_AsDn"Matthias Dieter Wallnöfer1-1/+1
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 23:40:17 CET 2010 on sn-devel-104
2010-12-12ldb:pyldb.h - revert to the previous header behaviourMatthias Dieter Wallnöfer7-6/+16
"ldb_private.h" is private and therefore might not always be available.
2010-12-12s4:scripting/python/pyglue.c - add a OOM handlingMatthias Dieter Wallnöfer1-0/+4
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 20:50:55 CET 2010 on sn-devel-104
2010-12-12s4:scripting/python/pyglue.c - optimise includesMatthias Dieter Wallnöfer1-4/+0
2010-12-12s4:param/provision.c - optimise includesMatthias Dieter Wallnöfer1-9/+1
2010-12-12s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer5-15/+3
And optimise includes
2010-12-12s4:libcli/finddcs_nbt.c - optimise headersMatthias Dieter Wallnöfer1-2/+0
2010-12-12s4:libnet/py_net.c - add checks for OOM conditionsMatthias Dieter Wallnöfer1-0/+13
2010-12-12s4:dsdb/pydsdb.c and web_server/wsgi.c - remove accidentally introduced ↵Matthias Dieter Wallnöfer2-8/+0
Py_RETURN_NONE This was only thought for Python 2.3 which we generally no longer support (only pyldb in the LDB library is an exception).
2010-12-12s4:lib/ldb-samba/pyldb.c - optimise includesMatthias Dieter Wallnöfer1-3/+1
2010-12-12s4:dsdb/pydsdb.c - clean up memory handlingMatthias Dieter Wallnöfer1-54/+70
- Remove memory contexts when not really useful (if only one allocation) - Try to find out OOM conditions and return correct error codes - Move the parameter parsing always to the beginning (to prevent unneeded allocations in case of errors)
2010-12-12ldb:pyldb - optimise includesMatthias Dieter Wallnöfer3-7/+2
2010-12-12s4:web_server/*.c - optimise includesMatthias Dieter Wallnöfer2-8/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 18:23:05 CET 2010 on sn-devel-104
2010-12-12s4:web_server/wsgi.c - fix a counter typeMatthias Dieter Wallnöfer1-1/+1
2010-12-12s4:web_server/wsgi.c - add missing Python compatibility codeMatthias Dieter Wallnöfer1-0/+11
2010-12-12s4:kdc/*.c - minimise includesMatthias Dieter Wallnöfer8-44/+2
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 15:20:46 CET 2010 on sn-devel-104
2010-12-12s4:smbd/process*.c - fix PID warnings on SolarisMatthias Dieter Wallnöfer3-5/+5
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Dec 12 13:21:13 CET 2010 on sn-devel-104
2010-12-12s4:kdc/proxy.c - optimise includes in order to fix a build warning on Tru64Matthias Dieter Wallnöfer1-6/+1
2010-12-12s4:param/loadparm.c - fix a warning by introducing a "const" castMatthias Dieter Wallnöfer1-1/+1
2010-12-12s4:kdc/kpasswdd.c - don't return an uninitialised NT_STATUSMatthias Dieter Wallnöfer1-2/+1
Discovered by Tru64 build
2010-12-11selftest-s4: Support listing smbtorture4 tests.Jelmer Vernooij1-35/+46
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
2010-12-11smbtorture: Default to listing all tests if no prefix was specified.Jelmer Vernooij1-2/+6
2010-12-11smbtorture: Implement --list argument.Jelmer Vernooij1-10/+45
2010-12-11s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher1-1/+1
I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij117-672/+649
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11smbtorture: correct error handling in BASE-OPEN.James Peach1-71/+104
There are a number of cases in BASE-OPEN where an initial failure cascades into multiple failures due to lack of cleanup between test phases. Fix all these so that they close open file handles correctly. Replace torture_comment with torture_result where appropriate so that the results output contains a useful diagnostic. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Dec 11 03:19:39 CET 2010 on sn-devel-104
2010-12-11heimdal: unset SLIST_ENTRY only if we are with windowsMatthieu Patou1-1/+3
This is needed because otherwise on some OS like netbsd,openbsd,MacOSX. The preprossessing of ./heimdal/lib/gssapi/mech/cred.h on this plateform is broken because mechqueue.h's definition won't be used as SLIST_HEAD is already defined. The definition occurs when net/if.h is included as it includes sys/queue.h Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Dec 11 00:34:51 CET 2010 on sn-devel-104
2010-12-10build: add a function to test if -lc is neededMatthieu Patou1-0/+2
This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
2010-12-10s4-tests: Modified sec_descriptor.py to use the sd_utils helpers.Nadezhda Ivanova1-208/+171
Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Dec 10 11:03:28 CET 2010 on sn-devel-104
2010-12-10s4-tests: Modified acl.py to use the sd_utils helpers.Nadezhda Ivanova1-127/+86
2010-12-10s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova1-0/+79
utils class These methods are used in more than one testsuite now so they are now in a utility class instead of being defined everywhere.
2010-12-10subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2-27/+12
available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
2010-12-10s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2-4/+17
package.
2010-12-10subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij1-0/+2
2010-12-10subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij1-1/+6
different location.
2010-12-10s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij1-2/+1
dist' inclusion of configure)
2010-12-10s4-python: Fix use of bundled modules.Jelmer Vernooij1-1/+1
2010-12-10s4-python: Split up ensure_external_module.Jelmer Vernooij2-10/+23
2010-12-10selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij1-1/+1
2010-12-10smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij4-13/+14
2010-12-10s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij1-9/+17
subunitrun.
2010-12-10selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij1-2/+2
2010-12-10subunitrun: Support --list.Jelmer Vernooij1-3/+8
2010-12-10selftest: add --list option.Jelmer Vernooij1-1/+5
2010-12-10build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou1-1/+1
This function is a wrapper around waf's check_python_header. It avoids searching more than once for the headers bringing a small speed improvement and a better lisibility of the logs. But it's mainly to avoid a nasty bug when python libraries are in path pointed by python_LIBPL (ie. /usr/local/lib/python2.6/config/) instead of python_LIBDIR (ie. /usr/local/lib). On the first call waf will correctly find that in order to link with python libs it needs to add -L$python_LIBPL. But on the next calls of check_python_headers, waf will use both the current library path value (ie. -L/usr/local/lib/python2.6/config) and -L$python_LIBDIR (ie. /usr/local/lib/) which will make him beleive that python libraries are in $python_LIBDIR which at the end will make the final link test fails in check_python_headers as it will not use the good directory. So by avoiding calling check_python_headers more than once we avoid making waf fooling itself.
2010-12-09s4 libcli: Add libcli_echo lib and torture testKai Blin2-0/+3
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
2010-12-09s4: Implement UDP echo server exampleKai Blin4-0/+388
This is a simple UDP-based echo server. It is mainly intended as an example on how to do server service tasks in s4.
2010-12-09s4:pyrpc_util: s/typename/type_name to avoid c++ warningsStefan Metzmacher2-6/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
2010-12-09waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell1-4/+2
we need the vnum for ABI checking for public libraries built as private libraries when bundled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 9 12:47:41 CET 2010 on sn-devel-104