summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r15388: Fix cut&paste typo.Tim Potter1-1/+1
(This used to be commit 88e854929f10947aa1a7f57bbfef436bc8832529)
2007-10-10r15384: Improve naming of socket library, disable Requires(.private)? fields ↵Jelmer Vernooij1-4/+4
in pkg-config files for now as they break external projects. (This used to be commit f919fd6655f00361691e676d260bd40e0b8ddcc7)
2007-10-10r15382: Use grp.h in this block; it has been cleaned out of the other ↵Paul Green1-0/+3
headers that formerly included it for us. Paul (This used to be commit a4d706cf26382820b58940458f8873a4f8f79612)
2007-10-10r15377: Remove sys_select() code as it's no longer used.Jelmer Vernooij3-170/+45
(This used to be commit 68004f68a364ce826ed8cbed0977e631ca60594d)
2007-10-10r15376: Add detection of -lnsl, required for building on SUN boxes.Jelmer Vernooij4-6/+23
(This used to be commit 49bac12767ca59095ad6609a3826f7f17ddb601c)
2007-10-10r15375: Rename readline.h to smbreadline.h avoid clashes with system header.Jelmer Vernooij2-1/+1
(This used to be commit ccc3d8a95441e7a7015f0cf0e622ec9e38347d33)
2007-10-10r15373: Rename SOCKET to LIBSAMBA-SOCKET to prevent name clashes with ↵Jelmer Vernooij1-4/+4
-lsocket on SUN boxes. (This used to be commit c95ad11307dc89384c10bd5919817bf12d9c1ed9)
2007-10-10r15372: Don't look at possibly undefined controls in failure cases.Andrew Bartlett1-3/+0
Andrew Bartlett (This used to be commit 04f383048ae48af6b28052ba6461fe2e476e7c44)
2007-10-10r15370: Fix more dependencies for shared libsJelmer Vernooij8-10/+10
(This used to be commit 9a518661fbb76bf1c153afc6f581e888186dc165)
2007-10-10r15364: Use global list of predefined keysJelmer Vernooij1-14/+2
(This used to be commit eee9e33442f846d278f0fc545480cc2ec8ea295b)
2007-10-10r15363: Fix dependencies for shared libraryJelmer Vernooij2-4/+5
(This used to be commit f2ca71f1229f4c20296895116c09bacbd6a53b55)
2007-10-10r15362: Consider anything non-zero a failure, bnio not just -1Jelmer Vernooij1-1/+2
(This used to be commit c3626548f74ca4c930b9d8a82de9c79f6f5e5903)
2007-10-10r15361: Export table of predefined registry keysJelmer Vernooij3-18/+23
(This used to be commit 684ef2dae1145388308502942da15e59a8beb425)