summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* ccan: Only build ccan-failtest when we are in developer modeAndrew Bartlett2012-06-072-32/+50
| | | | | | | | | | | | | | | From: Andrew Bartlett <abartlet@samba.org> This code is incredibly useful, but is only needed in test code and may not be perfectly portable. It has compiled on all systems bar Solaris so far, but rather than make it a requirement to build Samba, just keep it for development. Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User(master): Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date(master): Thu Jun 7 18:53:12 CEST 2012 on sn-devel-104
* lib/tdb2: build tests when built at toplevel.Rusty Russell2012-06-071-23/+94
| | | | | | | | | They weren't being built when we were at top-level, because the globs were wrong. Just open-code the test names, which always works. Reported-by: Andrew Bartlett Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* util: fix build on platforms without IPv6 supportBjörn Jacke2012-06-071-1/+1
| | | | | | | something like this on World IPv6 Day II ... ;-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 7 03:09:49 CEST 2012 on sn-devel-104
* lib/replace: Fix snprintf() override for systems with a broken snprintf()Andrew Bartlett2012-06-061-1/+1
| | | | | | This ensures we provide the replacement functions that we need. Andrew Bartlett
* s3:build(autoconf): fix "no AC_LANG_SOURCE call detected" warningsMartin Schwenke2012-06-051-36/+36
| | | | | | | | | | | | | Autoconf 2.68 NEWS says: ** The macros AC_PREPROC_IFELSE, AC_COMPILE_IFELSE, AC_LINK_IFELSE, and AC_RUN_IFELSE now warn if the first argument failed to use AC_LANG_SOURCE or AC_LANG_PROGRAM to generate the conftest file contents. A new macro AC_LANG_DEFINES_PROVIDED exists if you have a compelling reason why you cannot use AC_LANG_SOURCE but must avoid the warning. Signed-off-by: Martin Schwenke <martin@meltin.net>
* libreplace: Add copyrights to ease tracking of this file in futureAndrew Bartlett2012-06-051-0/+2
| | | | | | | | | | | As GIT didn't realise this was a copy out of lib/system.c, this should make it easier to track the copyright holders on this file. Herb's name wasn't on the original file, but was the only other author I could find in the git logs. I've added my copyright here too. Andrew Bartlett
* libreplace: Remove autoconf build systemAndrew Bartlett2012-06-059-3648/+0
| | | | | | This leaves the parts required to build libreplace as a static lib for the autoconf build Andrew Bartlett
* libreplace: Ensure we link xattr.c on MacOSAndrew Bartlett2012-06-041-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jun 4 02:36:55 CEST 2012 on sn-devel-104
* lib/krb5_wrap: Remove unused smb_krb5_get_credsAndrew Bartlett2012-06-032-125/+0
| | | | | | | | | | | | | | | | | | | | | | Found by callcatcher This has been unsused since commit 61f0b247633501d6bf4103ca8345048e537c043d Author: Günther Deschner <gd@samba.org> Date: Thu Nov 12 15:42:03 2009 +0100 s3-kerberos: remove smb_krb5_get_tkt_from_creds(). Now that cli_krb5_get_ticket() already handles S4U2SELF impersonation, remove smb_krb5_get_tkt_from_creds() which is not required anymore. Guenther Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 13:04:06 CEST 2012 on sn-devel-104
* librepace: put #defines after #include "sys/xattr.h"Andrew Bartlett2012-06-032-40/+8
| | | | | | | | | This avoids redefining the system xattr functions, which should fix MacOS. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 09:46:44 CEST 2012 on sn-devel-104
* lib/replace: Undo change of 0 -> NULLAndrew Bartlett2012-06-031-1/+1
| | | | | | | | | This reverts part of e9d797e153ae95561dbb10b56a41281b2472f137 as in the autoconf tests, NULL isn't available! (it is available in waf, which caused confusion) Andrew Bartlett
* libreplace: Fix up MacOS xattr functionsAndrew Bartlett2012-06-031-0/+18
| | | | | | | | | We need undo the rep_ macro to call the real OS function. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 06:21:21 CEST 2012 on sn-devel-104
* libreplace: Link libreplace against attr when requiredAndrew Bartlett2012-06-031-1/+8
| | | | | | | | The autoconf Samba build will return to over-linking with -lattr on systems with both the XFS compat API and native xattrs. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 03:56:05 CEST 2012 on sn-devel-104
* libreplace: Use true rather than True in xattr.cAndrew Bartlett2012-06-031-2/+2
| | | | | | | | | This should fix the build on IRIX. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 02:05:35 CEST 2012 on sn-devel-104
* libreplace: Fix build on MacOS where we have the same fn name but more argumentsAndrew Bartlett2012-06-021-8/+8
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 15:52:51 CEST 2012 on sn-devel-104
* libreplace: Solaris needs system/dir.h for that xattr wrapper implementationAndrew Bartlett2012-06-021-0/+1
|
* ccan: fix autoconf test for isblank()Andrew Bartlett2012-06-021-6/+6
| | | | | | The define in the C code is HAVE_ISBLANK Andrew Bartlett
* libreplace: Add missing tests for HAVE_MREMAP and HAVE_SHARED_MMAPAndrew Bartlett2012-06-021-0/+10
|
* libreplace: Fix autoconf build on platforms needing xattrsAndrew Bartlett2012-06-021-1/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 07:23:32 CEST 2012 on sn-devel-104
* lib/replace: Relicence xattr.c to LGPLv3Andrew Bartlett2012-06-021-11/+14
| | | | | | | | | | By the kind consent of the copyright holders. (There wasn't any code from tridge in the code brought in from source3/lib/system.c). Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 04:00:42 CEST 2012 on sn-devel-104
* lib/replace: Merge remaining xattr test details from lib/utilAndrew Bartlett2012-06-026-40/+34
| | | | | | | I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett
* s4-xattr: Use libreplace xattr functions directlyAndrew Bartlett2012-06-025-167/+6
|
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-024-1/+172
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* lib/replace: We cannot use strchr_m in lib/replaceAndrew Bartlett2012-06-021-6/+6
| | | | | | In any case, it is always safe to search for . even in a multibyte string. Andrew Bartlett
* lib/replace: DEBUG is not acceptable here, as this may not be linked into SambaAndrew Bartlett2012-06-021-7/+0
|
* lib/replace: Copy lib/system.c xattr wrappers to lib/replaceAndrew Bartlett2012-06-021-0/+703
|
* waf: check for krb5_create_checksum and krb5_creds.flags for some Heimdal ↵Alexander Bokovoy2012-06-011-0/+4
| | | | | | | | | versions Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Jun 1 11:23:21 CEST 2012 on sn-devel-104
* Remove an unused variable.Jeremy Allison2012-06-011-3/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 1 03:03:12 CEST 2012 on sn-devel-104
* lib/dbwrap: make it possible to delete/store the current record during traverseStefan Metzmacher2012-05-311-9/+71
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu May 31 02:50:09 CEST 2012 on sn-devel-104
* lib/dbwrap: don't alter the record on failure in db_rbt_store()Stefan Metzmacher2012-05-311-9/+10
| | | | metze
* lib/dbwrap: fix db_rbt_store and update the per record node pointerStefan Metzmacher2012-05-311-0/+1
| | | | metze
* lib/dbwrap: remove unused per db_record pointer in dbwrap_rbtStefan Metzmacher2012-05-311-10/+9
| | | | metze
* lib/krb5_wrap: Move krb5_princ_size helper to source4 as it is only used thereAndrew Bartlett2012-05-301-8/+0
| | | | | | | | | | This is also where the related krb5_princ_component is declared. Also fix the configure check to use the correct name This helps the autoconf build on Heimdal. Andrew Bartlett
* lib/param: Put common FN_ macros into param_functions.cAndrew Bartlett2012-05-303-256/+257
| | | | | | | This will in turn make it possible to put the actual parameter definitions in common. Andrew Bartlett
* lib/param: Add a few more s3 parametersAndrew Bartlett2012-05-301-0/+4
|
* lib/param: Import s3 parameters into lib/param to allow the parameter lists ↵Andrew Bartlett2012-05-301-0/+164
| | | | | | | | | | | | merge This will allow us to create just one list of the FN_ macros, included into both parameter systems. This will in turn allow the actual parameter definitions to be merged in a similar way. Andrew Bartlett
* lib/param: Mark a few more parameters const (matching s3)Andrew Bartlett2012-05-301-12/+13
| | | | | | | While this makes no difference in the lib/param code, this allows the C files to be compared and merged. Andrew Bartlett
* param: mark realm parameter as constAndrew Bartlett2012-05-301-1/+1
|
* param: Sort global param functions macros to ease the s3/s4 mergeAndrew Bartlett2012-05-301-81/+78
| | | | | | | This makes it easier to them merge these two function lists without changing the meaning of the output. Andrew Bartlett
* lib/param: Add .flags to max/min protocol to match s3Andrew Bartlett2012-05-301-4/+8
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Add .flags to wins parameters to match s3Andrew Bartlett2012-05-301-2/+4
| | | | | | This reduces the difference in the parameter tables. Andrew Bartlett
* lib/param: Harmonise 'password server' parameter between s3 and s4Andrew Bartlett2012-05-301-3/+3
|
* build: Remove unused release scripts for teventAndrew Bartlett2012-05-305-426/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* build: Remove unused release scripts for tdbAndrew Bartlett2012-05-306-497/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* build: Remove unused release scripts for tallocAndrew Bartlett2012-05-306-518/+0
| | | | | | | | These now use waf dist, and the script/librelease.sh script as a wrapper. The mksyms.sh call in the source3/Makefile uses the copy in source3/script Andrew Bartlett
* lib: add tevent_req_poll_werrorVolker Lendecke2012-05-302-0/+16
| | | | Signed-off-by: Kai Blin <kai@samba.org>
* build: Remove all references to libuuidAndrew Bartlett2012-05-271-7/+0
| | | | | | | | | We simply do not need this library any more. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 27 11:08:22 CEST 2012 on sn-devel-104
* Eliminate dependency on an external uuid library.Andriy Syrovenko2012-05-274-19/+10
|
* dns_hosts_file: move to a separate subsystemAlexander Bokovoy2012-05-251-1/+1
| | | | | | | | | | | After discussion with Kai move dns_hosts_file to a separate subsystem and merge it into libaddns private library for s3/s4 client use. Also remove dependency in libcli/nbt, the code from libcli/dns subsystems is not used there at all. Autobuild-User: Alexander Bokovoy <ab@samba.org> Autobuild-Date: Fri May 25 22:22:44 CEST 2012 on sn-devel-104
* krb5samba: Add smb_gss_oid_equal wrapper.Andreas Schneider2012-05-233-2/+89
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>