summaryrefslogtreecommitdiff
path: root/source4/lib/ldb
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17830: Set the default_basedn (hey, it comes from the "default" naming ↵Simo Sorce3-34/+42
contex :-) once at connection time, after modules have been loaded. Introduce a function to retrieve the value where needed. (This used to be commit 0caf6a44e03393c645030a9288e7dfd31e97c98b)
2007-10-10r17828: set the auto_baseDN opaque even on failure to fetch rootDSE. ThatAndrew Tridgell1-3/+1
ensures we never try twice (This used to be commit 946901e5dde9d31727448070a06e56da38d4a59e)
2007-10-10r17822: the ildap ldb backend doesn't need the auto rootDSE logic any moreAndrew Tridgell1-84/+2
(This used to be commit c670837cc0dd04834a283bde0471c702a34c66c9)
2007-10-10r17821: changed ldb_search() and the ldbsearch command line utility toAndrew Tridgell3-0/+50
automatically work out the basedn when basedn==NULL. The basedn is fetched from the rootDSE defaultNamingContext value (if there is one) This means we don't have to have the defaultNamingContext logic in lots of places. It makes a lot of sense to me to have basedn==NULL mean "use the default, as given by the database" Note that explicitly specifing a basedn of '' is not the same thing, and will not trigger this code The baseDN is cached in a ldb opaque, so we only have to fetch it once (This used to be commit 5d1b66b68fc517ce684f75e466ed5f25e46857d5)
2007-10-10r17820: simplify the code flow a littleAndrew Tridgell1-20/+27
(This used to be commit 221272e3930e1fbf30df1ad19713935d38cde46c)
2007-10-10r17778: fix compiler warningsStefan Metzmacher1-1/+2
metze (This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
2007-10-10r17775: use an enum to get rid of compiler warningsStefan Metzmacher1-6/+6
metze (This used to be commit c66cf31afd99d537b1f4dfc8ff1502dfa6accfd3)
2007-10-10r17771: add a comment explaing the odd castAndrew Tridgell1-0/+6
(This used to be commit 47e695ed88d364a7d423e804fe5340006ebf7c18)
2007-10-10r17770: don't force -L/usr/lib, it breaks us4Andrew Tridgell1-2/+2
(This used to be commit 348aff8c8372b235d42ede35c18f83fd53db99f9)
2007-10-10r17769: only look for dlopen in -ldl if not found in libc. Needed for us4Andrew Tridgell1-2/+1
(This used to be commit 0b254f3bde8827312c6fcb93ccd7a0c489ed5e20)
2007-10-10r17765: fix handling of old solaris /bin/sh in ldb build/testAndrew Tridgell3-5/+9
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
2007-10-10r17764: more portable setenv() replacementAndrew Tridgell1-8/+22
(This used to be commit 5c00b6d08324b46cd7025264c0320352d2842ead)
2007-10-10r17762: HPUX needs setenvAndrew Tridgell2-1/+18
(This used to be commit 535c96f1e7639071d34ea47a88181d861c3a3038)
2007-10-10r17756: I don't know why but this only works with the standaloneStefan Metzmacher1-3/+3
ldb build...I'll test more tomorrow. metze (This used to be commit aeee1b4655620154a8fefe471ac6327c5ccb8798)
2007-10-10r17749: more HPUX madnessAndrew Tridgell2-0/+33
(This used to be commit 444e92890f08cdc0f5b84e964d1cc6a812e1073e)
2007-10-10r17748: make the casts much easier to understandStefan Metzmacher1-3/+3
metze (This used to be commit 5992f3b918967ff478ad24333cfe583e0b14a4c9)
2007-10-10r17747: ldb's make test should not try to install somethingStefan Metzmacher1-2/+2
metze (This used to be commit ccf9ad0d2ff8388dd76a36426657773a59e6c316)
2007-10-10r17746: the automatic archive creation in make breaks on 3 platforms. Lets tryAndrew Tridgell1-2/+4
manual archives and see if they work a bit better .... (This used to be commit 15ec8c3741f89ac4d6f0cd794dc916ee37d883cc)
2007-10-10r17745: got rid of the final asprintf() in ldbAndrew Tridgell1-1/+1
(This used to be commit 21377a607647c847c6902b685555a0206e61c6dd)
2007-10-10r17743: fix compiler warningsStefan Metzmacher2-10/+10
metze (This used to be commit 694a56b0ae0125594d6a23d8465249f011b6284e)
2007-10-10r17741: tru64 uses inttypes.h not stdint.h.Andrew Tridgell1-0/+3
ain't standards wonderful? (This used to be commit 5eb59e5be09cd16bb0796b55575aa92dfd22650a)
2007-10-10r17740: get rid of dependence on asprintf(), using talloc_asprintf() insteadAndrew Tridgell2-4/+4
(This used to be commit 0e350ea0c1bba278995da5e8de677c5651eb623e)
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)