Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-13 | s4-ldb: added an optional operator_fn in the schema syntax | Andrew Tridgell | 3 | -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> | |||||
2010-10-13 | ldb: when running from build directory, use the build modules | Andrew Tridgell | 1 | -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> | |||||
2010-10-11 | ldb: Build ildap module as shared object. | Jelmer Vernooij | 1 | -7/+3 | |
2010-10-11 | ldb The use of a private event context isn't a hack | Andrew Bartlett | 1 | -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 | |||||
2010-10-11 | s4-ldb Don't use talloc_autofree_context() in ldb | Andrew Bartlett | 1 | -1/+1 | |
The private event context only needs to live as long as ldb itself. Andrew Bartlett | |||||
2010-10-10 | wafsamba: Fix handling of pyembed/pyext. | Jelmer Vernooij | 1 | -2/+1 | |
2010-10-10 | wafsamba: Clarify needs_python argument name, use pyembed/pyext where | Jelmer Vernooij | 1 | -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 | |||||
2010-10-07 | waf: fixed exit status of test suites | Andrew Tridgell | 1 | -2/+4 | |
use RUN_COMMAND() to handle signal errors and exit status | |||||
2010-10-05 | s4:ldb_modules.c - fix a typo | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-10-05 | Add missing dependencies for com_err. | Jelmer Vernooij | 3 | -1/+10 | |
2010-10-05 | ldb: Refer to ldb(3), not ldb(7). | Jelmer Vernooij | 6 | -13/+13 | |
2010-10-04 | unittests: add a test to avoid regression on previous fix | Matthieu Patou | 1 | -0/+5 | |
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104 | |||||
2010-10-04 | pyldb: test return code before trying to talloc_steal | Matthieu Patou | 1 | -2/+2 | |
Otherwise you can have an error on the talloc_steal as the req can have been not talloced yet | |||||
2010-10-03 | heimdal: convert some subsystems to libraries, consistent with upstream heimdal. | Jelmer Vernooij | 1 | -1/+1 | |
2010-09-28 | ldb-dn: don't crash on NULL in ldb_binary_encode_string() | Andrew Tridgell | 1 | -0/+3 | |
Thanks to Nadya for finding this one! | |||||
2010-09-28 | ldb-tdb: ignore failure to register control on rootdse | Andrew Tridgell | 1 | -4/+1 | |
this is expected for non-sam LDBs | |||||
2010-09-28 | ldb: Fix path to alternative buildtools. | Jelmer Vernooij | 1 | -1/+1 | |
2010-09-28 | ldb/tevent: Fix detection of waf paths. | Jelmer Vernooij | 2 | -2/+11 | |
2010-09-28 | ldb: Update autogen-waf.sh to no longer overwrite existing files. | Jelmer Vernooij | 2 | -2/+12 | |
2010-09-28 | ldb: Remove samba-specific targets from Makefile. | Jelmer Vernooij | 1 | -8/+0 | |
2010-09-28 | ldb: Bump version because of addition of ldb_req_location. | Jelmer Vernooij | 1 | -1/+1 | |
2010-09-28 | s4-ildap: two more places that need talloc_reparent() | Andrew Tridgell | 1 | -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 | |||||
2010-09-27 | s4-ldb: Added ldb_request_replace_control | Nadezhda Ivanova | 2 | -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 | |||||
2010-09-25 | Check in configure/Makefile for those projects that have waf as primary ↵ | Jelmer Vernooij | 2 | -0/+71 | |
build system. | |||||
2010-09-25 | ldb: added request location tracking | Andrew Tridgell | 4 | -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. | |||||
2010-09-24 | ldb:ldb_match.c - fix counter variable type | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-24 | ldb:ldb_msg_add_linearized_dn - handle NULL DNs | Matthias Dieter Wallnöfer | 1 | -2/+8 | |
Don't let the routine crash Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-22 | ldb: Use waf as default build system. | Jelmer Vernooij | 2 | -18/+19 | |
2010-09-22 | ldb: Depend directly on replace, fixes the build on systems with | Jelmer Vernooij | 1 | -0/+3 | |
tdb and tevent installed in the system. | |||||
2010-09-11 | ldb:tools/cmdline.c - reorganise imports | Matthias Dieter Wallnöfer | 1 | -6/+2 | |
2010-09-11 | ldb:tools/cmdline.c - make a counter unsigned where appropriate | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-09-11 | s4:ldb_register_samba_handlers - fix up and convert result codes to LDB/LDAP ↵ | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
results | |||||
2010-09-09 | pyldb: expose PyLdbDn_FromDn() | Andrew Tridgell | 2 | -18/+29 | |
This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-05 | python-ldb: allow ldb_rename to take optional control(s) | Matthieu Patou | 1 | -4/+50 | |
2010-09-04 | ldb: Add missing aliases for ldb_ildap. | Jelmer Vernooij | 1 | -0/+1 | |
2010-09-01 | s4/ldb: fix standalone build | Björn Jacke | 1 | -2/+6 | |
2010-08-31 | s4/ldb: use monotonic clock for time deltas in ldbtest | Björn Jacke | 1 | -4/+4 | |
2010-08-22 | pyldb: do type checking on the list form of ldb add | Andrew Tridgell | 1 | -0/+6 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-08-20 | s4-ldb: added support for rodc_control in ldb | Andrew Tridgell | 1 | -0/+27 | |
this allows you to specify the RODC join control in python ldb calls or on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: ensure element flags are zero in ldb search return | Andrew Tridgell | 1 | -0/+2 | |
the distinguishedName element was getting an uninitialised flags value | |||||
2010-08-17 | s4-ldb: added LDB_FLAG_INTERNAL_DISABLE_VALIDATION | Andrew Tridgell | 1 | -0/+6 | |
When this flag is set on an element in an add/modify request then the normal validate_ldb() call that checks the element against schema constraints is disabled Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: added LDB_FLAG_INTERNAL_MASK | Andrew Tridgell | 2 | -0/+31 | |
This ensures that internal bits for the element flags in add/modify requests are not set via the ldb API Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: use LDB_FLAG_MOD_TYPE() to extract element type from messages | Andrew Tridgell | 1 | -0/+5 | |
The flags field of message elements is part of a set of flags. We had LDB_FLAG_MOD_MASK for extracting the type, but it was only rarely being used (only 1 call used it correctly). This adds LDB_FLAG_MOD_MASK() to make it more obvious what is going on. This will allow us to use some of the other flags bits for internal markers on elements Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-dsdb: added support for LDB_CONTROL_RODC_DCPROMO_OID | Andrew Tridgell | 1 | -0/+6 | |
this control adds a unique msDS-SecondaryKrbTgtNumber attribute to a user object. There is some 'interesting' interaction with the rangeLower and rangeUpper attributes and this add. We don't implementat rangeLower/rangeUpper yet, but when we do we'll need an override for this control (or be careful about module ordering). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: test the 'displayName=a,b' bug | Andrew Tridgell | 1 | -0/+6 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: fixed the ldb 'displayName=a,b' indexing bug | Andrew Tridgell | 1 | -2/+4 | |
the problem was the inconsistency between the key form of DNs between the itdb used for indexing and the on disk form Thanks to Matthieu Patou for finding this bug! Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-08-17 | s4-ldb: add some comments explaining the ltdb_index_idxptr() function | Andrew Tridgell | 1 | -0/+8 | |
this function copes with alignment sensitive CPUs Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-29 | s4-ldb: use TALLOC_CTX type instead of 'void' | Kamen Mazdrashki | 9 | -49/+49 | |
2010-07-19 | s4: Remove trailing whitespaces | Kamen Mazdrashki | 2 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | ldb: Mark _DEPRECATED_ ldb_msg_diff() and ldb_msg_canonicalize() functions | Kamen Mazdrashki | 1 | -2/+28 | |
They are not quite safe to use (requires caller to steal resulting message in own context) and may lead to holding memory for too long. Signed-off-by: Andrew Bartlett <abartlet@samba.org> |