summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_modules.c
AgeCommit message (Collapse)AuthorFilesLines
2008-06-30ldb: allow ldb modules to specify LDB_MODULE(name) or LDB_BACKEND(name)Stefan Metzmacher1-16/+198
metze (This used to be commit 1d5b714438a955d76f92f4ccd8aa2f7f89ffa5fd)
2008-06-17Change our module code to not use the special symbol name init_module()Andrew Tridgell1-10/+0
Current glibc libraries include a function called init_module(). If we use the same name, then a dlsym() can find the glibc function if the module doesn't have an initialisation function. In ldb, none of our modules have an init_module(), so we end up calling the libc functions with bogus arguments. (This used to be commit 1b0621068998590e7b1e9528b78744dcd2cd5909)
2008-02-25Fix use of realpath, fix init functions for ldb.Jelmer Vernooij1-5/+7
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)
2008-02-25Fix standalone ldb build modules.Jelmer Vernooij1-5/+5
(This used to be commit 0b133a30a23757cf463ff22dff6372ae5e11d4c7)
2008-02-25Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-47/+28
Conflicts: source/build/smb_build/header.pm source/build/smb_build/makefile.pm source/lib/ldb/include/ldb_private.h (This used to be commit 1a646af0647f021d99473a8991c35e616a423ea6)
2008-02-20Remove more function-based inits.Jelmer Vernooij1-45/+21
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-02-20Allow ldb backends without init function, use init function-less ldb modules.Jelmer Vernooij1-2/+7
(This used to be commit 141ee91272fb4dafca0149f679e17721b6a3011e)
2008-02-16Move responsibilities of build.h to makefile.Jelmer Vernooij1-1/+0
(This used to be commit a43f6d37bce85748e9cf2675e5beced5db26f1c3)
2007-12-24r26580: Include sentinel in build.h, in case the list is empty.Jelmer Vernooij1-2/+3
(This used to be commit f1997dabed584bdc864c4b7235c29603c312ef46)
2007-12-24r26577: Fix the standalone ldb build.Jelmer Vernooij1-11/+8
(This used to be commit 1cf374eb3125c66844f01d013016feaf99760582)
2007-12-24r26576: Allow the static module loading code to be used for the Python modules.Jelmer Vernooij1-1/+1
Simplify the way module initialization functions are handled. (This used to be commit ba8be2dfc0de4434c798663336b81f7f95cde520)
2007-12-21r26481: Make function for loading symbol from DSO more generic, and allow ↵Jelmer Vernooij1-10/+20
modules to provide an ops table directly rather than an initialization function. (This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
2007-12-21r26410: Remove unnecessary static.Jelmer Vernooij1-1/+1
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)
2007-12-21r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chainAndrew Bartlett1-14/+10
and therefore further improve debug output. Andrew Bartlett (This used to be commit 5e93ca2ea16a7d10d63606ae539c0fdc4e224556)
2007-12-21r26299: Print out which module failed to initialise.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)
2007-12-21r25962: Move to more modern ldb functions loading module list.Andrew Bartlett1-11/+12
Andrew Bartlett (This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)
2007-12-21r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for theAndrew Bartlett1-13/+16
modules. This will be useful when we start enforcing validity in base DNs. Andrew Bartlett (This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)
2007-12-21r25856: If the search fails, it is not valid to steal 'res'.Andrew Bartlett1-6/+7
Andrew Bartlett (This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)
2007-12-21r25755: Fix a couple of memory leaks, in particular a new leak onto the NULLAndrew Bartlett1-2/+4
context caused by my objectclass module work. Andrew Bartlett (This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
2007-10-10r25084: Move samba-specific code out of lib/ldb directory.Jelmer Vernooij1-1/+0
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)
2007-10-10r25081: Add modules_dir member to ldb_context that is used rather than a globalJelmer Vernooij1-13/+10
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb (This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
2007-10-10r24566: Remove trailing newlines in ldb_debug(), these are not required.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)
2007-10-10r24261: Fix the standalone ldb build after I moved the objectclass module out.Andrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell1-1/+1
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r22789: fix loading of internal samba4 modulesStefan Metzmacher1-3/+3
metze (This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
2007-10-10r22750: dlopen() is always available now (and returns a correct error if not ↵Jelmer Vernooij1-5/+0
supported by the system), thanks to libreplace. (This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij1-2/+2
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r21761: - Give more detail on LDAP client library failures (make it clearAndrew Bartlett1-1/+1
where the error is from) - Make default error string more consistant Andrew Bartlett (This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10r21760: Try to pin down were some errors are coming from. Ensure we at leastAndrew Bartlett1-8/+25
name the module. Andrew Bartlett (This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10r20588: handle extended operations in the ldb_next_request() callStefan Metzmacher1-0/+3
metze (This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-1/+1
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19743: merge from samba3:Stefan Metzmacher1-1/+0
remove old unused schema module metze (This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
2007-10-10r19507: Merge my DSO fixes branch. Building Samba's libraries as shared ↵Jelmer Vernooij1-3/+12
libraries works again now, by specifying --enable-dso to configure. (This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10r19454: In standalone build init asq tooSimo Sorce1-0/+1
(This used to be commit e58b03cd666c6e5df8e5720a62aef23f87be9362)
2007-10-10r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell1-0/+1
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10r19196: merge from samba3:Stefan Metzmacher1-5/+4
pass always a mem_ctx to functions and a ldb_context where needed metze (This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)
2007-10-10r19188: merge from samba3:Stefan Metzmacher1-1/+2
fix compiler warnings metze (This used to be commit dc139d8715f58b27363266f1426da451907845eb)
2007-10-10r19112: fixed a checker warning.Andrew Tridgell1-1/+1
In case you haven't noticed, lots of our packages now run the IBM checker in the build farm on 'snab' (This used to be commit b39a79f17c9d8729264436bb774e8bd2b88e12f9)
2007-10-10r18903: merge from samba3:Stefan Metzmacher1-2/+2
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3 metze (This used to be commit 4e2f5ba490d717283ab089d90ebd5c108a8c53b0)
2007-10-10r18831: minor build changes for samba3. The logging changes will be removedAndrew Tridgell1-1/+1
when the tdb api is updated (This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
2007-10-10r17778: fix compiler warningsStefan Metzmacher1-1/+2
metze (This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
2007-10-10r17730: cast dlsym result to try to avoid a compiler crash on hpuxAndrew Tridgell1-1/+1
(This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)
2007-10-10r17514: Simplify the way to set ldb errors and add anotherSimo Sorce1-1/+1
helper function to set them. (This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10r17474: Allow the partitions module to load modules for specific backends.Andrew Bartlett1-4/+5
Andrew Bartlett (This used to be commit c016db2187120991e8ad779b9df35480d7c19400)
2007-10-10r17473: Split loading a list of modules and initialising them into a seperateAndrew Bartlett1-42/+58
function. Andrew Bartlett (This used to be commit bed17cc579d82f04e44ce3c3d1e74d999c2ab867)
2007-10-10r17398: avoid a memleak when we are returned 0 results and make a more ↵Simo Sorce1-8/+8
creative use of memory contexts (This used to be commit fc97b5dc8ce65232a7a98ffb59def44a931b1565)
2007-10-10r17397: Add const, and use a more local memory context.Andrew Bartlett1-12/+22
Andrew Bartlett (This used to be commit 59fc8031ecf3ba5aa2eff9ec5fa7df76d0c990c6)
2007-10-10r16908: Set an error string if we can't find a backend for an operation.Andrew Bartlett1-1/+5
Andrew Bartlett (This used to be commit 6a8c9af9bae8c482dfdb07114ae8313b7e35d9e9)
2007-10-10r16083: Make it possible to initialise a backend module, without it setting upAndrew Bartlett1-0/+3
the whole ldb structure. Because the sequence number was a fn pointer on the main ldb context, turn it into a full request (currently sync). Andrew Bartlett (This used to be commit fbe7d0ca9031e292b2d2fae263233c973982980a)