summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
AgeCommit message (Collapse)AuthorFilesLines
2008-04-14Remove prototypes from build.h in preparation of removing build.hJelmer Vernooij1-0/+6
altogether. (This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
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-02Some cleanups for the ldb doxygen docs.Brad Hards1-10/+12
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
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)
2007-10-10r21553: Remove bogus comment.Andrew Bartlett1-3/+0
(This used to be commit 7c5529729b95f170508b9fe4f04bd33d6f000b1e)
2007-10-10r21496: A number of ldb control and LDAP changes, surrounding theAndrew Bartlett2-21/+42
'phantom_root' flag in the search_options control - Add in support for LDB controls to the js layer - Test the behaviour - Implement support for the 'phantom_root' flag in the partitions module - Make the LDAP server set the 'phantom_root' flag in the search_options control - This replaces the global_catalog flag passed down as an opaque pointer - Rework the string-format control parsing function into ldb_parse_control_strings(), returning errors by ldb_errorstring() method, rather than with printf to stderr - Rework some of the ldb_control handling logic Andrew Bartlett (This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
2007-10-10r20852: add a function to add a ldb control to a ldb_requestStefan Metzmacher1-0/+12
metze (This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
2007-10-10r20761: let ldb modules call ldb_set_default_dns()Stefan Metzmacher1-0/+1
metze (This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
2007-10-10r20598: add comments and make clear that the void *data element for extended ↵Stefan Metzmacher1-5/+7
operations needs to be NULL or a valid talloc pointer as talloc_get_type() will be called on it. metze (This used to be commit 5731617ea9103eaaef2c5591aab89d59ded35fd8)
2007-10-10r20596: add prototypes for the ldb_extended functionsStefan Metzmacher1-2/+62
metze (This used to be commit 8d3a3117c313c2950381e8d21eb92469a82c3afe)
2007-10-10r20583: implement the frontend calls for extended operationsStefan Metzmacher1-5/+6
metze (This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
2007-10-10r20582: use void *data in the ldb_extended struct to match what we have in ↵Stefan Metzmacher1-4/+4
ldb_control add a request element for extended requests metze (This used to be commit 530b3cd2501efb7763cbb7d3301ff0550689effe)
2007-10-10r20581: - the ldb modules have explicit hooks for extended operationsStefan Metzmacher1-2/+2
so call them - reorder the request operations first all with explixit hooks metze (This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
2007-10-10r20462: add functions to handle UTCTime stringsStefan Metzmacher1-5/+31
metze (This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
2007-10-10r20320: add missing prototypesStefan Metzmacher1-1/+18
metze (This used to be commit b9d0ea3954e3f76436e976555540dd29dacd621d)
2007-10-10r20319: fix compiler warningsStefan Metzmacher1-3/+3
metze (This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
2007-10-10r20316: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)
2007-10-10r20189: remove unused struct elementStefan Metzmacher1-1/+0
metze (This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
2007-10-10r20184: change ldb_attrib_handler into ldb_schema_attribute, which has a pointerStefan Metzmacher2-27/+22
to a ldb_schema_syntax struct. the default attribute handler is now registered dynamicly as "*" attribute, instead of having its own code path. ldb_schema_attribute's can be added to the ldb_schema given a ldb_schema_syntax struct or the syntax name we may also need to introduce a ldb_schema_matching_rule, and add a pointer to a default ldb_schema_matching_rule in the ldb_schema_syntax. metze (This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
2007-10-10r20168: start separating attributes and syntaxesStefan Metzmacher2-2/+10
metze (This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
2007-10-10r20046: Add ldb_search_exp_fmt and port comment to 4Volker Lendecke1-3/+10
(This used to be commit 879dfed8d8356aae6a11352b89bdc0f2d9f28970)
2007-10-10r20034: Start using ldb_search_exp_fmt()Simo Sorce1-0/+3
(This used to be commit 4f07542143ddf5066f0360d965f26a8470504047)
2007-10-10r19906: ldb_attr_cmp is used a lotSimo Sorce1-1/+5
remove unneded overhead of a function call (This used to be commit 3ca25867621af049c6cc52e919fa46dd26c31918)
2007-10-10r19888: make it possible to use default attrib handlers from extensionsSimo Sorce1-0/+68
list more DN attributes as part of samba attribute handlers (nCName moved here) (This used to be commit 627ed8b5165c9a1cc0e2c67329b364f9cd8a1726)
2007-10-10r19832: better prototypes for the linearization functions:Simo Sorce1-2/+2
- ldb_dn_get_linearized returns a const string - ldb_dn_alloc_linearized allocs astring with the linearized dn (This used to be commit 3929c086d5d0b3f08b1c4f2f3f9602c3f4a9a4bd)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce2-46/+50
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19731: Modify the ldb_map infrustructure to always map from requestedAndrew Bartlett1-0/+2
attributes to backend (remote) attributes. We can't do a reverse mapping safely where the remote attribute may be a source for multiple local attributes. (We end up with the wrong attributes returned). In doing this, I've modified the samba3sam.js test to be more realistic, and fixed some failures in the handling of primaryGroupID. I've added a new (private) helper function ldb_msg_remove_element() to avoid a double lookup of the element name. I've also re-formatted many of the function headers, to fit into standard editor widths. Andrew Bartlett (This used to be commit 186766e3095e71ba716c69e681592e217a3bc420)
2007-10-10r19531: Make struct ldb_dn opaque and local to ldb_dn.cSimo Sorce1-35/+27
(This used to be commit 889fb983ba1cf8a11424a8b3dc3a5ef76e780082)
2007-10-10r19489: Change ldb_msg_add_value and ldb_msg_add_empty to take a foruth ↵Simo Sorce1-3/+7
argument. This is a pointer to an element pointer. If it is not null it will be filled with the pointer of the manipulated element. Will avoid double searches on the elements list in some cases. (This used to be commit 0fa5d4bc225b83e9f63ac6d75bffc4c08eb6b620)
2007-10-10r19455: forgot thisSimo Sorce1-0/+1
(This used to be commit 2b770885cd234027f92ba543706df5d55f16f739)
2007-10-10r19453: Expose helper functionsSimo Sorce1-1/+140
(This used to be commit ee86e88e4f523d67900b52b5a4d4040a76360c61)
2007-10-10r19365: fixed a memory leak in the ldb attribute handlingAndrew Tridgell1-0/+3
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
2007-10-10r19196: merge from samba3:Stefan Metzmacher1-3/+3
pass always a mem_ctx to functions and a ldb_context where needed metze (This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)