summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15986: Declare struct tmJelmer Vernooij1-0/+1
(This used to be commit 139d9369dc1b7daaf980a0c95b0921388ec39913)
2007-10-10r15981: we need to initialize 'ret' before 'goto failed'Stefan Metzmacher1-5/+11
metze (This used to be commit 941f93f93f3ce9dacaafe80520b8751f738e7032)
2007-10-10r15979: some farmating...Stefan Metzmacher1-7/+6
metze (This used to be commit 53ec76d8d2edaa37bbccb6de838248931a3a76d2)
2007-10-10r15978: - pass the error code back to the caller...Stefan Metzmacher1-2/+2
- we were giving OPERATIONS_ERROR in all cases:-( - we now pass ALREADY_EXIST fine to the caller, and the code in libnet_site.c is happy again. - this bug wasn't noticed for a long time because the ldb_ildap code always passed SUCCESS to it's caller metze (This used to be commit 7b9d7119205c442f338deab07122ce1548bad9b6)
2007-10-10r15964: fix error handling in ldb_ildap backendStefan Metzmacher1-7/+14
metze (This used to be commit 54e5aeff87b859960dfc5e4b6e3ab026ce5470ff)
2007-10-10r15963: fix warningsStefan Metzmacher1-2/+2
metze (This used to be commit 11b49a440567eb3fa3391c15f5486c63141f1b97)
2007-10-10r15955: fix whitespacesStefan Metzmacher1-1/+1
metze (This used to be commit a3d1ce6d3b8e771d28ab4418679b89a388579360)
2007-10-10r15953: our timegm() replacement still doesn't work, so grab the one fromAndrew Tridgell4-13/+77
Heimdal which does work. This should fix most of the rest of the failures on solaris (This used to be commit acfaa98b5ea686feb81350baf09b3f4480f96edc)
2007-10-10r15945: Check ltdb_modified resultsSimo Sorce1-8/+19
(This used to be commit bbda863f0766e4f4100a644f9a1ddcd8e18d29cd)
2007-10-10r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...Simo Sorce7-24/+24
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10r15942: Remove the sync internal ldb calls altogether.Simo Sorce13-1633/+234
This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken). (This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)
2007-10-10r15932: Remove per request credsSimo Sorce7-18/+0
They have never benn used and make little sense too imo (This used to be commit f0c1d08d50f8a3e25650ac85b178ec7a43e433d9)
2007-10-10r15927: Optimize ldb module traverse while keeping the API intact.Simo Sorce14-527/+564
I was sick of jumping inot each module for each request, even the ones not handle by that module. (This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)
2007-10-10r15922: password_hash.c has proven to be a good way to research how to build ↵Simo Sorce1-42/+65
an async module change asq.c to be more readble (This used to be commit 9197187c4290847721432db09bdfb2f1d06e51ba)
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)