summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Simplify the logic around doing an immediate event reschedule.Jeremy Allison2012-04-111-23/+7
| | | | | | | | We don't need to do a talloc here, we already have a long-lived pointer we can pass in as the private data. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 08:05:47 CEST 2012 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/schema.c - move "get_last_structural_class()" into ↵Matthias Dieter Wallnöfer2012-04-116-83/+46
| | | | | | | | | "util.c" And remove this helper module - it does not have much sense keeping it. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 06:31:51 CEST 2012 on sn-devel-104
* s4:dsdb/samdb/ldb_modules/schema.c - inline "get_oc_guid_from_message()" to ↵Matthias Dieter Wallnöfer2012-04-112-18/+23
| | | | | | | its only user Reduce the number of not to be shared functions in "schema.c". Change it to make use of "get_last_structural_class()".
* s4:dsdb - introduce a only constant-time "get_last_structural_class()" callMatthias Dieter Wallnöfer2012-04-113-37/+18
| | | | With the redesign of the previous patches this has become possible.
* s4:dsdb/samdb/ldb_modules/schema.c - inline "acl_check_access_on_class" to ↵Matthias Dieter Wallnöfer2012-04-112-46/+47
| | | | | | its only user Reduce the number of not to be shared functions in "schema.c".
* s4:dsdb - move "objectclass_sort()" out from the objectclass LDB module into ↵Matthias Dieter Wallnöfer2012-04-112-217/+200
| | | | | | | | | | the schema code This allows it to be useful for the dbchecker utility in respect to object class problems. Fix up the API to only work with standardised LDB "ldb_message_element" structures which do allow much easier interoperations. As a consequence this leads to some changes in the objectclass module as well.
* s4:acl LDB module - remove set but unused variablesMatthias Dieter Wallnöfer2012-04-111-5/+0
|
* s4:objectclass LDB module - remove unneeded build dependenciesMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* LDB:ldb_msg.c - add another OOM check in "ldb_msg_copy()"Matthias Dieter Wallnöfer2012-04-111-0/+1
|
* s4:schema/schema_query.c - fix a commentMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp"Matthias Dieter Wallnöfer2012-04-111-1/+1
| | | | LDB convention
* s4:dsdb/pydsdb.c - fix indentationMatthias Dieter Wallnöfer2012-04-111-1/+1
|
* on our way with Samba 4.0alpha20Andrew Bartlett2012-04-111-2/+2
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 04:04:18 CEST 2012 on sn-devel-104
* prepare WHATSNEW for Samba 4.0alpha19 release and mark as release.Andrew Bartlett2012-04-112-32/+37
|
* ccan: Fix failtest on Fedora 16 as stdlib.h does not imply malloc.hAndrew Bartlett2012-04-111-0/+4
| | | | | | | | The issue is that there are two different sources of the malloc prototype, and they both need to be included otherwise the failtest overrides chokes on the headers. Andrew Bartlett
* remove --enable-developer from samba4-libs autobuildAndrew Bartlett2012-04-111-5/+5
| | | | | | This will ensure everything works for end users without --enable-developer. Andrew Bartlett
* remove --enable-developer from recursive waf build in autoconf buildAndrew Bartlett2012-04-111-1/+1
| | | | | | wanting to run make test does not make you a developer in need of ABI checking. Andrew Bartlett
* buildtools: Add --enable-debug optionAndrew Bartlett2012-04-112-0/+7
|
* .gitignore: ignore MYMETA.ymlAndrew Bartlett2012-04-111-0/+1
|
* build: search for talloc, tdb, tevent in non-standard system locationsAndrew Bartlett2012-04-111-5/+21
| | | | | | | This is needed because the s3 includes.h directly mentions these headers, but not every part of s3 depends on these directly. Andrew Bartlett
* build: Add tevent deps for users of tevent callsAndrew Bartlett2012-04-111-3/+3
| | | | | | | | | This isn't strictly required - this isn't a build break at the moment, but is a good practice to directly depend on the major libraries we use, and helps us to have more fine-grained rather than global dependencies. Andrew Bartlett
* Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison2012-04-115-0/+786
| | | | | | | to follow. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 02:29:04 CEST 2012 on sn-devel-104
* pidl/NDR/Parser: also do range checks on the array sizeStefan Metzmacher2012-04-101-5/+20
| | | | | | | metze Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Tue Apr 10 18:21:59 CEST 2012 on sn-devel-104
* pidl/NDR/Parser: do array range validation in ParseArrayPullGetLength()Stefan Metzmacher2012-04-101-28/+14
| | | | metze
* pidl/NDR/Parser: use helper variables for array size and lengthStefan Metzmacher2012-04-101-7/+15
| | | | metze
* pidl/NDR/Parser: remember if we already know the array lengthStefan Metzmacher2012-04-101-1/+7
| | | | metze
* pidl/NDR/Parser: use ParseArrayPullGetLength() to get the number of array ↵Stefan Metzmacher2012-04-101-5/+1
| | | | | | | | | elements (bug #8815 / CVE-2012-1182) An anonymous researcher and Brian Gorenc (HP DVLabs) working with HP's Zero Day Initiative program have found this and notified us. metze
* pidl/NDR/Parser: split off ParseArrayPullGetSize() and ParseArrayPullGetLength()Stefan Metzmacher2012-04-101-13/+42
| | | | metze
* pidl/NDR/Parser: simplify logic in DeclareArrayVariables*()Stefan Metzmacher2012-04-101-8/+6
| | | | metze
* pidl/NDR/Parser: declare all union helper variables in ParseUnionPull()Stefan Metzmacher2012-04-101-2/+2
| | | | metze
* s3: Use talloc_get_size instead of strlenVolker Lendecke2012-04-101-1/+1
| | | | | | | | We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104
* ldb-tools: Place the whole of an ldif file in a transactionAndrew Bartlett2012-04-107-16/+136
| | | | | | | | | | | | | | This ensures that when operating ldbadd and ldbmodify against local ldb files, either an ldif file succeeds or fails as a whole. Also tests to verify that this is working correctly, and an ABI bump due to the extra (private, but exported to ldb* tools) symbol and behaviour change. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 10 11:14:43 CEST 2012 on sn-devel-104
* ldb: Allow access to the line number while reading ldif from a fileAndrew Bartlett2012-04-105-7/+281
|
* ldb: Detect failures in ldb.base againAndrew Bartlett2012-04-104-6/+16
| | | | | | | | | We need to wrap the ldb tests in the subunit blackbox helpers. We also needed to change to the right directory, or else the :< file:// syntax check does not work, as samba4.png is not found. Andrew Bartlett
* Revert "ldb: Permit desactivation of autocomit for every ldb_xxx_ctrl function"Andrew Bartlett2012-04-108-28/+23
| | | | | | | | | This reverts commit 40a4aea8918c2637703af03383f440d068820e48. Autocommit is important, as otherwise an ldb module could error out during an operation, and leave an corrupt database. Andrew Bartlett
* On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2012-04-105-11/+14
| | | | | | | libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
* wafsamba/bundled: Fix typo in tuplize_version.Jelmer Vernooij2012-04-103-1/+29
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Apr 10 02:21:39 CEST 2012 on sn-devel-104
* wafsamba: Parse Python versions as integers separated by dots.Jelmer Vernooij2012-04-091-1/+4
| | | | | | | This causes tdb "1.2.10" to no longer be considered older than "1.2.9". Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Apr 9 23:16:17 CEST 2012 on sn-devel-104
* Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison2012-04-095-12/+18
| | | | | | | platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
* libreplace: We have a poll replacement based on selectVolker Lendecke2012-04-091-0/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 9 19:39:51 CEST 2012 on sn-devel-104
* tevent: Fix a typoVolker Lendecke2012-04-091-1/+1
|
* s3: Fix the pthreadpool build on OS/XVolker Lendecke2012-04-091-0/+1
| | | | | OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
* s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke2012-04-091-0/+19
|
* s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke2012-04-091-19/+22
|
* s3: Move the aio signal init to the vfs moduleVolker Lendecke2012-04-093-21/+16
| | | | | | On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well.
* autobuild: Also test a distribution-style build with external libsAndrew Bartlett2012-04-091-1/+24
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 9 10:06:38 CEST 2012 on sn-devel-104
* wafsamba: Return missing libs rather than last syslib.Jelmer Vernooij2012-04-081-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 8 05:31:15 CEST 2012 on sn-devel-104
* s3: Compile fix for dbwrap_file.cVolker Lendecke2012-04-071-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
* Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting ↵Jeremy Allison2012-04-071-9/+10
| | | | | | | | | | | directory and veto files are enabled. The delete tokens are unique to each name hash representing a pathname, if we don't correctly return here we'll add duplicate tokens for a given pasname hash. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 7 02:13:58 CEST 2012 on sn-devel-104
* Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison2012-04-063-0/+53
| | | | | | | | it is on a 32-bit system and defined as a long, then inside vfswrap_get_alloc_size() we cast to a uint64_t. This sign-extends when converting to unsigned, so if the high bit of st_ex_blksize is set we return insane values to clients.