summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
AgeCommit message (Collapse)AuthorFilesLines
2009-02-25Use stdbool.h instead of manually defining boolSimo Sorce1-10/+1
2009-02-23Fix headers, ldb_includes.h is a private header,Simo Sorce3-14/+14
do not reference it from ldb.h
2009-01-30Explicitly include ldb_handlers.h where necessarySimo Sorce1-5/+0
2009-01-30Fix all other modules to use ldb_module.h instead of ldb_private.hSimo Sorce2-3/+3
The only 2 modules escaping the rule so far are rootdse and partitions
2009-01-30Add helper function to get a module name, may be useful for debugging.Simo Sorce1-1/+2
2009-01-30Fix misfiled headers.Simo Sorce2-12/+12
Some public functions were mistakenly put into ldb_private.h Revert all modules to only include ldb_module.h
2009-01-30Fix the mess with ldb includes.Simo Sorce5-107/+170
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them.
2009-01-21s4:ldb: remove dependency to samba4's events wrapperStefan Metzmacher1-2/+2
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher2-6/+6
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-12-26Fix some tevent includes, trying to fix the buildKai Blin1-1/+1
2008-12-23ldb: Include tevent.h rather than events.h.Jelmer Vernooij1-1/+1
2008-12-17s4:ldb: make it possible to return per entry controlsAndrew Bartlett2-2/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-12-17s4:ldb: add infrastructure for extended dn handlersAndrew Bartlett2-2/+82
This introduces a new set of pluggable syntax, for use on the extended DN, and uses them when parsing the DN. If the DN appears to be in the extended form, we no longer return the full DN 'as is', but only return the normal part from ldb_dn_get_linearized(). When validating/parsing the DN we validate not only the format of the DN, but also the contents of the GUID or SID (to ensure they are plausable). We also have functions to set and get the extended components on the DN. For now, extended_dn_get_linearized() returns a newly constructed and allocated string each time. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-11-06don't give errors when an empty modules list is given to ldbAndrew Tridgell1-3/+0
2008-10-20Make sure prototypes are always included, make some functions static andJelmer Vernooij1-0/+7
remove some unused functions.
2008-10-16Transform the sequence_number operation into a normal extended operation as ↵Simo Sorce1-17/+20
it should always have been. Make it also async so that it is not a special case.
2008-09-29LDB ASYNC: Core filesSimo Sorce2-65/+138
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-17/+7
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-19Add support for implementing LDB modules in Python.Jelmer Vernooij1-0/+1
2008-08-22fixed a problem with length limited ldap valuesAndrew Tridgell2-5/+5
The core ldb code for string matching assumed NULL terminated strings, whereas the anr module used data_blob_const() to effectively truncate a ldb_val by changing its length. The ldb code is supposed to be based around length limited blobs, not NULL terminated strings, so the correct fix was to change the string comparison functions to be length limited (This used to be commit 26c6aa5a80ffaf06fc33f30a6533f8f16ef538bc)
2008-08-21Don't walk past the end of ldb values.Andrew Bartlett1-0/+1
This is a partial fix towards bugs due to us walking past the end of what we think are strings in ldb. There is much more work to do in this area. Andrew Bartlett (This used to be commit 5805a9a8f35fd90fa4f718f73534817fa3bbdfd2)
2008-08-20Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartletAndrew Bartlett1-2/+2
(This used to be commit 9fa48b3572cb4e55cfaa48a8b516a91904048573)
2008-08-20added a LDB_ATTR_FLAG_FIXED so the schema module can mark attributesAndrew Tridgell1-2/+2
as never to be removed. (This used to be commit 9dce558206a2ce70c69b9b6c5c3c9c58ee165b1d)
2008-08-20Remove last traces of the old 'subclass' featureAndrew Bartlett1-7/+0
(This used to be commit ed19d0abea5b206d186a51fa11dc0c04197e6ee2)
2008-06-27lib/ldb: add forward declaration for struct event_contextStefan Metzmacher1-0/+1
metze (This used to be commit 9bbdc682a985f210874c008a0abc25645e7fbd50)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce3-1/+6
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-03-28Merge v4.0-testJelmer Vernooij2-2/+1
(This used to be commit 977dbdeaf363c8905ed9fd0570eba4be80582833)
2008-03-18ldb: nothing uses "system/network.h" so don't include itStefan Metzmacher1-1/+0
metze (This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
2008-03-18ldb: fix the standalone buildStefan Metzmacher1-2/+2
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-10/+12
Conflicts: source/Makefile source/build/smb_build/makefile.pm source/librpc/config.mk (This used to be commit 3e02fcfd3fb6683f51417ba39f4ec177494eff3e)
2008-03-02Some cleanups for the ldb doxygen docs.Brad Hards1-10/+12
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
2008-02-26Fix the build (again).Jelmer Vernooij1-0/+4
(This used to be commit ef00f6b5817107738dc44367838095896af4e77d)
2008-02-25Fix use of realpath, fix init functions for ldb.Jelmer Vernooij1-1/+3
(This used to be commit ca510136d2c4cae8f520c76df6aaadb5d412bea1)
2008-02-20Remove more function-based inits.Jelmer Vernooij1-11/+26
(This used to be commit b1a7810f3e70f9a831d9b8e85d531e448072adaf)
2008-01-11ldb: Get rid of a warning.Kai Blin1-1/+1
(This used to be commit 37ed9fbeee37a1d86d6f6841eac5c1a0a85c1fcc)
2007-12-21r26481: Make function for loading symbol from DSO more generic, and allow ↵Jelmer Vernooij1-1/+2
modules to provide an ops table directly rather than an initialization function. (This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
2007-12-21r26371: Fix typo.Jelmer Vernooij1-1/+1
(This used to be commit dcbacd9adb1ded14cbea3513f3db351e5b7bbe87)
2007-12-21r26066: Use TALLOC_CTX consistently for talloc contexts rather than void \* ↵Jelmer Vernooij1-36/+36
(it was already being used for some). (This used to be commit d8b175016570d628bb075008149d32a0d538ce95)
2007-12-21r25887: Build Samba-specific ldb modules as dso's.Jelmer Vernooij1-0/+2
(This used to be commit 9d73becbb24fbde2e319e18e84af35d9efaeefda)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij1-5/+7
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25540: Remove prototypes for already removed functions.Jelmer Vernooij1-12/+0
(This used to be commit 042dff55b4cd42b9bedbf574168cc52de3d1dda4)
2007-10-10r25081: Add modules_dir member to ldb_context that is used rather than a globalJelmer Vernooij2-6/+9
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb (This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell4-8/+4
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell4-4/+4
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23364: add LDB_FLG_NOMMAP flagAndrew Tridgell1-0/+5
(This used to be commit 0c3442c68b01b6804f3fd966fc1fe9097eb863aa)
2007-10-10r22681: Fix standalone ldb build when parent directory name != ldb.Jelmer Vernooij1-0/+0
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
2007-10-10r22642: Allow standalone build to work without tdb or talloc checked out, butJelmer Vernooij1-1/+1
provided by the system. (This used to be commit bdde74055121ac538f6006750c94b514e962619d)
2007-10-10r22226: move discard_const macros to librelaceStefan Metzmacher1-5/+0
metze (This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
2007-10-10r22028: Fix include path for the srcidr != builddir case.James Peach1-1/+1
(This used to be commit a6141d40b15d52d40998c6206d632a27122a0060)