summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15913: Error passing in the async code is not in agood shapeSimo Sorce6-131/+323
Start enhancing it and fix some problems with incorrect evalutaion of the codes Implement rdn rename (async only) (This used to be commit 6af1d738b9668d4f0eb6194ac0f84af9e73f8c2e)
2007-10-10r15896: we're getting a lot of crashes on the build farm due to peopleAndrew Tridgell1-0/+1
assuming that printf("%s", NULL) is OK. The problem is that it is ok with recent versions of glibc, so the bug isn't noticed by most developers. This configure change ensures that we replace snprintf() if it doesn't handle NULL strings. Then we just need to make sure we use d_printf() instead of printf() in torture tests to display possibly NULL strings. (This used to be commit dcce824080f3437c835b32381b73380fab720554)
2007-10-10r15892: Remove the COM management code - DCOM should beJelmer Vernooij11-930/+0
based on Mono and its' COM support and utilize Samba's DCE/RPC + ORPC code instead of having our own COM implementation in Samba, which is too much work to implement and harder to code (C). This only removes some of the code that I started working on to implement the bits of COM I thought were needed to support DCOM from just Samba. This code has never functioned properly, contains a couple of nasty hacks and there should be no reason to pick it up again later, the processes are all documented in the DCOM whitepaper. This does NOT remove the marshalling code for the ORPC code or the torture code that tested some of the ORPC code. (This used to be commit 11df14219bf0b35329b293cae3234e064aabde54)
2007-10-10r15882: I forgot to add in this prototype for strtok_r()Andrew Tridgell1-0/+4
(This used to be commit 971cead2ad66fca55a32639090d97b8186c1dae7)
2007-10-10r15879: strtok_r() replacement, for solarisAndrew Tridgell2-1/+28
(This used to be commit df5bd916db3cfbd6c145177fd8992261f03a5cbc)
2007-10-10r15878: Add explicit initialization to make the IBM checker happy.Jelmer Vernooij1-2/+2
(This used to be commit 3a5d3eb62c61d264fb583d2c94e3b3446988051b)
2007-10-10r15877: Fix error message - caught by the IBM checkerJelmer Vernooij1-4/+17
(This used to be commit dd0b912fdd107817273391cab223304f0399c3b5)
2007-10-10r15871: Fix systems with native iconvJelmer Vernooij1-2/+2
(This used to be commit 8ce292bdf3589e5d054bf9a534846c29dfc71124)
2007-10-10r15870: Improve detection of iconv - should prevent HAVE_ICONV_H beingJelmer Vernooij1-18/+6
defined when the installed iconv library doesn't match our criteria as well as some other minor fixes. (This used to be commit 7937932615434a59c84d8a1b81e368f6a5f8e429)
2007-10-10r15869: Fix loop var to search paths for iconvJim McDonough1-1/+1
(This used to be commit 55843863ff1f92be9918c845e208a30660ed2ae5)
2007-10-10r15868: Add replacement macro for __STRING()Jelmer Vernooij2-1/+4
(This used to be commit 3780e0580b7173f20fed550db3412ab3b3b12fbf)
2007-10-10r15856: fixed talloc_asprintf_append() on solarisAndrew Tridgell1-1/+2
(This used to be commit bba33a976b1954b5e9e557c9323afc92616439a3)
2007-10-10r15854: more talloc_set_destructor() typesafe fixesAndrew Tridgell13-47/+24
(This used to be commit 61c6100617589ac6df4f527877241464cacbf8b3)
2007-10-10r15853: started the process of removing the warnings now thatAndrew Tridgell1-2/+1
talloc_set_destructor() is type safe. The end result will be lots less use of void*, and less calls to talloc_get_type() (This used to be commit 6b4c085b862c0932b80b93e316396a53b993544c)
2007-10-10r15852: patch from Rusty to make talloc_set_destructor() and talloc_steal()Andrew Tridgell3-23/+40
type safe. This only works on recent gcc versions. With other compilers it reverts to a non-typesafe cast The patch also ensures that talloc_free() does not change error on systems where free() can change errno (This used to be commit babbff5f777642f559747f6d0697bc7c3a5e798d)
2007-10-10r15847: We probably want to keep the global initSimo Sorce1-0/+2
(This used to be commit 35df457fe61e1b1f0746eadba867f7ac149e9600)
2007-10-10r15846: An async version of ldbsearchSimo Sorce1-59/+186
(This used to be commit 2c1af6556a2d57df6626a9f0d9fd758602ac3c5c)
2007-10-10r15829: we need to include socket.h before we can use enum socket_typeStefan Metzmacher1-0/+2
this fixes a compiler warning metze (This used to be commit dbf82fff10f1b5c3894b9600d98f81ee10e3d876)
2007-10-10r15828: a talloc steal optimisation spotted by metzeAndrew Tridgell1-1/+1
(This used to be commit e00ff9f35eed28aeecdc779cee06b87c34d82124)
2007-10-10r15824: fixed a subtle talloc bug to do with memory context loops. When youAndrew Tridgell3-3/+80
have a structure that references one of its parents, and a parent of that parent is freed, then the whole structure should be freed, not just the reference. this was found by the change notify code, as a side effect of fixing the memory leak yesterday (This used to be commit 70531dcaeeb9314d410baa0d285df6a265311541)
2007-10-10r15810: Fix uninitialized variable error, caught by the IBM checker.Jelmer Vernooij1-1/+2
(This used to be commit 1354333fd192e83242e6618458704c1820efac49)
2007-10-10r15807: Fix incorrect initialization. Very nice catch by the IBM Checker.Jelmer Vernooij1-1/+1
(This used to be commit 2b65c490e40241fb4d4f938a867e33780295ad05)
2007-10-10r15806: Remove some unnecessary nesting making the function harder to read.Jelmer Vernooij1-11/+15
(This used to be commit 2e1ce0189961335f654202074101819d8d933748)
2007-10-10r15798: shortcut the lookup of "localhost" in the ipv6 backendAndrew Tridgell1-1/+5
(This used to be commit dea82fa615e33115e42ef04c8d2a54788aa38e9a)
2007-10-10r15795: Try to use the async code by defaultSimo Sorce1-12/+140
It passess all my tests, but I still need to work on a lot of stuff. Shouldn't impact anybody else work, so I want to commit now and see what happens Will work to remove the old code from modules and backends soon, and make some more restyling in ldb internals. So, if there is something you don't like in this desgin please speak now. Simo. (This used to be commit 8b2a563e716a789ea77cbfbf2f372724de5361ce)
2007-10-10r15786: another fix in rdn_nameSimo Sorce1-10/+3
(This used to be commit 202ce2a947626f51467d5c87dfcdb73852282709)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-1/+1
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15762: It make no sense for rdn_name to implement modify, it will need to ↵Simo Sorce1-138/+0
implement rename ... (This used to be commit bf260f2a84f9c1f749798068168a22c86ab2e7b2)
2007-10-10r15761: Fix-as-you-go ...Simo Sorce3-25/+11
Testing various async paths and uncovering bugs (This used to be commit 099d873ea596ece18efe63b06bc64e7f97a96f82)
2007-10-10r15719: Fix build on systems (AIX) that don't have vsyslog or strcasestr, withJim McDonough1-0/+2
--enable-developer on. syslog() and toupper() required more includes. Someone more familiar with samba4 builds should verify this, please. (This used to be commit d28f49fc6d3b7ee1b7077e2d35b2aee54d2d1469)
2007-10-10r15659: Implement opening a key by name (significant better performanceJelmer Vernooij1-2/+236
in some situations). Patch by Wilco Baan Hofman. (This used to be commit dece573d4746bb2df2d129ae6a557a0417e56cda)
2007-10-10r15592: Remove unused headerJelmer Vernooij1-1/+0
(This used to be commit 7d3cbfb15768f95c7af6628eba578cae28ae2025)
2007-10-10r15590: Fix another include issueJelmer Vernooij1-1/+1
(This used to be commit 4d5b046c83b40f8e6b3f9e243d012e05dd1969be)
2007-10-10r15582: Commit some forgotten stuff that have been setting on my private ↵Simo Sorce2-2/+23
tree fro long (This used to be commit 7c050b541e98cd442a0c9ed0ddadb3e573cd1304)
2007-10-10r15578: Move some cpp-specific things from CFLAGS to CPPFLAGSJelmer Vernooij1-1/+2
Proper dependencies for POPT_SAMBA (fixes build when popt is in /usr/local) (This used to be commit ed82490e5a074da56d0a96ee52f1d1832b824fe3)
2007-10-10r15577: Make popt CFLAGS popt-specific rather then globalJelmer Vernooij1-2/+1
(This used to be commit 87233041ff6df94069f0d76f90aba22e275f83be)
2007-10-10r15575: Fix getpass testJelmer Vernooij1-1/+1
(This used to be commit 5205faf898ad70790e1b09bb394622d81a56a9b4)
2007-10-10r15573: Fix build of systems that have iconv headers in non-standard locationsJelmer Vernooij11-11/+8
Split of system/locale.h header from system/iconv.h Previously, iconv wasn't being used on these systems (This used to be commit aa6d66fda69779d1c2948a1aca85dbd5208f1cba)
2007-10-10r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.Jelmer Vernooij4-12/+4
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
2007-10-10r15568: Simplify detection of iconv libraries a fair bit and fix it toJelmer Vernooij1-45/+69
work on FreeBSD. Based very loosely on a patch by Timur Bakevey Fixes #3688 (This used to be commit ea7b28572b453da8eced565a49e4c10e7ebd2e28)
2007-10-10r15564: Fix copyrights (this file was originally based on just a few lines ↵Jelmer Vernooij1-3/+1
from smb.h) (This used to be commit 045bd55dd992f054606ffacae1580afb817b1e33)
2007-10-10r15538: Use pkg-config file where possible andJelmer Vernooij1-13/+14
only fall back to manual tests if that can't be found (for systems that have older versions of gnutls without the .pc file installed) (This used to be commit d77ea8f9072070f47b2b44676facaf66ed40fd17)
2007-10-10r15510: As discussed on samba-technical, move the VERSION system back to aAndrew Bartlett1-36/+1
#define based system only. This avoids allocation in the fault code. Andrew Bartlett (This used to be commit 31c97b4e67ba6a188d0ed4844ca4f2f86f29514f)
2007-10-10r15458: Fix support for Windows XP-style registry files and support for ↵Jelmer Vernooij2-20/+126
large numbers of subkeys. Patch by Wilco Baan Hofman <wilco@baanhofman.nl> (This used to be commit 02859870d62b875eca5feff175c489a93fa7ad84)
2007-10-10r15457: Get rid of more usages of uint_tJelmer Vernooij1-3/+3
(This used to be commit 849818dcdeb8eaf2eb22fea3896a4f7c777d8c5f)
2007-10-10r15433: Add a todo.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 437ce4123761b65edebc9b9432515a62348f360b)
2007-10-10r15420: Add a new function to print a the 'unparsed' string format for ↵Andrew Bartlett1-18/+5
usernames. This is used in the password prompt, and should be reversable by the parse string function. Also, don't look at the ccache, even for the guess code, if kerberos is disabled. Andrew Bartlett (This used to be commit 4c4b8e4b396ca44270a0456c732d3b9c3c34d69d)
2007-10-10r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionalityJelmer Vernooij6-4/+4
not available on some platforms but is a Samba-specific library. (This used to be commit e9d3660fa6678424e5159708a1aa572824926c8e)
2007-10-10r15400: Move the TLS code behind the socket interface.Andrew Bartlett6-114/+177
This reduces caller complexity, because the TLS code is now called just like any other socket. (A new socket context is returned by the tls_init_server and tls_init_client routines). When TLS is not available, the original socket is returned. Andrew Bartlett (This used to be commit 09b2f30dfa7a640f5187b4933204e9680be61497)
2007-10-10r15389: Add some better torture tests for LdbMessage.Tim Potter2-1/+35
Fix up behaviour of Ldb.__setitem__() function. It should overwrite the element data. Add wrapper for ldb_msg_sanity_check(). (This used to be commit d67e055f86a62d0e61fd20d75b252a6211618f7b)