summaryrefslogtreecommitdiffstats
path: root/source4/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* r19403: try to fix the crashes in the buildfarm related to timegmAndrew Tridgell2007-10-101-1/+10
| | | | (This used to be commit c4e1d2c5ae11acac7dd2cedca411b9b6be84962f)
* r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,Andrew Tridgell2007-10-104-20/+15
| | | | | | | | | | | by avoiding chain locks on each tdb_fetch() within the search - use the tdb_get_seqnum() call to avoid re-reading the @BASEINFO record when it hasn't changed. These speed up the LOCAL-DBSPEED test for ldb from 7k ops/sec to a bit over 11k ops/sec (This used to be commit 1347ad254eb8cd12ce22a5a2a37bec0a0ac8dbf1)
* r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()Andrew Tridgell2007-10-107-69/+142
| | | | | | call which does a read lock on all chains. These will be used to make ldb searches more efficient (This used to be commit de664ec1f8cf179f1d650563272c0de3f7636e2b)
* r19400: fixed a valgrind error in the directory registry backend (name wasAndrew Tridgell2007-10-101-2/+2
| | | | | used after closedir(), which invalidates the name) (This used to be commit d8af519c2d2fcab3baa822c5fd4c1079dcbd1de3)
* r19395: Fix replacement function compilation.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
* r19393: Add replacement function for socketpair()Jelmer Vernooij2007-10-103-0/+66
| | | | (This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
* r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij2007-10-101-188/+189
| | | | | | Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
* r19375: very basic helper script to build ldb standaloneSimo Sorce2007-10-101-0/+21
| | | | (This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
* r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij2007-10-104-24/+25
| | | | | standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
* r19370: Handle errors if talloc_reference failsSimo Sorce2007-10-101-2/+7
| | | | (This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
* r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand2007-10-101-0/+1
| | | | (This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
* r19365: fixed a memory leak in the ldb attribute handlingAndrew Tridgell2007-10-103-8/+19
| | | | (This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
* r19363: - don't need to store the baseinfo message after cache loadAndrew Tridgell2007-10-102-8/+9
| | | | (This used to be commit 8c091bcdece5c17073838ad2367f3f4e22e97c31)
* r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell2007-10-105-0/+11
| | | | | | - set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
* r19361: added a commentAndrew Tridgell2007-10-101-0/+3
| | | | (This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
* r19360: improve the ldb leak detector - it now takes into account the numberAndrew Tridgell2007-10-101-3/+12
| | | | | | of blocks used at connect time (which depends on how many modules are loaded) (This used to be commit e3aa03bf1f7c7b770606f5e860fce11b4402fc84)
* r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij2007-10-101-2/+2
| | | | | | Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
* r19347: Add socketpair()Jelmer Vernooij2007-10-102-1/+2
| | | | (This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
* r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij2007-10-102-188/+252
| | | | | | | | | | | | | | | | | | | | | | | | 'subunit' protocol. This allows us to easily plug EJS scripts or binaries that can't depend on -ltorture into smbtorture. The protocol is very simple: - write "comments" to stderr Example output on stdout: test: foo success: foo test: bar success: bar test: blah failure: blah [ dummy.c:30: Expression 1 != 2 failed! ] test: blie skip: blie [ Iconv support not built in ] I've already converted the talloc testsuite. (This used to be commit e1742c14a247fabba969f8698108e73997d3f420)
* r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij2007-10-103-340/+215
| | | | | | | | | | | | | | | | | | | output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
* r19338: leak on errorSimo Sorce2007-10-101-0/+1
| | | | (This used to be commit 326389afed0521133ac07339bd5e2bfbf8d80d0a)
* r19332: ldb_parse_tree leaksSimo Sorce2007-10-102-2/+2
| | | | (This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
* r19327: fixed a leak in ldif_canonicalise_objectCategory()Andrew Tridgell2007-10-101-4/+6
| | | | (This used to be commit 5cc92d915b7442d2eebc4b66ab89bbd15b96a493)
* r19324: fixed a leak on deleting records when no index is in placeAndrew Tridgell2007-10-101-6/+6
| | | | (This used to be commit 0824b3b8c1003064b0f2c5a3f084f3e711155e8c)
* r19323: fixed a leak in the ldif parse codeAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit 06387e1cf2d12a74e15a6cdf19e83a28c75cb5fd)
* r19322: fix a minor memory leak in the ltdb cache codeAndrew Tridgell2007-10-101-0/+1
| | | | (This used to be commit e03ed5822a690e2d151107f2edb9b4f1d3a1e1b9)
* r19314: Commit tridge's fixes for a big mem leak in ltdb I introducedSimo Sorce2007-10-103-13/+10
| | | | | | when the code has been changed to be async. With the other committed fixes now this works. (This used to be commit 49fc640b5c0398516ac3a9e3f7c55205cd60b1de)
* r19312: This should fix a nasty bug with values and names being freed before ↵Simo Sorce2007-10-101-1/+5
| | | | | | | | | the results where used. Seem that el is hanging out of a request, and the target is put on the final results. Still one to catch and fix, but this seem to cure most of them (This used to be commit bfeaa08fde805439dbda974be6fcb692957b00f1)
* r19310: Add another conflicting oidAndrew Bartlett2007-10-101-2/+2
| | | | | | | Cope with there being no attributes to skip in the ad2oLscheam tool Andrew Bartlett (This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
* r19305: Potential memleak on the ldb_context if we don't use a temp mem contextSimo Sorce2007-10-101-1/+10
| | | | (This used to be commit c989dfbe18a2f700e952f478e258bd626c9eb2f5)
* r19304: If you really want to look at the contents undef this oneSimo Sorce2007-10-101-0/+17
| | | | (This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
* r19303: It seem ok to have around this amount of blocks hanging out of an ↵Simo Sorce2007-10-101-1/+1
| | | | | | ldb context for sam.ldb (This used to be commit 5861ff69cc929c553e2c828ff42761cec6647d79)
* r19299: Fix possible memleaksSimo Sorce2007-10-102-0/+3
| | | | (This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
* r19296: added a leak detector to ldb_wrap_connect()Andrew Tridgell2007-10-101-2/+18
| | | | | | | this makes 'make test' _very_ noisy, apologies for that, but nearly all the noise is real memory leaks, so if you don't like it then jump in and help fix the leaks :) (This used to be commit d791fd7b7b7a0a2674a70afe6cbbf0e3bd014544)
* r19289: fixed a memory leak in ldb_dn_string_compose()Andrew Tridgell2007-10-101-2/+4
| | | | (This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)
* r19276: remove unused fileStefan Metzmacher2007-10-101-58/+0
| | | | | metze (This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
* r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb callAndrew Tridgell2007-10-102-15/+11
| | | | | fails (This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)
* r19273: - fixed error handling with the ldap backendAndrew Tridgell2007-10-105-20/+37
| | | | | | | | - propogate errors to the ldbadd command line tool - use the rdn_name module when testing the tdb backend to allow the same test code to correctly test the ldap and non-ldap backends (This used to be commit dd82c474a123d90329bda653a4cb73c93e087b15)
* r19264: Clarify behaviour in ldb_search_callback() and provide moreAndrew Bartlett2007-10-101-7/+11
| | | | | | | information when modules fail to load. Andrew Bartlett (This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)
* r19245: mrege from samba3:Stefan Metzmacher2007-10-101-0/+18
| | | | | | | add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros metze (This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)
* r19242: merge from samba3:Stefan Metzmacher2007-10-101-0/+2
| | | | | | | handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
* r19234: fix configure test for net/if.h for some platformsStefan Metzmacher2007-10-101-2/+2
| | | | | | | | AC_LANG_SOURCE() causes to have the content of confdefs.h in front of the file that will be compiled metze (This used to be commit cd03738e7c5610c4a0cb1161b9bcee5d7c88322d)
* r19227: - add a AC_CACHE_CHECK() around the net/if.h testStefan Metzmacher2007-10-101-16/+15
| | | | | | | | | to see (we now get some output that this test happens at all...). - make use of AC_INCLUDES_DEFAULT metze (This used to be commit 7e399e607c8e9bf7365de7d492d29377177cdc1f)
* r19217: Merge from SAMBA_4_0_RELEASE:Andrew Bartlett2007-10-101-1/+2
| | | | | | | | Re-enable TLS in the default configuration. We passed on the build farm because we have an explicit diffie-hilliman parameters file set. Andrew Bartlett (This used to be commit d20ab6a5ed7f980cb653e965c4de3de8d058d9c4)
* r19198: fix typo...Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)
* r19196: merge from samba3:Stefan Metzmacher2007-10-106-25/+27
| | | | | | | pass always a mem_ctx to functions and a ldb_context where needed metze (This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)
* r19195: this should fix should workaround the brokenStefan Metzmacher2007-10-101-0/+4
| | | | | | | | HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8 in the build-farm. metze (This used to be commit 88adbd744355284df223f5618bd76e3d327055d8)
* r19188: merge from samba3:Stefan Metzmacher2007-10-106-14/+19
| | | | | | | fix compiler warnings metze (This used to be commit dc139d8715f58b27363266f1426da451907845eb)
* r19186: that doesn't help...Stefan Metzmacher2007-10-101-4/+0
| | | | | metze (This used to be commit 59c6d51ab31d9d686de35024509f08f5de41c788)
* r19178: fix the standalone build of socket_wrapper by not usingStefan Metzmacher2007-10-101-9/+34
| | | | | | | samba's DLIST_ macros metze (This used to be commit 82abc39b559ccae832dd749495ebcfdffc2e5755)