summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* replace: Fix use of mktempSimo Sorce2012-04-261-2/+2
| | | | | | | | mktemp always returns the template, so checking for NULL doesn't cactch any error. Errors are reported by turning the template into an empty string. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 26 16:14:24 CEST 2012 on sn-devel-104
* addns: clean up headersSimo Sorce2012-04-261-33/+0
| | | | All this stuff is already included properly in the replace headers on top.
* lib/replace: split out GSSAPI from lib/replace/system/kerberos.h into ↵Alexander Bokovoy2012-04-254-16/+57
| | | | | | | | | | | | | | lib/replace/system/gssapi.h With waf build include directories are defined by dependencies specified to subsystems. Without proper dependency <gssapi/gssapi.h> cannot be found for embedded Heimdal builds when there are no system-wide gssapi/gssapi.h available. Split out GSSAPI header includes in a separate replacement header and use that explicitly where needed. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Wed Apr 25 00:18:33 CEST 2012 on sn-devel-104
* s3: Attempt to fix the build without kerberosVolker Lendecke2012-04-241-7/+6
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 24 15:04:14 CEST 2012 on sn-devel-104
* talloc: Fix copy&paste errorsVolker Lendecke2012-04-241-2/+2
|
* Talloc doc: talloc_strdup_append does not return duplicated stringPavel Březina2012-04-241-4/+4
|
* Talloc doc: when s == NULL in _append functionsPavel Březina2012-04-241-0/+12
|
* Avoid warning about KRB5_DEPRECATE with MIT libsSimo Sorce2012-04-231-0/+4
|
* krb5_samba: Add support for krb5_princ_size when using HeimdalSimo Sorce2012-04-231-0/+8
|
* Make krb5 wrapper library common so they can be used all overSimo Sorce2012-04-233-0/+1976
|
* loadparm: Add helper function to fetch default lifetime policiesSimo Sorce2012-04-192-0/+24
| | | | | | This use long to fetch time_t quantities, because there are architectures were time_t is a signed long but long != int, So long is the proper way to deal with it.
* loadparm: Add convenience function to return long integersSimo Sorce2012-04-191-0/+25
|
* loadparm: Fix broken lp_ulong utility functionSimo Sorce2012-04-191-2/+2
|
* Move README file in the right place.Simo Sorce2012-04-191-0/+4
| | | | Someone forgot to move the README when they moved the code ...
* Fix bug #8877 - Syslog broken owing to mistyping of debug_settings.syslog.Joseph Tam2012-04-201-1/+1
| | | | | | | | | | | | | Setting "syslog only = yes" did not divert log messages to syslog. The test in lib/util/debug.c:Debug1():747 if( syslog_level < state.settings.syslog ) produces wrong results since .syslog is typed "bool" rather than "int". The attached patch fixes this by typing this field correctly as "int". Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 20 00:06:12 CEST 2012 on sn-devel-104
* Talloc doc: Fix a cut&paste errorVolker Lendecke2012-04-181-4/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 11:59:49 CEST 2012 on sn-devel-104
* Talloc doc: talloc_pool() when not enough memory in the poolPavel Březina2012-04-181-0/+4
|
* Talloc doc: TALLOC_FREE_FILLPavel Březina2012-04-181-0/+5
|
* Talloc doc: talloc_set_log_stderr()Pavel Březina2012-04-181-0/+7
| | | | Documents this function.
* Talloc doc: talloc_set_log_fn()Pavel Březina2012-04-181-0/+9
| | | | Documents this function.
* Talloc doc: talloc_set_abort_fn()Pavel Březina2012-04-181-2/+33
| | | | Documents this function.
* Talloc doc: talloc_asprintf_append_buffer()Pavel Březina2012-04-181-0/+22
| | | | Explains the difference between _append and _append_buffer.
* Talloc doc: talloc_strndup_append_buffer()Pavel Březina2012-04-181-2/+22
| | | | Explains the difference between _append and _append_buffer.
* Talloc doc: talloc_strndup_append()Pavel Březina2012-04-181-2/+12
| | | | The destination string is reallocated instead of duplicating the result.
* Talloc doc: talloc_strdup_append_buffer()Pavel Březina2012-04-181-1/+22
| | | | Explains the difference between _append and _append_buffer.
* Talloc doc: talloc_strdup_append()Pavel Březina2012-04-181-4/+18
| | | | The destination string is reallocated instead of duplicating the result.
* replace: added ENOATTR define if undefinedAndrew Tridgell2012-04-181-0/+8
| | | | | | | this fixes the build of the tdb xattr wrapper code on systems without xattr headers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* LDB:ldb_tdb/ldb_tdb.c - allow LDB modify replaces with different value orderingMatthias Dieter Wallnöfer2012-04-181-3/+10
| | | | | | This is essential for fixing up wrong ordered "objectClass" attributes. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb: added ldb_msg_element_equal_ordered()Andrew Tridgell2012-04-185-1/+286
| | | | | this gives us a order sensitive msg element comparison. We need this to allow dbcheck to fix the order of objectClass attributes.
* lib/util: Move map_nt_error_from_tdb to the top levelAndrew Bartlett2012-04-182-1/+70
| | | | | | This will help with making dbwrap available as a top level library. Andrew Bartlett
* tsocket: Fix a couple of typos and spellings in tsocket_guide.txtMichael Adam2012-04-171-26/+27
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Apr 17 14:41:53 CEST 2012 on sn-devel-104
* tdb-compat: Add tdb_chainlock_nonblockVolker Lendecke2012-04-172-0/+26
|
* param: harmonise wins parametersAndrew Bartlett2012-04-161-8/+8
|
* lib/param: swap preferred name for 'lock dir' to match s3Andrew Bartlett2012-04-161-2/+2
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-40/+80
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* param: harmonsise logfile parameterAndrew Bartlett2012-04-161-1/+2
|
* param: Merge common param elements by adding .flagsAndrew Bartlett2012-04-161-17/+34
| | | | | | | This removes the difference between many of the key elements of the global parameters table, and makes it easier to merge the two tables. Andrew Bartlett
* Remove overly complex attemt to define blkcnt_t and blksize_t. AC_CHECK_TYPE ↵Jeremy Allison2012-04-121-12/+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
* s3:param convert kernel oplocks to share parameterChristian Ambach2012-04-111-0/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* lib/tdb_compat: Do not define BUILD_TDB2 if we are not building tdb2Andrew Bartlett2012-04-111-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
* LDB:ldb_msg.c - add another OOM check in "ldb_msg_copy()"Matthias Dieter Wallnöfer2012-04-111-0/+1
|
* 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
* 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-103-4/+15
| | | | | | | | | 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-103-8/+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
* Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison2012-04-092-0/+10
| | | | | | | 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
|