summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
* r17830: Set the default_basedn (hey, it comes from the "default" naming ↵Simo Sorce2007-10-103-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)
* r17828: set the auto_baseDN opaque even on failure to fetch rootDSE. ThatAndrew Tridgell2007-10-101-3/+1
| | | | | ensures we never try twice (This used to be commit 946901e5dde9d31727448070a06e56da38d4a59e)
* r17822: the ildap ldb backend doesn't need the auto rootDSE logic any moreAndrew Tridgell2007-10-101-84/+2
| | | | (This used to be commit c670837cc0dd04834a283bde0471c702a34c66c9)
* r17821: changed ldb_search() and the ldbsearch command line utility toAndrew Tridgell2007-10-103-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)
* r17820: simplify the code flow a littleAndrew Tridgell2007-10-101-20/+27
| | | | (This used to be commit 221272e3930e1fbf30df1ad19713935d38cde46c)
* r17790: replace uses -ldl and should directly depend on itStefan Metzmacher2007-10-102-2/+2
| | | | | metze (This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)
* r17789: remove compiler warningsStefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)
* r17783: fix compiler warningsStefan Metzmacher2007-10-101-1/+5
| | | | | metze (This used to be commit c999dd02100e59bfd34585850c354ac2e9708cbb)
* r17782: fix compiler warningStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit 97f6980372e2d06bdae461c737f9e0279f30b9b9)
* r17781: fix compiler warningStefan Metzmacher2007-10-101-3/+1
| | | | | metze (This used to be commit bbe641f23676961972ac337304ece1116b0219b6)
* r17780: better fix this one correctlyStefan Metzmacher2007-10-101-2/+8
| | | | | metze (This used to be commit fbdc5c635606490618ecd54f1b49db70e680cf05)
* r17779: this macro is unusedStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit 5389ba19c8ce4cc8f5992b2f9b4fc451df8ee3f2)
* r17778: fix compiler warningsStefan Metzmacher2007-10-101-1/+2
| | | | | metze (This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
* r17775: use an enum to get rid of compiler warningsStefan Metzmacher2007-10-101-6/+6
| | | | | metze (This used to be commit c66cf31afd99d537b1f4dfc8ff1502dfa6accfd3)
* r17773: this macros are unsed, with compiler warningsStefan Metzmacher2007-10-101-0/+2
| | | | | metze (This used to be commit 3953d3566e41d0a189be38aee3d99805dd71961a)
* r17771: add a comment explaing the odd castAndrew Tridgell2007-10-101-0/+6
| | | | (This used to be commit 47e695ed88d364a7d423e804fe5340006ebf7c18)
* r17770: don't force -L/usr/lib, it breaks us4Andrew Tridgell2007-10-101-2/+2
| | | | (This used to be commit 348aff8c8372b235d42ede35c18f83fd53db99f9)
* r17769: only look for dlopen in -ldl if not found in libc. Needed for us4Andrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit 0b254f3bde8827312c6fcb93ccd7a0c489ed5e20)
* r17765: fix handling of old solaris /bin/sh in ldb build/testAndrew Tridgell2007-10-103-5/+9
| | | | (This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
* r17764: more portable setenv() replacementAndrew Tridgell2007-10-101-8/+22
| | | | (This used to be commit 5c00b6d08324b46cd7025264c0320352d2842ead)
* r17763: moved setenv to ldb/replace/Andrew Tridgell2007-10-102-20/+1
| | | | (This used to be commit ed2dbc4dfe4556831c809dab24e3833cd2018138)
* r17762: HPUX needs setenvAndrew Tridgell2007-10-102-1/+18
| | | | (This used to be commit 535c96f1e7639071d34ea47a88181d861c3a3038)
* r17756: I don't know why but this only works with the standaloneStefan Metzmacher2007-10-101-3/+3
| | | | | | | ldb build...I'll test more tomorrow. metze (This used to be commit aeee1b4655620154a8fefe471ac6327c5ccb8798)
* r17750: these have moved to ldb/replace/ nowAndrew Tridgell2007-10-104-126/+2
| | | | (This used to be commit ac178b52935d7629f8583092e833b74093ca70e1)
* r17749: more HPUX madnessAndrew Tridgell2007-10-102-0/+33
| | | | (This used to be commit 444e92890f08cdc0f5b84e964d1cc6a812e1073e)
* r17748: make the casts much easier to understandStefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit 5992f3b918967ff478ad24333cfe583e0b14a4c9)
* r17747: ldb's make test should not try to install somethingStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit ccf9ad0d2ff8388dd76a36426657773a59e6c316)
* r17746: the automatic archive creation in make breaks on 3 platforms. Lets tryAndrew Tridgell2007-10-101-2/+4
| | | | | manual archives and see if they work a bit better .... (This used to be commit 15ec8c3741f89ac4d6f0cd794dc916ee37d883cc)
* r17745: got rid of the final asprintf() in ldbAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 21377a607647c847c6902b685555a0206e61c6dd)
* r17743: fix compiler warningsStefan Metzmacher2007-10-102-10/+10
| | | | | metze (This used to be commit 694a56b0ae0125594d6a23d8465249f011b6284e)
* r17741: tru64 uses inttypes.h not stdint.h.Andrew Tridgell2007-10-101-0/+3
| | | | | ain't standards wonderful? (This used to be commit 5eb59e5be09cd16bb0796b55575aa92dfd22650a)
* r17740: get rid of dependence on asprintf(), using talloc_asprintf() insteadAndrew Tridgell2007-10-102-4/+4
| | | | (This used to be commit 0e350ea0c1bba278995da5e8de677c5651eb623e)
* r17739: forgot to add replace/*Andrew Tridgell2007-10-103-0/+120
| | | | (This used to be commit ceb09f50b7d9f2626b42123e2482d562713f881b)
* r17738: solving the seemingly trivial problem of timegm() being missing onAndrew Tridgell2007-10-105-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)
* r17737: fixed a 'declaration in code' errorAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit aca417c6b164b54334cc46e126dd362ddab509d3)
* r17735: a (probably useless) attempt to workaround stupidity in HPs version ofAndrew Tridgell2007-10-101-1/+1
| | | | | make (This used to be commit b85b1f5926789c0d6f7cad5f6b8dc4992cca5a13)
* r17734: tru64 needs these for standalone buildAndrew Tridgell2007-10-101-0/+4
| | | | (This used to be commit b735ad8cfa6c10b3e1e450bcec73904aa72e91b2)
* r17733: doxygen is way too noisy to build every time, and it doesn't doAndrew Tridgell2007-10-101-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)
* r17732: after some help from Jelmer, changed builddocs.sh not to rely onAndrew Tridgell2007-10-1010-43/+33
| | | | | either an internet connection, or a list of xsl paths (This used to be commit 7f3c699d0f8fc0e75b351bc851dbb9ffdc3617c4)
* r17731: try to cope with freebsd handling of .a dependenciesAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 1ad1d5f37e0915e5e477b99ef16fc82a01b82708)
* r17730: cast dlsym result to try to avoid a compiler crash on hpuxAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 217cff9f00e350b769e40ff1d71ebbd5696c2938)
* r17729: remove the dependence on an internet connection for buildingAndrew Tridgell2007-10-103-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)
* r17726: not having slapd installed isn't a ldb test failureAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit 33ccb93647a94fbbd2d08199b6655a3bf14d0a38)
* r17725: VPATH and builds out of the source directory causes problems with theAndrew Tridgell2007-10-101-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)
* r17724: don't rely on strnlen() as MacOSX 10.4 doesn't have it. Someday appleAndrew Tridgell2007-10-101-2/+12
| | | | | will realise that buffer overflows are bad .... (This used to be commit 0a6968b71b3cc492edfc3d46bd7e0c66c7ed8557)
* r17722: better to use talloc_vasprintf() than vasprintf() directly, as itAndrew Tridgell2007-10-101-4/+3
| | | | | depends on less libc functions (This used to be commit a05101d83b06543cd32b08b4dec29d8f6bd27674)
* r17721: fixed the dlopen and MODULESDIR handling in the standalone buildAndrew Tridgell2007-10-102-3/+7
| | | | (This used to be commit a40e8c210a27a88e01b023c8b6d298e271c147d7)
* r17720: in standalone ldb build, some systems need sys/stat.h and a defn ofAndrew Tridgell2007-10-101-0/+5
| | | | | comparison_fn_t (This used to be commit 99915268e60f6f877b639f1788ebdcf8105d6073)
* r17719: ldb_cmdline needs to be static for cc on solarisAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit db4d99f35b6874da01d0a1c68d64bd73635a7ec9)
* r17718: don't consider a slapadd failure in the ldap backend tests as a ldbAndrew Tridgell2007-10-101-1/+4
| | | | | failure (This used to be commit 72cdf93b5a9246f224afa3ba765fae25de1c2b7a)