Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-04-29 | ldb:tdb backend - cache - remove unused "last_attribute" structure member | Matthias Dieter Wallnöfer | 2 | -8/+0 | |
Reviewed-by: abartlet Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Apr 29 20:07:27 CEST 2011 on sn-devel-104 | |||||
2011-02-14 | s4-ldb: fixed a uninitialised el->flags in ldb_tdb | Andrew Tridgell | 1 | -2/+1 | |
this caused an intermittent failure in some tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-02-14 | s4-ldb: added LDB_FLAG_INTERNAL_FORCE_SINGLE_VALUE_CHECK | Andrew Tridgell | 1 | -0/+8 | |
this allows a ldb module to force an element as single valued | |||||
2011-02-14 | s4-ldb: use a helper function for single valued checking | Andrew Tridgell | 1 | -25/+35 | |
this gives us a single piece of logic for single value checking in the tdb backend Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-01-12 | ldb:ltdb_sequence_number - initialise "tmp_ctx" to prevent uninitialisation ↵ | Matthias Dieter Wallnöfer | 1 | -1/+2 | |
warning | |||||
2011-01-12 | ldb:ltdb_sequence_number - check for an OOM exception | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
2010-12-18 | lib/ldb Remove talloc_free() that causes double-free in callbacks. | Andrew Bartlett | 1 | -1/+3 | |
This partially reverts 0941099a, which was a little over-eager in fixing what were presumed to be memory leaks. It is always the callbacks responsiblity to free the ares, but if they don't then the end of the request should handle the cleanup. Attempting to talloc_free() here will result (as it did in the descriptor module) in a double-free error if the callback does free it, and no other caller of ldb_module_send_entry() has this behaviour. Andrew Bartlett | |||||
2010-11-26 | ldb-tdb: Add more information about full scan | Matthieu Patou | 1 | -1/+7 | |
2010-11-23 | s4-ldb: added an environment varibale LDB_WARN_UNINDEXED | Andrew Tridgell | 3 | -7/+13 | |
when LDB_WARN_UNINDEXED is set, we produce warnings about unindexed searches. This makes it easier to find performance problems caused by unindexed searches. | |||||
2010-11-07 | ldb:ldb_pack.c - the "dn" attribute isn't allowed in the message part, only ↵ | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
the "distinguishedName" one Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 7 10:11:02 UTC 2010 on sn-devel-104 | |||||
2010-11-06 | ldb:ldb_tdb.c - ltdb_check_special_dn - fix indentation | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-11-06 | ldb:ldb_tdb.c - make "ltdb_add" more similar to "ltdb_modify" | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
And remove in "ltdb_add_internal" a cache loading call which has been present twice. | |||||
2010-11-05 | s4-ldb: much more memory efficient msg filtering | Andrew Tridgell | 1 | -3/+20 | |
this ensures we don't leave unnecessary attributes in returned ldb objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-11-04 | s4-ldb: implement LDB_FLAG_INTERNAL_DISABLE_SINGLE_VALUE_CHECK | Andrew Tridgell | 1 | -13/+9 | |
this disables the single value checking for one attribute. It is much more specific than a general RELAX control, and also more efficient. I think we should try to have more precise overrides like this, rather than using RELAX as a general purpose override | |||||
2010-11-04 | Move the checking of single valued attributes back into the tdb backend. | Andrew Tridgell | 1 | -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. | |||||
2010-11-01 | s4-ldb: removed ldb_includes.h | Andrew Tridgell | 1 | -1/+3 | |
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 | |||||
2010-11-01 | s4-ldb: enable ldb module version checking | Andrew Tridgell | 1 | -0/+1 | |
2010-11-01 | s4-ldb: added an override flag to ldb_register_backend() | Andrew Tridgell | 1 | -1/+1 | |
this will be used to allow a system ldb build with an ldb backend to have its ldap handler overridden by the s4 one | |||||
2010-11-01 | s4-ldb: convert the rest of the ldb modules to the new style | Andrew Tridgell | 1 | -4/+4 | |
2010-10-21 | ldb:ldb_tdb/ldb_cache.c - remove a superflous "talloc_free" | Matthias Dieter Wallnöfer | 1 | -3/+1 | |
Didn't realise that this is already called by "ltdb_attributes_unload". | |||||
2010-10-21 | ldb:ldb_tdb/ldb_cache.c - in this function we don't use LDB return codes | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-10-20 | ldb:ldb_index.c - fix some memory leaks | Matthias Dieter Wallnöfer | 1 | -1/+6 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Oct 20 13:11:49 UTC 2010 on sn-devel-104 | |||||
2010-10-20 | ldb:ldb_index.c - let "ldb_module_oom" generate the return code | Matthias Dieter Wallnöfer | 1 | -15/+8 | |
2010-10-20 | ldb:ldb_cache.c - fix memory contexts and memory leaks | Matthias Dieter Wallnöfer | 1 | -3/+4 | |
2010-10-20 | ldb:ldb_tdb submodule - use "ldb_msg_new" where appropriate | Matthias Dieter Wallnöfer | 2 | -12/+12 | |
It is saver than a manual "talloc". | |||||
2010-10-20 | ldb:ldb_pack.c - remove superflous "message->elements = NULL" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
It's already marked at this at the beginning of the call. | |||||
2010-10-18 | ldb: always return PROTOCOL_ERROR if an operation is unsupported | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
That's exactly the behaviour of various LDAP servers. | |||||
2010-10-18 | ldb:ldb_tdb.c - fix up counter variables | Matthias Dieter Wallnöfer | 1 | -5/+8 | |
"find_element" returns an "int" since there is also the possibility that a certain element doesn't exist - then "-1" is returned. But beside this exception treat all other return values as unsigned. | |||||
2010-10-18 | ldb:ldb_tdb.c - improve the error outputs | Matthias Dieter Wallnöfer | 1 | -13/+25 | |
- Fix indentation - Include always the failing DN - Reorder the outputs to make them consistent | |||||
2010-10-13 | s4-ldb: take advantage of ldb_match_msg_error() in more places | Andrew Tridgell | 2 | -4/+16 | |
this gives better error checking | |||||
2010-10-13 | s4-ldb: added an optional operator_fn in the schema syntax | Andrew Tridgell | 1 | -2/+10 | |
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-09-28 | ldb-tdb: ignore failure to register control on rootdse | Andrew Tridgell | 1 | -4/+1 | |
this is expected for non-sam LDBs | |||||
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: 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-06-07 | s4:objectclass_attrs LDB module - move the single-valued attribute check ↵ | Matthias Dieter Wallnöfer | 1 | -44/+0 | |
into this module It seems to me more consistent (and also to keep the same behaviour on all backends). Also the DRS hack should therefore not be needed anymore since the "repl_meta_data" module launches requests behind "objectclass_attrs". | |||||
2010-06-07 | s4:rdn_name LDB module - move the "distinguishedName" write prevent check here | Matthias Dieter Wallnöfer | 1 | -7/+0 | |
In my eyes it fits better here than in the TDB backend code. | |||||
2010-06-06 | ldb:ltdb_filter_attrs - fix a counter variable type | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2010-05-30 | ldb:ldb_tdb/ldb_tdb.c - quiet a warning regarding TDB -> LDB error code ↵ | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
conversions | |||||
2010-04-18 | ldb: mark the tdb backend in ldb as _PRIVATE_ | Andrew Tridgell | 1 | -1/+1 | |
2010-03-08 | s4:LDB TDB index code - reintroduce accidentally removed code part | Matthias Dieter Wallnöfer | 1 | -1/+3 | |
This was removed by 95d726f3018ef5d249f89d56bde24b7ee0c24ecf. Sorry. | |||||
2010-03-08 | LDB:TDB backend - change counter variables to "unsigned" where appropriate | Matthias Dieter Wallnöfer | 5 | -16/+19 | |
2010-02-22 | LDB related spelling fixes. | Brad Hards | 1 | -1/+1 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-14 | s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb code | Andrew Tridgell | 1 | -1/+1 | |
2010-02-10 | s4-ldb: update ldb_tdb to use new DLIST_ macros | Andrew Tridgell | 1 | -15/+3 | |
(cherry picked from commit 6ede911654566a7e21ded70dacac68df3b6a1bca) | |||||
2010-01-31 | s4:ldb quiet down rootdse control registration | Simo Sorce | 1 | -1/+1 | |
2010-01-30 | s4:ldb Fix check made conditional by mistake | Simo Sorce | 1 | -7/+11 | |
2010-01-30 | s4:ldb add support for permissive modify control | Simo Sorce | 1 | -24/+96 | |
2010-01-16 | s4-ldb: cope with bad ptr alignment in ldb_index.c | Andrew Tridgell | 1 | -3/+3 | |
We can't assume that a rec_ptr will come back from a tdb traverse with alignment sufficient for a pointer. | |||||
2010-01-08 | s4-ldb: improve error handling in indexing code | Andrew Tridgell | 2 | -5/+34 | |
When we get an indexing failure we want a clear error message |