Jelmer Vernooij
b8850f326b
r26410: Remove unnecessary static.
...
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)
2007-12-21 05:49:42 +01:00
Andrew Bartlett
89144dfead
r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
...
and therefore further improve debug output.
Andrew Bartlett
(This used to be commit 5e93ca2ea16a7d10d63606ae539c0fdc4e224556)
2007-12-21 05:48:16 +01:00
Andrew Bartlett
dbf77b6405
r26299: Print out which module failed to initialise.
...
Andrew Bartlett
(This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)
2007-12-21 05:48:15 +01:00
Andrew Bartlett
f6312d1b5a
r25962: Move to more modern ldb functions loading module list.
...
Andrew Bartlett
(This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)
2007-12-21 05:45:20 +01:00
Andrew Bartlett
08dd389ddf
r25934: Handle a LDB_ERR_NO_SUCH_OBJECT return value when looking for the
...
modules.
This will be useful when we start enforcing validity in base DNs.
Andrew Bartlett
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)
2007-12-21 05:45:08 +01:00
Andrew Bartlett
e3198b3acd
r25856: If the search fails, it is not valid to steal 'res'.
...
Andrew Bartlett
(This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)
2007-12-21 05:44:29 +01:00
Andrew Bartlett
2de30ecd94
r25755: Fix a couple of memory leaks, in particular a new leak onto the NULL
...
context caused by my objectclass module work.
Andrew Bartlett
(This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
2007-12-21 05:43:46 +01:00
Jelmer Vernooij
4a4cdc990c
r25084: Move samba-specific code out of lib/ldb directory.
...
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)
2007-10-10 15:06:26 -05:00
Jelmer Vernooij
ed2a1c718a
r25081: Add modules_dir member to ldb_context that is used rather than a global
...
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
2007-10-10 15:06:25 -05:00
Andrew Bartlett
e10577585d
r24566: Remove trailing newlines in ldb_debug(), these are not required.
...
Andrew Bartlett
(This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)
2007-10-10 15:02:16 -05:00
Andrew Bartlett
49c42e2550
r24261: Fix the standalone ldb build after I moved the objectclass module out.
...
Andrew Bartlett
(This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
2007-10-10 15:01:32 -05:00
Andrew Tridgell
6c973f4e8c
r23798: updated old Temple Place FSF addresses to new URL
...
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10 14:59:15 -05:00
Andrew Tridgell
b8d69a7ea2
r23795: more v2->v3 conversion
...
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10 14:59:14 -05:00
Stefan Metzmacher
2dacfdf099
r22789: fix loading of internal samba4 modules
...
metze
(This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
31b47acf52
r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace.
...
(This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
2007-10-10 14:52:09 -05:00
Jelmer Vernooij
52fb06edc2
r22681: Fix standalone ldb build when parent directory name != ldb.
...
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10 14:52:00 -05:00
Andrew Bartlett
3370f2f2d7
r21761: - Give more detail on LDAP client library failures (make it clear
...
where the error is from)
- Make default error string more consistant
Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
2007-10-10 14:49:24 -05:00
Andrew Bartlett
f80d21069b
r21760: Try to pin down were some errors are coming from. Ensure we at least
...
name the module.
Andrew Bartlett
(This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
2007-10-10 14:49:23 -05:00
Stefan Metzmacher
23edd6071a
r20588: handle extended operations in the ldb_next_request() call
...
metze
(This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
2007-10-10 14:37:09 -05:00
Simo Sorce
4889eb9f7a
r19831: Big ldb_dn optimization and interfaces enhancement patch
...
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-10 14:28:22 -05:00
Stefan Metzmacher
a7127ad79e
r19743: merge from samba3:
...
remove old unused schema module
metze
(This used to be commit 3c16951b0d88013b34a0213ced79087653713ddf)
2007-10-10 14:28:18 -05:00
Jelmer Vernooij
4fa24df98d
r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
...
works again now, by specifying --enable-dso to configure.
(This used to be commit 7a01235067a4800b07b8919a6a475954bfb0b04c)
2007-10-10 14:24:41 -05:00
Simo Sorce
92ec8e5c1e
r19454: In standalone build init asq too
...
(This used to be commit e58b03cd666c6e5df8e5720a62aef23f87be9362)
2007-10-10 14:21:34 -05:00
Andrew Tridgell
e36ea2e8eb
r19362: - don't need to store the baseinfo message after cache load
...
- set better names on talloc structures in ldb modules, making leaks
easier to track down
(This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10 14:21:17 -05:00
Stefan Metzmacher
bbc056e067
r19196: merge from samba3:
...
pass always a mem_ctx to functions and a ldb_context where needed
metze
(This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
c403dd11fb
r19188: merge from samba3:
...
fix compiler warnings
metze
(This used to be commit dc139d8715f58b27363266f1426da451907845eb)
2007-10-10 14:20:51 -05:00
Andrew Tridgell
36246a191c
r19112: fixed a checker warning.
...
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-10 14:20:35 -05:00
Stefan Metzmacher
95340f8afb
r18903: merge from samba3:
...
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3
metze
(This used to be commit 4e2f5ba490d717283ab089d90ebd5c108a8c53b0)
2007-10-10 14:20:19 -05:00
Andrew Tridgell
58619eebc1
r18831: minor build changes for samba3. The logging changes will be removed
...
when the tdb api is updated
(This used to be commit 6ace943fac101839e35cbc83dc54fde2068f704b)
2007-10-10 14:19:15 -05:00
Stefan Metzmacher
eb6f27eccc
r17778: fix compiler warnings
...
metze
(This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
2007-10-10 14:16:40 -05:00
Andrew Tridgell
99309fac5c
r17730: cast dlsym result to try to avoid a compiler crash on hpux
...
(This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)
2007-10-10 14:16:33 -05:00
Simo Sorce
faed817506
r17514: Simplify the way to set ldb errors and add another
...
helper function to set them.
(This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
2007-10-10 14:15:31 -05:00
Andrew Bartlett
ecfdd5fc6c
r17474: Allow the partitions module to load modules for specific backends.
...
Andrew Bartlett
(This used to be commit c016db2187120991e8ad779b9df35480d7c19400)
2007-10-10 14:15:27 -05:00
Andrew Bartlett
11685acd1d
r17473: Split loading a list of modules and initialising them into a seperate
...
function.
Andrew Bartlett
(This used to be commit bed17cc579d82f04e44ce3c3d1e74d999c2ab867)
2007-10-10 14:15:27 -05:00
Simo Sorce
9481764b19
r17398: avoid a memleak when we are returned 0 results and make a more creative use of memory contexts
...
(This used to be commit fc97b5dc8ce65232a7a98ffb59def44a931b1565)
2007-10-10 14:15:22 -05:00
Andrew Bartlett
bf5e85ba25
r17397: Add const, and use a more local memory context.
...
Andrew Bartlett
(This used to be commit 59fc8031ecf3ba5aa2eff9ec5fa7df76d0c990c6)
2007-10-10 14:15:21 -05:00
Andrew Bartlett
977e44c556
r16908: Set an error string if we can't find a backend for an operation.
...
Andrew Bartlett
(This used to be commit 6a8c9af9bae8c482dfdb07114ae8313b7e35d9e9)
2007-10-10 14:09:58 -05:00
Andrew Bartlett
247af0d569
r16083: Make it possible to initialise a backend module, without it setting up
...
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)
2007-10-10 14:08:57 -05:00
Simo Sorce
2d19dca9c8
r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...
...
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10 14:08:43 -05:00
Simo Sorce
3a4d7eb2c0
r15927: Optimize ldb module traverse while keeping the API intact.
...
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-10 14:08:41 -05:00
Jelmer Vernooij
07bdbd4592
r14606: Fix paths in developer mode. This allows 'make quicktest' to work when
...
building with --enable-dso
(This used to be commit 614f062748d95a455d1a99a7444fdc0fe152f4e4)
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
bb1909e15e
r14592: Add support for loading shared modules to LDB.
...
(This used to be commit f10fae23f0685b2d9c6174596e1c66d799f02c52)
2007-10-10 13:58:58 -05:00
Simo Sorce
7b82c4beb9
r13992: change the way ldb_async_wait() works.
...
I think I should change the name of this function
to ldb_async_process(), any opinions ?
(This used to be commit 3347322d1327cfa975ee9dccd4f2774e6e14fbcb)
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
49e6945ca8
r13990: Fix issues with function renaming.
...
(This used to be commit 988ea27e22e3c0f4daf118151f90db5bb243bffc)
2007-10-10 13:52:34 -05:00
Stefan Metzmacher
812edc6b99
r13973: fix the build
...
metze
(This used to be commit 30af3be22b5f9e6d106954222a3bc4bb53c76665)
2007-10-10 13:52:33 -05:00
Simo Sorce
9862fabead
r13901: Backends need to be initialized even if there are no modules
...
(This used to be commit 8340ab26dd61d90242283d4e6a0db10f6f6467e2)
2007-10-10 13:52:20 -05:00
Jelmer Vernooij
5d0aa16dfc
r13839: Use registration mechanism for backends as well (in the same sense
...
my previous patch added it for modules). This is the next step towards
LDB backends and modules as run-time loadable .so files.
(This used to be commit fb2f70de4f6c4a9b13ad590cb4d3a9c858cede49)
2007-10-10 13:52:14 -05:00
Simo Sorce
509814bd03
r13823: make async_wait part of the modules ops
...
(This used to be commit b4202cf030d5f154f0f94f5f501ecd648ba5c48f)
2007-10-10 13:52:13 -05:00
Jelmer Vernooij
26af14c39b
r13786: [merge] Add registration functions for LDB modules
...
Applications that use LDB modules will now have to run ldb_global_init()
before they can use LDB.
The next step will be adding support for loading LDB modules from .so
files. This will also allow us to use one LDB without difference between the
standalone and the Samba-specific build
(This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10 13:52:11 -05:00
Simo Sorce
00fe70e5b9
r13609: Get in the initial work on making ldb async
...
Currently only ldb_ildap is async, the plan
is to first make all backend support the async calls,
and then remove the sync functions from backends and
keep the only in the API.
Modules will need to be transformed along the way.
Simo
(This used to be commit 1e2c13b2d52de7c534493dd79a2c0596a3e8c1f5)
2007-10-10 13:51:59 -05:00