summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17739: forgot to add replace/*Andrew Tridgell3-0/+120
(This used to be commit ceb09f50b7d9f2626b42123e2482d562713f881b)
2007-10-10r17738: solving the seemingly trivial problem of timegm() being missing onAndrew Tridgell5-28/+23
some systems requires quite a large change in ldb. The core problem is that ldb doesn't have its own equivalent of lib/replace/, so we have no sane place to put things like timegm.c This patch moves part of lib/replace/ from Samba4 into ldb, and the next patch will remove those parts from Samba4. We will probably need to similarly move parts of lib/replace/ into lib/talloc/ and lib/tdb/, so that at each level the libraries have replacements for the functions they need, but higher level libraries don't need to re-include replacements if a lower level library already replaces the function (This used to be commit c2f6c217fb4a5c84499246480f00df40b0711074)
2007-10-10r17735: a (probably useless) attempt to workaround stupidity in HPs version ofAndrew Tridgell1-1/+1
make (This used to be commit b85b1f5926789c0d6f7cad5f6b8dc4992cca5a13)
2007-10-10r17734: tru64 needs these for standalone buildAndrew Tridgell1-0/+4
(This used to be commit b735ad8cfa6c10b3e1e450bcec73904aa72e91b2)
2007-10-10r17733: doxygen is way too noisy to build every time, and it doesn't doAndrew Tridgell1-1/+1
dependencies. If someone can fix it to only rebuild when something changes, then feel free to re-enable it by default. Otherwise use "make doxygen" if you are in need of a doxygen fix .... (This used to be commit e9ab8d9f4820c03ee6023bc5dd586f4b5643aa2f)
2007-10-10r17732: after some help from Jelmer, changed builddocs.sh not to rely onAndrew Tridgell10-43/+33
either an internet connection, or a list of xsl paths (This used to be commit 7f3c699d0f8fc0e75b351bc851dbb9ffdc3617c4)
2007-10-10r17731: try to cope with freebsd handling of .a dependenciesAndrew Tridgell1-1/+1
(This used to be commit 1ad1d5f37e0915e5e477b99ef16fc82a01b82708)
2007-10-10r17730: cast dlsym result to try to avoid a compiler crash on hpuxAndrew Tridgell1-1/+1
(This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)
2007-10-10r17729: remove the dependence on an internet connection for buildingAndrew Tridgell3-18/+87
standalone ldb by only running xsltproc if we can find a local copy of the required stylesheets (This used to be commit 16be09e0d6bd2c9c21f9cf0291dabf661a9a3797)
2007-10-10r17726: not having slapd installed isn't a ldb test failureAndrew Tridgell1-1/+2
(This used to be commit 33ccb93647a94fbbd2d08199b6655a3bf14d0a38)
2007-10-10r17725: VPATH and builds out of the source directory causes problems with theAndrew Tridgell1-1/+1
AIX 5.1 version of make. Putting a direct dependency on $(OBJS) works around this, and should be harmless on other systems (This used to be commit 6a7182b599d43d2da636dfb68547f0f4aea4050e)
2007-10-10r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday appleAndrew Tridgell1-2/+12
will realise that buffer overflows are bad .... (This used to be commit 0a6968b71b3cc492edfc3d46bd7e0c66c7ed8557)
2007-10-10r17722: better to use talloc_vasprintf() than vasprintf() directly, as itAndrew Tridgell1-4/+3
depends on less libc functions (This used to be commit a05101d83b06543cd32b08b4dec29d8f6bd27674)
2007-10-10r17721: fixed the dlopen and MODULESDIR handling in the standalone buildAndrew Tridgell2-3/+7
(This used to be commit a40e8c210a27a88e01b023c8b6d298e271c147d7)
2007-10-10r17720: in standalone ldb build, some systems need sys/stat.h and a defn ofAndrew Tridgell1-0/+5
comparison_fn_t (This used to be commit 99915268e60f6f877b639f1788ebdcf8105d6073)
2007-10-10r17719: ldb_cmdline needs to be static for cc on solarisAndrew Tridgell1-1/+2
(This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)
2007-10-10r17718: don't consider a slapadd failure in the ldap backend tests as a ldbAndrew Tridgell1-1/+4
failure (This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a)
2007-10-10r17714: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit cea06e105a28e12989cd6fdf6d91d86347b8ffc4)
2007-10-10r17711: fix compiler warningsStefan Metzmacher3-10/+9
metze (This used to be commit f3dc51fef53287cc2e2af7ed4a9f3f52a5cd06ed)
2007-10-10r17708: make the automated testing of the ldb ldap backend more portableAndrew Tridgell2-7/+9
(This used to be commit bf88bc5de61c3c20d77e2d73e27e741031e9ec06)
2007-10-10r17707: Match the output (aside from dividers) the output ofAndrew Bartlett1-6/+28
ol-schema-migrate.pl in the schema output. Andrew Bartlett (This used to be commit 8f624fd17503e85afe74a3e1915e30f28d19853b)
2007-10-10r17706: remove the dependence on gnu make in the standalone buildAndrew Tridgell2-66/+39
(This used to be commit 07fa357f3f7251859f8afb6f2b0488b3718b0474)
2007-10-10r17702: test for gcc, and only enable gcc flags if trueAndrew Tridgell1-2/+1
(This used to be commit 6495620d1819a50b79c77258ced9d0cadd25e129)
2007-10-10r17701: doxygen (if installed!) needs to be run in the src directoryAndrew Tridgell1-1/+1
(This used to be commit bd1bd1c5ce52e9399461041e11cc30c93ba356a9)
2007-10-10r17700: Despite our best hopes, the way module initialisation tends to happen,Andrew Bartlett1-4/+4
we make searches before things are initialised. Cope with this. Andrew Bartlett (This used to be commit daa1a61891ede404bcce72affb7094e5c452c689)
2007-10-10r17698: The original code assumed that &data->context was a valid tallocAndrew Bartlett2-13/+21
pointer. This only works when this is the only structure member, but when I added a new context pointer, it failed. Andrew Bartlett (This used to be commit 5bcfa12cef0d9eba5d5d1f65f676e7852297667f)
2007-10-10r17697: - enable test for slapdAndrew Tridgell1-1/+2
- include popt.m4 (This used to be commit 55748bb382358c1ecbef3d2d696833b695f75d74)
2007-10-10r17696: attempt to allow ldb to use an external popt directory, so we canAndrew Tridgell2-2/+32
point it at the popt sources in the samba source tree when building in the build farm (This used to be commit 13e14e0f8decbb7f3bafed9d980950d825a985e6)
2007-10-10r17695: added installcheck targetAndrew Tridgell1-1/+3
(This used to be commit 7cca1f83f40106707c00edf612796451536d73e5)
2007-10-10r17693: only install man pages if we have managed to generate them withAndrew Tridgell1-2/+2
xsltproc (This used to be commit 3e48177dd138d835766cba304d266fd30a87ebef)
2007-10-10r17692: - don't try and run ldap tests unless we have slapdAndrew Tridgell1-5/+6
- fix manpages install (This used to be commit 9bc751d1f18be1b03e47412e94abe6390f752f98)
2007-10-10r17691: Make the structure more public, so we have somewhere for callingAndrew Bartlett2-5/+6
modules to put private data. Andrew Bartlett (This used to be commit ba00f45357d113bf245c6622ef96701aa7c7026c)
2007-10-10r17689: build works, this should fix install ....Andrew Tridgell1-1/+2
(This used to be commit 9a7c1df956ad2e5abaa33b4c808cc1379c2d1c67)
2007-10-10r17688: the commit/test cycle for getting this to work in the build farm sureAndrew Tridgell1-1/+1
is tedious! nearly there I hope ..... (This used to be commit d0412765bade27acdd5cc03d7d527fe7ddd1fb11)
2007-10-10r17687: remove circular dependencyAndrew Tridgell1-2/+2
(This used to be commit b12fd256ff827f45f24c56edbc6f44248ba9b9a3)
2007-10-10r17679: - fix 'make test-ldap' to skip ldb specialsAndrew Tridgell8-48/+77
- allow ldb to be built in a separate build directory, using: /some/path/to/ldb/configure make this will make it much easier to put ldb in the build farm without interfering with the build farm builds of tdb and talloc (This used to be commit 580ed6730d33bad62e9799a38377c40f2852ae89)
2007-10-10r17678: don't free result message twiceAndrew Tridgell1-3/+3
(This used to be commit e3908818198bf0f89c1140e659ab2140bdfbc323)
2007-10-10r17614: Our first "client side' ldb module.Simo Sorce2-0/+448
This module has been created with the purpose of being used for searches against ldap servers without the need to handle the control manually You can test it by passing -o modules:paged_searches to ldbsearch The page search size is set to 500 objects. Simo. (This used to be commit 07d377f3c27966b40465bb5dc4f55746ba8489af)
2007-10-10r17613: style fixSimo Sorce1-1/+2
(This used to be commit 86fc149ca805e4c801f6251c8c9f2480010b4962)
2007-10-10r17601: Fix declaration after statement.Andrew Bartlett1-3/+2
Andrew Bartlett (This used to be commit 05c276568a6c42c9ceb686a390c4fd279d4a5bb6)
2007-10-10r17600: Finish the schema conversion tool, and add a mapping file, used to mapAndrew Bartlett2-58/+145
OIDs and skip built-in attributes. Andrew Bartlett (This used to be commit cb2b9d800d1228d41f7872a7b7c8ea5f07816c61)
2007-10-10r17599: Improvements to the AD-like to OpenLDAP format schema conversion ↵Andrew Bartlett1-53/+252
utility. We now read the objectClasses, and sort them into order, so that OpenLDAP will load them. We do this by walking down the 'subClassOf' chain. This should also be used in the objectClass module to sort the objectClass list, and to populate the @SUBCLASS records. Andrew Bartlett (This used to be commit 22dec7b62adbf364d2d17948fda1460cbbbf0a78)
2007-10-10r17596: apply patch from MartinSimo Sorce1-4/+4
(This used to be commit e9d101bc3c1e7c1e8b6560a1f7161e6eb270c7df)
2007-10-10r17582: Fix dependenies for oLschema2ldif.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 113ef0132037f3e3db61f259eee903a4584219f7)
2007-10-10r17581: Add tool to convert AD schema back to OpenLDAP's schema formatting.Andrew Bartlett1-0/+324
Andrew Bartlett (This used to be commit 391f472df775f7e7b85335d96315807c38fe5536)
2007-10-10r17580: Add a new tools to convert back from AD-like schema to OpenLDAP.Andrew Bartlett8-36/+312
Add attribute syntax mapping to the existing OpenLDAP -> AD tool. Andrew Bartlett (This used to be commit ba1c652bae700a82acde166e70035d61c320e233)
2007-10-10r17579: make ldb build g++ friendlyAndrew Tridgell4-67/+67
(This used to be commit 403cbd335594112e0c58fd68d20f0e3faad7d186)
2007-10-10r17542: In using ldb_map, I ran across some very odd behaviours when we searchAndrew Bartlett4-5/+26
for objectClass=xyz. The code has been warning at me 'no covert_operator set', and indeed this is the case. (It then proceeds to strip this as a search expression) In this commit, I have implemented a convert_operator for objectClass, by pretending it is a simple MAP_CONVERT operator for the search requests. I also have changed the logic for when we should bail out. I can only see reason to bail out on the search if we have both local and remote trees. How can a remote-only search be un-splittable? Andrew Bartlett (This used to be commit 656e58672c357121647a080400fcab4e5d30b46b)
2007-10-10r17526: Move timestamp generation into the objectGUID module. It probablyAndrew Bartlett1-41/+0
needs to be renamed (operation_add?). This allows me to match the behaviour and substitute with the entryUUID module for remote LDAP connections. Andrew Bartlett (This used to be commit af02b4d7c631bb15bf5a5f73f9fdc23075d50f60)
2007-10-10r17525: This is a merge from the Google Summer of Code 2006 project by ↵Andrew Bartlett6-1238/+3054
Martin Kühl <mkhl@samba.org>. Martin took over the work done last year by Jelmer, in last year's SoC. This was a substanital task, as the the ldb modules API changed significantly during the past year, with the addition of async calls. This changeset reimplements and enables the ldb_map ldb module and adapts the example module and test case, both named samba3sam, to the implementation. The ldb_map module supports splitting an ldb database into two parts (called the "local" and "remote" part) and storing the data in one of them (the remote database) in a different format while the other acts as a fallback. This allows ldb to e.g. store to and load data from a remote LDAP server and present it according to the Samba4 schema while still allowing the LDAP to present and modify its data separately. A complex example of this is the samba3sam module (by Jelmer Vernooij), which maps data between the samba3 and samba4 schemas. A simpler example is given by the entryUUID module (by Andrew Bartlett), which handles some of the differences between AD and OpenLDAP in operational attributes. It principally maps objectGUID, to and from entryUUID elements. This is also an example of a module that doesn't use the local backend as fallback storage. This merge also splits the ldb_map.c file into smaller, more manageable parts. (This used to be commit af2bece4d343a9f787b2e3628848b266cec2b9f0)