summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-12s4-ldb: use KRB5_KEY macros to access key elements.Günther Deschner1-8/+8
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12wafsamba: point out that local heimdal paths are not included whenGünther Deschner1-0/+1
USING_SYSTEM_KRB5 gets set. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure localGünther Deschner1-1/+2
heimdal. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12waf: when building with system krb5, we do not need to build local heimdal.Günther Deschner1-1/+2
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12s3-waf: remove requirement of having --enable-developer for running system ↵Günther Deschner1-1/+1
krb5 checks. When you know about "with_mit_krb5_checks" you are most likely a developer already. Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2012-04-12Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison2-18/+2
should just do it. Still trying to fix the buildfarm. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 12 04:28:29 CEST 2012 on sn-devel-104
2012-04-11Try and fix autoconf on the build farm. Always include sys/types.h when ↵Jeremy Allison1-0/+2
working out sizeof(blkcnt_t).
2012-04-11s3:smbd only care about missing level2 support if kernel oplocks are enabledChristian Ambach1-4/+10
if kernel oplocks are not enabled for that share, we can grant level2 oplocks Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 22:45:21 CEST 2012 on sn-devel-104
2012-04-11s3:smbd only initialize kernel oplocks if they are enabled for a shareChristian Ambach1-0/+4
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11s3:smbd add seperate function to initialize kernel oplocksChristian Ambach2-3/+8
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11docs: update kernel oplocks documentationChristian Ambach1-2/+7
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11s3:param convert kernel oplocks to share parameterChristian Ambach4-9/+7
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-11build: Fix spelling of teventAndrew Bartlett1-1/+1
Found by metze. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 17:36:19 CEST 2012 on sn-devel-104
2012-04-11build: use include paths for pkg-config found librariesAndrew Bartlett3-15/+23
2012-04-11lib/tdb_compat: Do not define BUILD_TDB2 if we are not building tdb2Andrew Bartlett1-3/+1
The simple fact that this was defined at all, even to false, caused some of the tdb2 build code to run. Andrew Bartlett
2012-04-11s4-smb2: Fix a talloc crash bug.Andreas Schneider1-2/+2
The talloc context needs to be initialzed or NULL. So move talloc_steal() to the position where req is initialized. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Apr 11 15:59:39 CEST 2012 on sn-devel-104
2012-04-11Simplify the logic around doing an immediate event reschedule.Jeremy Allison1-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
2012-04-11s4:dsdb/samdb/ldb_modules/schema.c - move "get_last_structural_class()" into ↵Matthias Dieter Wallnöfer6-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
2012-04-11s4:dsdb/samdb/ldb_modules/schema.c - inline "get_oc_guid_from_message()" to ↵Matthias Dieter Wallnöfer2-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()".
2012-04-11s4:dsdb - introduce a only constant-time "get_last_structural_class()" callMatthias Dieter Wallnöfer3-37/+18
With the redesign of the previous patches this has become possible.
2012-04-11s4:dsdb/samdb/ldb_modules/schema.c - inline "acl_check_access_on_class" to ↵Matthias Dieter Wallnöfer2-46/+47
its only user Reduce the number of not to be shared functions in "schema.c".
2012-04-11s4:dsdb - move "objectclass_sort()" out from the objectclass LDB module into ↵Matthias Dieter Wallnöfer2-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.
2012-04-11s4:acl LDB module - remove set but unused variablesMatthias Dieter Wallnöfer1-5/+0
2012-04-11s4:objectclass LDB module - remove unneeded build dependenciesMatthias Dieter Wallnöfer1-1/+1
2012-04-11LDB:ldb_msg.c - add another OOM check in "ldb_msg_copy()"Matthias Dieter Wallnöfer1-0/+1
2012-04-11s4:schema/schema_query.c - fix a commentMatthias Dieter Wallnöfer1-1/+1
2012-04-11s4:schema/schema_init.c - better use "ldb_attr_cmp" instead of "strcasecmp"Matthias Dieter Wallnöfer1-1/+1
LDB convention
2012-04-11s4:dsdb/pydsdb.c - fix indentationMatthias Dieter Wallnöfer1-1/+1
2012-04-11on our way with Samba 4.0alpha20Andrew Bartlett1-2/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 11 04:04:18 CEST 2012 on sn-devel-104
2012-04-11prepare WHATSNEW for Samba 4.0alpha19 release and mark as release.Andrew Bartlett2-32/+37
2012-04-11ccan: Fix failtest on Fedora 16 as stdlib.h does not imply malloc.hAndrew Bartlett1-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
2012-04-11remove --enable-developer from samba4-libs autobuildAndrew Bartlett1-5/+5
This will ensure everything works for end users without --enable-developer. Andrew Bartlett
2012-04-11remove --enable-developer from recursive waf build in autoconf buildAndrew Bartlett1-1/+1
wanting to run make test does not make you a developer in need of ABI checking. Andrew Bartlett
2012-04-11buildtools: Add --enable-debug optionAndrew Bartlett2-0/+7
2012-04-11.gitignore: ignore MYMETA.ymlAndrew Bartlett1-0/+1
2012-04-11build: search for talloc, tdb, tevent in non-standard system locationsAndrew Bartlett1-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
2012-04-11build: Add tevent deps for users of tevent callsAndrew Bartlett1-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
2012-04-11Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison5-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
2012-04-10pidl/NDR/Parser: also do range checks on the array sizeStefan Metzmacher1-5/+20
metze Autobuild-User: Karolin Seeger <kseeger@samba.org> Autobuild-Date: Tue Apr 10 18:21:59 CEST 2012 on sn-devel-104
2012-04-10pidl/NDR/Parser: do array range validation in ParseArrayPullGetLength()Stefan Metzmacher1-28/+14
metze
2012-04-10pidl/NDR/Parser: use helper variables for array size and lengthStefan Metzmacher1-7/+15
metze
2012-04-10pidl/NDR/Parser: remember if we already know the array lengthStefan Metzmacher1-1/+7
metze
2012-04-10pidl/NDR/Parser: use ParseArrayPullGetLength() to get the number of array ↵Stefan Metzmacher1-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
2012-04-10pidl/NDR/Parser: split off ParseArrayPullGetSize() and ParseArrayPullGetLength()Stefan Metzmacher1-13/+42
metze
2012-04-10pidl/NDR/Parser: simplify logic in DeclareArrayVariables*()Stefan Metzmacher1-8/+6
metze
2012-04-10pidl/NDR/Parser: declare all union helper variables in ParseUnionPull()Stefan Metzmacher1-2/+2
metze
2012-04-10s3: Use talloc_get_size instead of strlenVolker Lendecke1-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
2012-04-10ldb-tools: Place the whole of an ldif file in a transactionAndrew Bartlett7-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
2012-04-10ldb: Allow access to the line number while reading ldif from a fileAndrew Bartlett5-7/+281
2012-04-10ldb: Detect failures in ldb.base againAndrew Bartlett4-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