summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:scripting/python/pyglue.c - add a OOM handlingMatthias Dieter Wallnöfer2010-12-121-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
* s4:scripting/python/pyglue.c - optimise includesMatthias Dieter Wallnöfer2010-12-121-4/+0
|
* s4:param/provision.c - optimise includesMatthias Dieter Wallnöfer2010-12-121-9/+1
|
* s4:libcli/finddc.h - fix header dependanciesMatthias Dieter Wallnöfer2010-12-125-15/+3
| | | | And optimise includes
* s4:libcli/finddcs_nbt.c - optimise headersMatthias Dieter Wallnöfer2010-12-121-2/+0
|
* s4:libnet/py_net.c - add checks for OOM conditionsMatthias Dieter Wallnöfer2010-12-121-0/+13
|
* s4:dsdb/pydsdb.c and web_server/wsgi.c - remove accidentally introduced ↵Matthias Dieter Wallnöfer2010-12-122-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).
* s4:lib/ldb-samba/pyldb.c - optimise includesMatthias Dieter Wallnöfer2010-12-121-3/+1
|
* s4:dsdb/pydsdb.c - clean up memory handlingMatthias Dieter Wallnöfer2010-12-121-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)
* ldb:pyldb - optimise includesMatthias Dieter Wallnöfer2010-12-123-7/+2
|
* s4:web_server/*.c - optimise includesMatthias Dieter Wallnöfer2010-12-122-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
* s4:web_server/wsgi.c - fix a counter typeMatthias Dieter Wallnöfer2010-12-121-1/+1
|
* s4:web_server/wsgi.c - add missing Python compatibility codeMatthias Dieter Wallnöfer2010-12-121-0/+11
|
* s4:kdc/*.c - minimise includesMatthias Dieter Wallnöfer2010-12-128-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
* s4:smbd/process*.c - fix PID warnings on SolarisMatthias Dieter Wallnöfer2010-12-123-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
* s4:kdc/proxy.c - optimise includes in order to fix a build warning on Tru64Matthias Dieter Wallnöfer2010-12-121-6/+1
|
* s4:param/loadparm.c - fix a warning by introducing a "const" castMatthias Dieter Wallnöfer2010-12-121-1/+1
|
* s4:kdc/kpasswdd.c - don't return an uninitialised NT_STATUSMatthias Dieter Wallnöfer2010-12-121-2/+1
| | | | Discovered by Tru64 build
* selftest-s4: Support listing smbtorture4 tests.Jelmer Vernooij2010-12-111-35/+46
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 19:32:07 CET 2010 on sn-devel-104
* smbtorture: Default to listing all tests if no prefix was specified.Jelmer Vernooij2010-12-111-2/+6
|
* smbtorture: Implement --list argument.Jelmer Vernooij2010-12-111-10/+45
|
* s4:selftest: use correct name for the test "ECHO-UDP" => "echo.udp"Stefan Metzmacher2010-12-111-1/+1
| | | | | | | | I wonder how commit 35fbc7bbda5851f7172538f79fc79be201f1d521 (s4-smbtorture: Make test names lowercase and dot-separated) ever passed make test. metze
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-11117-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
* smbtorture: correct error handling in BASE-OPEN.James Peach2010-12-111-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
* heimdal: unset SLIST_ENTRY only if we are with windowsMatthieu Patou2010-12-111-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
* build: add a function to test if -lc is neededMatthieu Patou2010-12-101-0/+2
| | | | | This is needed on openbsd as some linking flags makes mandatory to specify the libc for the linking
* s4-tests: Modified sec_descriptor.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-208/+171
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Dec 10 11:03:28 CET 2010 on sn-devel-104
* s4-tests: Modified acl.py to use the sd_utils helpers.Nadezhda Ivanova2010-12-101-127/+86
|
* s4-tests: Moved some commonly redefined security descriptor methods to a ↵Nadezhda Ivanova2010-12-101-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.
* subunitrun: Use unittest.TestProgram if subunit.TestProgram is notJelmer Vernooij2010-12-102-27/+12
| | | | | | | available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Fri Dec 10 03:49:03 CET 2010 on sn-devel-104
* s4-python: Add convenience function for forcibly importing bundledJelmer Vernooij2010-12-102-4/+17
| | | | package.
* subunitrun: Extend hack to cope with older system subunit run installs.Jelmer Vernooij2010-12-101-0/+2
|
* subunitrun: Remove global subunit module when reimporting from aJelmer Vernooij2010-12-101-1/+6
| | | | different location.
* s4-dist: Remove no longer existing files from blacklist (fixes 'makeJelmer Vernooij2010-12-101-2/+1
| | | | dist' inclusion of configure)
* s4-python: Fix use of bundled modules.Jelmer Vernooij2010-12-101-1/+1
|
* s4-python: Split up ensure_external_module.Jelmer Vernooij2010-12-102-10/+23
|
* selftest: Make sure system subunit.run has TestProgram.Jelmer Vernooij2010-12-101-1/+1
|
* smbtorture: Rename --list to --list-suites, add stub --list.Jelmer Vernooij2010-12-104-13/+14
|
* s4-selftest: Add convenience function for running testsuites usingJelmer Vernooij2010-12-101-9/+17
| | | | subunitrun.
* selftest: Allow discovering tests in pure python testsuites.Jelmer Vernooij2010-12-101-2/+2
|
* subunitrun: Support --list.Jelmer Vernooij2010-12-101-3/+8
|
* selftest: add --list option.Jelmer Vernooij2010-12-101-1/+5
|
* build: introduce SAMBA_CHECK_PYTHON_HEADERSMatthieu Patou2010-12-101-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.
* s4 libcli: Add libcli_echo lib and torture testKai Blin2010-12-092-0/+3
| | | | | Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Dec 9 23:57:03 CET 2010 on sn-devel-104
* s4: Implement UDP echo server exampleKai Blin2010-12-094-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.
* s4:pyrpc_util: s/typename/type_name to avoid c++ warningsStefan Metzmacher2010-12-092-6/+6
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Dec 9 17:55:57 CET 2010 on sn-devel-104
* waf: remove the restriction that private libraries must not have a vnumAndrew Tridgell2010-12-091-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
* s4-spnego Match Windows 2008, and no longer supply a name in the CIFS NegprotAndrew Bartlett2010-12-091-10/+1
| | | | | | | Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 9 08:50:28 CET 2010 on sn-devel-104
* s4-lsa Implement kerberos ticket life policyAndrew Bartlett2010-12-097-10/+113
| | | | | | | | We now no longer print tickets with a potentially infinite life, and we report the same life over LSA as we use in the KDC. We should get this from group policy, but for now it's parametric smb.conf options. Andrew Bartlett
* s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett2010-12-092-3/+3
| | | | | | The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett