1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
Jelmer Vernooij
f1997dabed r26580: Include sentinel in build.h, in case the list is empty. 2007-12-24 01:51:07 -06:00
Jelmer Vernooij
1cf374eb31 r26577: Fix the standalone ldb build. 2007-12-24 01:51:06 -06:00
Jelmer Vernooij
ba8be2dfc0 r26576: Allow the static module loading code to be used for the Python modules.
Simplify the way module initialization functions are handled.
2007-12-24 01:51:06 -06:00
Jelmer Vernooij
a71419a73a r26481: Make function for loading symbol from DSO more generic, and allow modules to provide an ops table directly rather than an initialization function. 2007-12-21 05:50:38 +01:00
Jelmer Vernooij
13ae3108da r26410: Remove unnecessary static. 2007-12-21 05:49:42 +01:00
Andrew Bartlett
5e93ca2ea1 r26301: Collapose ldb_next_init() into being a caller of ldb_init_module_chain
and therefore further improve debug output.

Andrew Bartlett
2007-12-21 05:48:16 +01:00
Andrew Bartlett
6628d9f843 r26299: Print out which module failed to initialise.
Andrew Bartlett
2007-12-21 05:48:15 +01:00
Andrew Bartlett
c3bfcf44a4 r25962: Move to more modern ldb functions loading module list.
Andrew Bartlett
2007-12-21 05:45:20 +01:00
Andrew Bartlett
aa8348a27a 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
2007-12-21 05:45:08 +01:00
Andrew Bartlett
f4d733c3d0 r25856: If the search fails, it is not valid to steal 'res'.
Andrew Bartlett
2007-12-21 05:44:29 +01:00
Andrew Bartlett
2a835d900f r25755: Fix a couple of memory leaks, in particular a new leak onto the NULL
context caused by my objectclass module work.

Andrew Bartlett
2007-12-21 05:43:46 +01:00
Jelmer Vernooij
917bd737cb r25084: Move samba-specific code out of lib/ldb directory. 2007-10-10 15:06:26 -05:00
Jelmer Vernooij
e672380d21 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
2007-10-10 15:06:25 -05:00
Andrew Bartlett
2ed782f7ca r24566: Remove trailing newlines in ldb_debug(), these are not required.
Andrew Bartlett
2007-10-10 15:02:16 -05:00
Andrew Bartlett
c4c3afcdcb r24261: Fix the standalone ldb build after I moved the objectclass module out.
Andrew Bartlett
2007-10-10 15:01:32 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Stefan Metzmacher
f6740c8b7a r22789: fix loading of internal samba4 modules
metze
2007-10-10 14:52:17 -05:00
Jelmer Vernooij
1152a4f56d r22750: dlopen() is always available now (and returns a correct error if not supported by the system), thanks to libreplace. 2007-10-10 14:52:09 -05:00
Jelmer Vernooij
1093875d59 r22681: Fix standalone ldb build when parent directory name != ldb. 2007-10-10 14:52:00 -05:00
Andrew Bartlett
7f115579d2 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
2007-10-10 14:49:24 -05:00
Andrew Bartlett
2e85b1583b r21760: Try to pin down were some errors are coming from. Ensure we at least
name the module.

Andrew Bartlett
2007-10-10 14:49:23 -05:00
Stefan Metzmacher
b98ca57a65 r20588: handle extended operations in the ldb_next_request() call
metze
2007-10-10 14:37:09 -05:00
Simo Sorce
a580c871d3 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.
2007-10-10 14:28:22 -05:00
Stefan Metzmacher
3c16951b0d r19743: merge from samba3:
remove old unused schema module

metze
2007-10-10 14:28:18 -05:00
Jelmer Vernooij
7a01235067 r19507: Merge my DSO fixes branch. Building Samba's libraries as shared libraries
works again now, by specifying --enable-dso to configure.
2007-10-10 14:24:41 -05:00
Simo Sorce
e58b03cd66 r19454: In standalone build init asq too 2007-10-10 14:21:34 -05:00
Andrew Tridgell
3bf76db42d 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
2007-10-10 14:21:17 -05:00
Stefan Metzmacher
67a6a41ba3 r19196: merge from samba3:
pass always a mem_ctx to functions and a ldb_context where needed

metze
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
dc139d8715 r19188: merge from samba3:
fix compiler warnings

metze
2007-10-10 14:20:51 -05:00
Andrew Tridgell
b39a79f17c 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'
2007-10-10 14:20:35 -05:00
Stefan Metzmacher
4e2f5ba490 r18903: merge from samba3:
define HAVE_LDB_LDAP and HAVE_LDB_SQLITE3

metze
2007-10-10 14:20:19 -05:00
Andrew Tridgell
6ace943fac r18831: minor build changes for samba3. The logging changes will be removed
when the tdb api is updated
2007-10-10 14:19:15 -05:00
Stefan Metzmacher
4f753f9ebc r17778: fix compiler warnings
metze
2007-10-10 14:16:40 -05:00
Andrew Tridgell
217cff9f00 r17730: cast dlsym result to try to avoid a compiler crash on hpux 2007-10-10 14:16:33 -05:00
Simo Sorce
260868bae5 r17514: Simplify the way to set ldb errors and add another
helper function to set them.
2007-10-10 14:15:31 -05:00
Andrew Bartlett
c016db2187 r17474: Allow the partitions module to load modules for specific backends.
Andrew Bartlett
2007-10-10 14:15:27 -05:00
Andrew Bartlett
bed17cc579 r17473: Split loading a list of modules and initialising them into a seperate
function.

Andrew Bartlett
2007-10-10 14:15:27 -05:00
Simo Sorce
fc97b5dc8c r17398: avoid a memleak when we are returned 0 results and make a more creative use of memory contexts 2007-10-10 14:15:22 -05:00
Andrew Bartlett
59fc8031ec r17397: Add const, and use a more local memory context.
Andrew Bartlett
2007-10-10 14:15:21 -05:00
Andrew Bartlett
6a8c9af9ba r16908: Set an error string if we can't find a backend for an operation.
Andrew Bartlett
2007-10-10 14:09:58 -05:00
Andrew Bartlett
fbe7d0ca90 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
2007-10-10 14:08:57 -05:00
Simo Sorce
55d97ef88f r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc... 2007-10-10 14:08:43 -05:00
Simo Sorce
7d65105e88 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.
2007-10-10 14:08:41 -05:00
Jelmer Vernooij
614f062748 r14606: Fix paths in developer mode. This allows 'make quicktest' to work when
building with --enable-dso
2007-10-10 13:59:00 -05:00
Jelmer Vernooij
f10fae23f0 r14592: Add support for loading shared modules to LDB. 2007-10-10 13:58:58 -05:00
Simo Sorce
3347322d13 r13992: change the way ldb_async_wait() works.
I think I should change the name of this function
to ldb_async_process(), any opinions ?
2007-10-10 13:52:34 -05:00
Jelmer Vernooij
988ea27e22 r13990: Fix issues with function renaming. 2007-10-10 13:52:34 -05:00
Stefan Metzmacher
30af3be22b r13973: fix the build
metze
2007-10-10 13:52:33 -05:00
Simo Sorce
8340ab26dd r13901: Backends need to be initialized even if there are no modules 2007-10-10 13:52:20 -05:00