summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r19410: - fixed checker errorAndrew Tridgell1-1/+4
- close the sockets after the socketpair test (This used to be commit e679163ac26dccee028ca501e4ef6229a3c761ee)
2007-10-10r19409: Pull in <sys/time.h> for struct timeval for non samba build (don'tLove Hörnquist Åstrand1-0/+1
depend on namespace pollution) (This used to be commit 5052d2d10693e67f1b7c6c71277c8d1bc9c8b612)
2007-10-10r19408: I think tm_mon is ending up as -1 on some platformsAndrew Tridgell1-0/+1
(This used to be commit d01bdf1f2dcdf77043a5ad162ee336d3c6f2e944)
2007-10-10r19405: the talloc speed test suite was not giving an accurate picture of theAndrew Tridgell1-13/+18
cost of talloc versus malloc. The size parameter in the test suite was constantly increasing, leading to a worst case for malloc. It is far more common to have talloc calls of 100 bytes or lower, so change the benchmark to reflect this. This makes talloc look much worse - on my laptop I now get: talloc: 5615164 ops/sec malloc: 14337130 ops/sec I'm working on improving that. (This used to be commit db273ef4dd6ab58da57bb4b59fb1fd5568585ed8)
2007-10-10r19403: try to fix the crashes in the buildfarm related to timegmAndrew Tridgell1-1/+10
(This used to be commit c4e1d2c5ae11acac7dd2cedca411b9b6be84962f)
2007-10-10r19402: - use the new tdb_lockall_read() to make ldb_search() more efficient,Andrew Tridgell4-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)
2007-10-10r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()Andrew Tridgell7-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)
2007-10-10r19400: fixed a valgrind error in the directory registry backend (name wasAndrew Tridgell1-2/+2
used after closedir(), which invalidates the name) (This used to be commit d8af519c2d2fcab3baa822c5fd4c1079dcbd1de3)
2007-10-10r19395: Fix replacement function compilation.Jelmer Vernooij1-1/+1
(This used to be commit b79303f25180c777d9d09b2cdf852bf0a5eda70d)
2007-10-10r19393: Add replacement function for socketpair()Jelmer Vernooij3-0/+66
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
2007-10-10r19381: Print out the specific tests that failed after a smbtorture run.Jelmer Vernooij1-188/+189
Support listing known failures as a list of wildcards in the file `KNOWN_FAILURES'. (This used to be commit 23f66efd564d1ad549fc0cd60348f54808f5cafa)
2007-10-10r19375: very basic helper script to build ldb standaloneSimo Sorce1-0/+21
(This used to be commit b4c8bf7398cd8a9a2132dd4b04a0ea8004e7f1b0)
2007-10-10r19373: Merge changes from subunit branch: Convert libreplace testsuite to aJelmer Vernooij4-24/+25
standalone program that speaks subunit. (This used to be commit 48d316e7594dfc29b8e6a710e32bb5a6a036b7cf)
2007-10-10r19370: Handle errors if talloc_reference failsSimo Sorce1-2/+7
(This used to be commit 05134a90e3ff0e4039dbd34c52f824bc666feb11)
2007-10-10r19367: Solaris needs <sys/filio.h> for FIONREAD.Love Hörnquist Åstrand1-0/+1
(This used to be commit e2866ce78851a84c937408c0781fcc1e7107f663)
2007-10-10r19365: fixed a memory leak in the ldb attribute handlingAndrew Tridgell3-8/+19
(This used to be commit d7e07685164141f8fb2c2a6258e1fcb46ff9d06c)
2007-10-10r19363: - don't need to store the baseinfo message after cache loadAndrew Tridgell2-8/+9
(This used to be commit 8c091bcdece5c17073838ad2367f3f4e22e97c31)
2007-10-10r19362: - don't need to store the baseinfo message after cache loadAndrew Tridgell5-0/+11
- set better names on talloc structures in ldb modules, making leaks easier to track down (This used to be commit 3bf76db42dc6dde5d71083216dba819869b31c75)
2007-10-10r19361: added a commentAndrew Tridgell1-0/+3
(This used to be commit 1581babfb5a5bbbfc2706dbec9b37b03fe9a5af6)
2007-10-10r19360: improve the ldb leak detector - it now takes into account the numberAndrew Tridgell1-3/+12
of blocks used at connect time (which depends on how many modules are loaded) (This used to be commit e3aa03bf1f7c7b770606f5e860fce11b4402fc84)
2007-10-10r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.Jelmer Vernooij1-2/+2
Support directories for subcategories in tests. Several small other fixes. (This used to be commit bde00d97068d559b025ab131ff698a82430d14b3)
2007-10-10r19347: Add socketpair()Jelmer Vernooij2-1/+2
(This used to be commit 8a8e974d2150d00855ccafef02b7ef2607921ea0)
2007-10-10r19343: Add support for external scripts/binaries that write results using theJelmer Vernooij2-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)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij3-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)
2007-10-10r19338: leak on errorSimo Sorce1-0/+1
(This used to be commit 326389afed0521133ac07339bd5e2bfbf8d80d0a)
2007-10-10r19332: ldb_parse_tree leaksSimo Sorce2-2/+2
(This used to be commit 3e0e2787c1da1c3831e21b163e1370001d725a3d)
2007-10-10r19327: fixed a leak in ldif_canonicalise_objectCategory()Andrew Tridgell1-4/+6
(This used to be commit 5cc92d915b7442d2eebc4b66ab89bbd15b96a493)
2007-10-10r19324: fixed a leak on deleting records when no index is in placeAndrew Tridgell1-6/+6
(This used to be commit 0824b3b8c1003064b0f2c5a3f084f3e711155e8c)
2007-10-10r19323: fixed a leak in the ldif parse codeAndrew Tridgell1-0/+1
(This used to be commit 06387e1cf2d12a74e15a6cdf19e83a28c75cb5fd)
2007-10-10r19322: fix a minor memory leak in the ltdb cache codeAndrew Tridgell1-0/+1
(This used to be commit e03ed5822a690e2d151107f2edb9b4f1d3a1e1b9)
2007-10-10r19314: Commit tridge's fixes for a big mem leak in ltdb I introducedSimo Sorce3-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)
2007-10-10r19312: This should fix a nasty bug with values and names being freed before ↵Simo Sorce1-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)
2007-10-10r19310: Add another conflicting oidAndrew Bartlett1-2/+2
Cope with there being no attributes to skip in the ad2oLscheam tool Andrew Bartlett (This used to be commit 942d7ad0c3534770ad05977b180e1c8111a5b6a6)
2007-10-10r19305: Potential memleak on the ldb_context if we don't use a temp mem contextSimo Sorce1-1/+10
(This used to be commit c989dfbe18a2f700e952f478e258bd626c9eb2f5)
2007-10-10r19304: If you really want to look at the contents undef this oneSimo Sorce1-0/+17
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
2007-10-10r19303: It seem ok to have around this amount of blocks hanging out of an ↵Simo Sorce1-1/+1
ldb context for sam.ldb (This used to be commit 5861ff69cc929c553e2c828ff42761cec6647d79)
2007-10-10r19299: Fix possible memleaksSimo Sorce2-0/+3
(This used to be commit 6fad80bb09113a60689061a2de67711c9924708b)
2007-10-10r19296: added a leak detector to ldb_wrap_connect()Andrew Tridgell1-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)
2007-10-10r19289: fixed a memory leak in ldb_dn_string_compose()Andrew Tridgell1-2/+4
(This used to be commit 669aa1424c7a931f57856af0cd4a6f6f4a60b823)
2007-10-10r19276: remove unused fileStefan Metzmacher1-58/+0
metze (This used to be commit bd4cd24a9dc370552a90f267bdcabf4cb45c8507)
2007-10-10r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb callAndrew Tridgell2-15/+11
fails (This used to be commit 330a722f1330059cbba19f99210a1a5a7c773a36)
2007-10-10r19273: - fixed error handling with the ldap backendAndrew Tridgell5-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)
2007-10-10r19264: Clarify behaviour in ldb_search_callback() and provide moreAndrew Bartlett1-7/+11
information when modules fail to load. Andrew Bartlett (This used to be commit 512ef62f4a63fd90b67757b2c7b2e8ec83969204)
2007-10-10r19245: mrege from samba3:Stefan Metzmacher1-0/+18
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros metze (This used to be commit dc65a6625295a7316c2e9982ee09eb9607dbed70)
2007-10-10r19242: merge from samba3:Stefan Metzmacher1-0/+2
handle NO_CONFIG_H in libreplace metze (This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
2007-10-10r19234: fix configure test for net/if.h for some platformsStefan Metzmacher1-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)
2007-10-10r19227: - add a AC_CACHE_CHECK() around the net/if.h testStefan Metzmacher1-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)
2007-10-10r19217: Merge from SAMBA_4_0_RELEASE:Andrew Bartlett1-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)
2007-10-10r19198: fix typo...Stefan Metzmacher1-1/+1
metze (This used to be commit 70bab6edfc1c8e52dfa3ff0f02059a2af6086589)
2007-10-10r19196: merge from samba3:Stefan Metzmacher6-25/+27
pass always a mem_ctx to functions and a ldb_context where needed metze (This used to be commit 67a6a41ba3af840cd8226de73576a90ecf602caa)