summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "s4:dsdb - make the RELAX control private"Andrew Bartlett2010-10-181-6/+8
| | | | | | | | This must be available to the OpenLDAP backend, to set the GUID values in some situations. We need a proper ACL mechanism to control the use or abuse of this control. This reverts commit 10adee89367cee9add993869280542418fb3d370.
* s4:dsdb - make the RELAX control privateMatthias Dieter Wallnöfer2010-10-161-8/+6
| | | | | | | This makes our LDAP much more secure and less error-prone. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 19:43:36 UTC 2010 on sn-devel-104
* ldb:ldb.h - reorder controls/extended operationsMatthias Dieter Wallnöfer2010-10-161-27/+28
| | | | This makes it easier to read
* ldb:pyldb.c - remove pointless commentMatthias Dieter Wallnöfer2010-10-161-1/+0
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104
* ldb:"ldb_dn_compare_base" - use "unsigned int" countersMatthias Dieter Wallnöfer2010-10-161-2/+2
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 13:54:13 UTC 2010 on sn-devel-104
* ldb:"ldb_dn_add_child" - use "unsigned int" countersMatthias Dieter Wallnöfer2010-10-161-2/+3
|
* ldb:"ldb_dn_remove_base_components" - use an "unsigned int" counterMatthias Dieter Wallnöfer2010-10-161-6/+6
|
* ldb:"ldb_dn_canonical" - use an "unsigned int" counterMatthias Dieter Wallnöfer2010-10-161-3/+3
| | | | | Convert it to use an "unsigned int" counter which represents the exact length of the DN components.
* ldb: Only build LIBLDB_MAIN when building ldb itself.Jelmer Vernooij2010-10-131-8/+8
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Wed Oct 13 15:41:29 UTC 2010 on sn-devel-104
* ldb:ldb_match.c - fix a counter typeMatthias Dieter Wallnöfer2010-10-131-1/+1
|
* ldb: raise minor version number for new ldb_msg_match_error() functionAndrew Tridgell2010-10-132-1/+227
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Oct 13 11:42:18 UTC 2010 on sn-devel-104
* s4-ldb: take advantage of ldb_match_msg_error() in more placesAndrew Tridgell2010-10-134-8/+32
| | | | this gives better error checking
* s4-ldb: use operator_fn syntax function in ldb_match codeAndrew Tridgell2010-10-131-92/+212
| | | | | | | | this also fixes error handling in case of bad syntax, memory error etc, which was previously conidered as a mismatch, but should return an error Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added an optional operator_fn in the schema syntaxAndrew Tridgell2010-10-133-5/+25
| | | | | | | | | | | | | this function takes the operator being invoked, which will allow schema functions to provide more fine grained control over comparisons. The key bug this was introduced to fix is the incorrect handling of the LDB_OP_PRESENT test for deleted linked attributes. The backends are unaware of the deleted state of these links, so they cannot do a LDB_OP_PRESENT test on their own. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* ldb: when running from build directory, use the build modulesAndrew Tridgell2010-10-131-27/+35
| | | | | | | we need to use the build modules, not the installed modules, so tests run from the source directory are valid Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* ldb: Build ildap module as shared object.Jelmer Vernooij2010-10-111-7/+3
|
* ldb The use of a private event context isn't a hackAndrew Bartlett2010-10-111-2/+3
| | | | | | | | | This is deliberate behaviour. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Oct 11 13:45:14 UTC 2010 on sn-devel-104
* s4-ldb Don't use talloc_autofree_context() in ldbAndrew Bartlett2010-10-111-1/+1
| | | | | | The private event context only needs to live as long as ldb itself. Andrew Bartlett
* wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2010-10-101-2/+1
|
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-101-1/+1
| | | | | | | | | applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
* waf: fixed exit status of test suitesAndrew Tridgell2010-10-071-2/+4
| | | | use RUN_COMMAND() to handle signal errors and exit status
* s4:ldb_modules.c - fix a typoMatthias Dieter Wallnöfer2010-10-051-1/+1
|
* Add missing dependencies for com_err.Jelmer Vernooij2010-10-053-1/+10
|
* ldb: Refer to ldb(3), not ldb(7).Jelmer Vernooij2010-10-056-13/+13
|
* unittests: add a test to avoid regression on previous fixMatthieu Patou2010-10-041-0/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104
* pyldb: test return code before trying to talloc_stealMatthieu Patou2010-10-041-2/+2
| | | | | Otherwise you can have an error on the talloc_steal as the req can have been not talloced yet
* heimdal: convert some subsystems to libraries, consistent with upstream heimdal.Jelmer Vernooij2010-10-031-1/+1
|
* ldb-dn: don't crash on NULL in ldb_binary_encode_string()Andrew Tridgell2010-09-281-0/+3
| | | | Thanks to Nadya for finding this one!
* ldb-tdb: ignore failure to register control on rootdseAndrew Tridgell2010-09-281-4/+1
| | | | this is expected for non-sam LDBs
* ldb: Fix path to alternative buildtools.Jelmer Vernooij2010-09-281-1/+1
|
* ldb/tevent: Fix detection of waf paths.Jelmer Vernooij2010-09-282-2/+11
|
* ldb: Update autogen-waf.sh to no longer overwrite existing files.Jelmer Vernooij2010-09-282-2/+12
|
* ldb: Remove samba-specific targets from Makefile.Jelmer Vernooij2010-09-281-8/+0
|
* ldb: Bump version because of addition of ldb_req_location.Jelmer Vernooij2010-09-281-1/+1
|
* s4-ildap: two more places that need talloc_reparent()Andrew Tridgell2010-09-281-1/+1
| | | | | | | these contexts can have references Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Sep 28 00:04:03 UTC 2010 on sn-devel-104
* s4-ldb: Added ldb_request_replace_controlNadezhda Ivanova2010-09-272-0/+34
| | | | | | | | It is the same as ldb_request_add_control, except it will replace an existing control. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Sep 27 19:00:38 UTC 2010 on sn-devel-104
* Check in configure/Makefile for those projects that have waf as primary ↵Jelmer Vernooij2010-09-252-0/+71
| | | | build system.
* ldb: added request location trackingAndrew Tridgell2010-09-254-0/+39
| | | | | | this is used to help debug async ldb requests. The ldb request handle now contains a location string and the parent request pointer. This allows us to print a backtrace of ldb requests in the dsdb modules.
* ldb:ldb_match.c - fix counter variable typeMatthias Dieter Wallnöfer2010-09-241-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb:ldb_msg_add_linearized_dn - handle NULL DNsMatthias Dieter Wallnöfer2010-09-241-2/+8
| | | | | | Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* ldb: Use waf as default build system.Jelmer Vernooij2010-09-222-18/+19
|
* ldb: Depend directly on replace, fixes the build on systems withJelmer Vernooij2010-09-221-0/+3
| | | | tdb and tevent installed in the system.
* ldb:tools/cmdline.c - reorganise importsMatthias Dieter Wallnöfer2010-09-111-6/+2
|
* ldb:tools/cmdline.c - make a counter unsigned where appropriateMatthias Dieter Wallnöfer2010-09-111-1/+1
|
* s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵Matthias Dieter Wallnöfer2010-09-111-1/+1
| | | | results
* pyldb: expose PyLdbDn_FromDn()Andrew Tridgell2010-09-092-18/+29
| | | | | | This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* python-ldb: allow ldb_rename to take optional control(s)Matthieu Patou2010-09-051-4/+50
|
* ldb: Add missing aliases for ldb_ildap.Jelmer Vernooij2010-09-041-0/+1
|
* s4/ldb: fix standalone buildBjörn Jacke2010-09-011-2/+6
|
* s4/ldb: use monotonic clock for time deltas in ldbtestBjörn Jacke2010-08-311-4/+4
|