summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb
Commit message (Collapse)AuthorAgeFilesLines
...
* s4-ldb: honor controls on search in ldbeditAndrew Tridgell2010-11-043-1/+81
|
* Move the checking of single valued attributes back into the tdb backend.Andrew Tridgell2010-11-041-0/+44
| | | | | | | | | | | | | The backend is the only place that can do this properly. It makes no sense to do it anywhere else. As a result of it moving out of the backend we ended up with some bugs causing multiple values in single valued attributes (eg. isDeleted), which can really damage the inregrity of the database. For the override of single valued values needed for deleted linked attributes we should use attribute flags. This reverts commit 1949864417f3d10fb8996df7db259649eb777271.
* build: a more portable way of finding waf in makefilesAndrew Tridgell2010-11-031-3/+1
| | | | | | | this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
* s4-ldb: fixed sorting of module namesAndrew Tridgell2010-11-031-1/+6
| | | | | | this should also fix a valgrind error on freebsd thanks to Matthieu for spotting this
* s4-ldb: make ldbtest depend on ldbAndrew Tridgell2010-11-031-1/+1
|
* waf: added reconfigure targets to our librariesAndrew Tridgell2010-11-031-0/+5
| | | | | This allows you to do "make reconfigure" to re-run configure only if needed
* s4-ldb: give the user a hint as to what may be wrongAndrew Tridgell2010-11-021-2/+2
| | | | | | | | when a backend or module can't be found, give a hint about the LDB_MODULES_PATH environment variable Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Nov 2 21:28:22 UTC 2010 on sn-devel-104
* s4-ldb: expose some more ldb module functionsAndrew Tridgell2010-11-037-22/+383
| | | | | this exposes enough functions for s4 to not need ldb_private.h any more.
* s4-ldb: removed ldb_includes.hAndrew Tridgell2010-11-0119-29/+54
| | | | | | | it causes problems with the openchange build as it is not installed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
* s4-ldb: use ldb_set_modules_dir() to load additional ldb modulesAndrew Tridgell2010-11-012-8/+12
| | | | | | | | this allows ldb_wrap to enable s4 modules in a standalone ldb install without any additional installation Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 13:47:33 UTC 2010 on sn-devel-104
* s4-ldb: enable ldb module version checkingAndrew Tridgell2010-11-0110-6/+20
|
* s4-ldb: added support for ldb module version checkingAndrew Tridgell2010-11-012-2/+11
|
* ldb:tools/ldbtest.c - fix build warningMatthias Dieter Wallnöfer2010-11-012-2/+3
| | | | Cause was an incomplete declaration.
* s4-ldb: fixed build of paged searchesAndrew Tridgell2010-11-011-1/+1
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 09:41:27 UTC 2010 on sn-devel-104
* s4-ldb: convert existing ldb tools to use new command line hooksAndrew Tridgell2010-11-018-76/+29
| | | | | | | the usage() function needs to take a ldb context, as the popt_options is specific to the ldb context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added ldb command line hook supportAndrew Tridgell2010-11-015-65/+273
| | | | | | | ldb modules can now add hooks to the command line processing for ldb tools Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: moved the ldb_ildap backend into lib/ldb-sambaAndrew Tridgell2010-11-011-879/+0
| | | | this backend is samba4 specific
* s4-ldb: added support for general ldb hooks in modulesAndrew Tridgell2010-11-012-12/+65
| | | | | | | | this allows a ldb module to register a hook function called at various stages of processing. It will be initially used for ldb command line hooks, but should work generally. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added an override flag to ldb_register_backend()Andrew Tridgell2010-11-014-30/+33
| | | | | this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one
* s4-ldb: it is not an error for the modules directory to not existAndrew Tridgell2010-11-011-0/+5
|
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-012-4/+0
|
* s4-ldb: removed the old ldb module loading styleAndrew Tridgell2010-11-012-158/+34
| | | | this gets rid of some particularly obscure cpp macros for module lists
* s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell2010-11-019-22/+66
|
* s4-ldb: convert the openldap ldb backend to the new style of moduleAndrew Tridgell2010-11-012-16/+18
|
* s4-ldb: convert the ildap module to the new type of ldb moduleAndrew Tridgell2010-11-012-17/+17
| | | | | this gets rid of the module aliases, which caused issues on some systems (eg. gentoo).
* s4-ldb: support a new type of ldb module loadingAndrew Tridgell2010-11-014-1/+199
| | | | | | | | | | | | | | | | | | this supports module loading in ldb which uses the approach of "load all modules in a directory". This is much more flexible than the current module loading, as it will allow us to load modules for command line parsing and authentication. Modules are loaded from a colon separated path, in the environment variable LDB_MODULES_PATH. If unset, it defaults to LDB_MODULESDIR. Within each directory modules are loaded recursively (traversing down the directory tree). The device/inode number of each module is remembered to prevent us loading a module twice. Each module is checked for a ldb_init_module() function with dlsym(). If found, it is called with the ldb module version as an argument.
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-317-301/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* ldb: Drop autoconf-based build system.Jelmer Vernooij2010-10-3016-4260/+0
|
* s4-cmdline: make cmdline-credentials a private libraryAndrew Tridgell2010-10-301-1/+1
|
* s4-ldb: add explicit depenencies on ldb library in ldb modulesAndrew Tridgell2010-10-301-2/+10
| | | | | | ldb modules call module functions from the main ldb library Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: create a private library ldb-cmdlineAndrew Tridgell2010-10-301-5/+6
| | | | this prevents duplicate linking of the cmdline support code
* waf: Only specify vnum for non-private libraries.Jelmer Vernooij2010-10-261-2/+6
|
* waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij2010-10-261-1/+1
|
* waf: moved the -Wl,-no-undefined flags to source4 and ldbAndrew Tridgell2010-10-251-0/+4
| | | | | | | | | | moved it out of the general waf build as the s3 waf build cannot yet handle linking with -Wl,-no-undefined Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Oct 25 01:12:15 UTC 2010 on sn-devel-104
* ldb: Rename pyldb pkg-config file to pyldb-util, to avoid confusion withJelmer Vernooij2010-10-242-7/+7
| | | | 'ldb' python module.
* s4: Rename LIBCLI_LDAP to libcli_ldap.Jelmer Vernooij2010-10-241-1/+1
|
* waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij2010-10-231-1/+1
|
* ldb: Support using system pyldb library.Jelmer Vernooij2010-10-231-8/+12
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 23 19:24:25 UTC 2010 on sn-devel-104
* ldb: Install pkg-config file for pyldb.Jelmer Vernooij2010-10-232-0/+14
|
* ldb: Install pyldb-util as public library.Jelmer Vernooij2010-10-231-2/+3
|
* ldb:ldb.h - include a comment that the relax control is mainly used by the ↵Matthias Dieter Wallnöfer2010-10-231-0/+2
| | | | | | | OpenLDAP backend Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 23 16:40:04 UTC 2010 on sn-devel-104
* s4/ldb:introduce the LDB_CONTROL_PROVISION_OID controlMatthias Dieter Wallnöfer2010-10-232-0/+33
| | | | | | | This control is exactly thought for the actions which previously were performed using the RELAX one. We agreed that the RELAX control will only remain for interactions with OpenLDAP.
* ldb:rename LDB_CONTROL_BYPASSOPERATIONAL_OID into ↵Matthias Dieter Wallnöfer2010-10-232-2/+2
| | | | | | LDB_CONTROL_BYPASS_OPERATIONAL_OID It's nicer to have this consistent with "BYPASS_PASSWORD_HASH".
* ldb:ldb_modules.c - "dlclose" could cause inference on "dlerror"Matthias Dieter Wallnöfer2010-10-211-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 09:28:19 UTC 2010 on sn-devel-104
* s4-ldb: make ldb_options_find() publicAndrew Tridgell2010-10-213-2/+231
| | | | | | we need to make this symbol public to allow for -Wl,-no-undefined, as otherwise the pyldb module can't find the symbol when it creates the module
* s4-ldb: make pyldb_util a private libraryAndrew Tridgell2010-10-211-1/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* waf: replace the is_bundled option with private_libraryAndrew Tridgell2010-10-211-1/+1
| | | | | 'private_library' better captures what we are trying to get at when we bundle a library
* ldb:ldb_modules.c - if we don't find the associated dynamic object then ↵Matthias Dieter Wallnöfer2010-10-211-0/+1
| | | | | | | please close the handle Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Oct 21 07:52:44 UTC 2010 on sn-devel-104
* ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free"Matthias Dieter Wallnöfer2010-10-211-3/+1
| | | | Didn't realise that this is already called by "ltdb_attributes_unload".
* ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codesMatthias Dieter Wallnöfer2010-10-211-1/+1
|