1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

10922 Commits

Author SHA1 Message Date
Simo Sorce
8c015370d2 r19370: Handle errors if talloc_reference fails
(This used to be commit 05134a90e3)
2007-10-10 14:21:18 -05:00
Stefan Metzmacher
87e8218d09 r19369: - we need to set the target:samba3 before calling torture_init()
otherwise BASE-DELETE will run all tests

- call ldb_global_init() directly after torture_init()
  this isn't strictly needed but looks better

metze
(This used to be commit 0c26c2aefd)
2007-10-10 14:21:18 -05:00
Love Hörnquist Åstrand
38d4fe0d53 r19367: Solaris needs <sys/filio.h> for FIONREAD.
(This used to be commit e2866ce788)
2007-10-10 14:21:18 -05:00
Andrew Tridgell
f721bcda15 r19366: don't fail async echo tests due to rounding errors
(This used to be commit 9389ca13a3)
2007-10-10 14:21:18 -05:00
Andrew Tridgell
0cf42c464e r19365: fixed a memory leak in the ldb attribute handling
(This used to be commit d7e0768516)
2007-10-10 14:21:17 -05:00
Jelmer Vernooij
a4137b50a7 r19364: Fix build for 'regular' installs.
(This used to be commit 916413097d)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
1865044d5c r19363: - don't need to store the baseinfo message after cache load
(This used to be commit 8c091bcdec)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
e36ea2e8eb r19362: - don't need to store the baseinfo message after cache load
- set better names on talloc structures in ldb modules, making leaks
  easier to track down
(This used to be commit 3bf76db42d)
2007-10-10 14:21:17 -05:00
Andrew Tridgell
5535b43efd r19361: added a comment
(This used to be commit 1581babfb5)
2007-10-10 14:21:16 -05:00
Andrew Tridgell
6ba4992faa r19360: improve the ldb leak detector - it now takes into account the number
of blocks used at connect time (which depends on how many modules are
loaded)
(This used to be commit e3aa03bf1f)
2007-10-10 14:21:16 -05:00
Jelmer Vernooij
1447b7aed9 r19359: More portable way of figuring out whether something is a directory
(This used to be commit 96dff03a2b)
2007-10-10 14:21:16 -05:00
Jelmer Vernooij
c554e2168b r19358: Use subunit tests from the right location (from
$src/bin/torture when developing, $LIBDIR/torture when installed)
(This used to be commit 4ae6380e6b)
2007-10-10 14:21:16 -05:00
Derrell Lipman
a9f4e0dd8f r19357: More ldbbrowse work.
The 'Browse' tab is now doing something seemingly fairly reasonable.  It's
entirely usable.  Still pending is dealing with attribute values whose length
exceeds the width of the column (even if dynamic resizing of the column is
inadequate).  A tooltip which pops up would be nice, but seems difficult to
achieve with the Table implementation since it's 'virtual' and the whole table
is one widget.

Derrell
(This used to be commit ec63bd551b)
2007-10-10 14:21:15 -05:00
Jelmer Vernooij
f442ad8083 r19356: Reapply portability fix..
(This used to be commit a48d1b2d16)
2007-10-10 14:21:15 -05:00
Jelmer Vernooij
411ed1194a r19352: Oops, missed a few changes...
(This used to be commit 73f1d93780)
2007-10-10 14:21:15 -05:00
Jelmer Vernooij
b58deeea69 r19350: Properly list LOCAL-TALLOC under the "LOCAL" header.
Support directories for subcategories in tests.
Several small other fixes.
(This used to be commit bde00d9706)
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
c2d6fad69b r19347: Add socketpair()
(This used to be commit 8a8e974d21)
2007-10-10 14:21:14 -05:00
Jelmer Vernooij
d490e27304 r19346: AF_LOCAL isn't defined on all platforms.
(This used to be commit e9bd6f28d8)
2007-10-10 14:21:14 -05:00
Stefan Metzmacher
4177cf9926 r19344: run smbclient and cifsdd under valgrind and pass the correct configuration
to get useful backtraces in the build-farm

metze
(This used to be commit fa030e4598)
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
52e3f69a36 r19343: Add support for external scripts/binaries that write results using the
'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 e1742c14a2)
2007-10-10 14:21:13 -05:00
Stefan Metzmacher
3478bf1c23 r19341: ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()
metze
(This used to be commit 5c766ad48d)
2007-10-10 14:21:13 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
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 0eb6097305)
2007-10-10 14:21:12 -05:00
Simo Sorce
0f2347e417 r19338: leak on error
(This used to be commit 326389afed)
2007-10-10 14:21:12 -05:00
Simo Sorce
fd82e3f39b r19337: never alloc on module unless you mean to attach a context to
it to keep the data around as long as the module lives
(This used to be commit d2073c1f7e)
2007-10-10 14:21:12 -05:00
Andrew Bartlett
e350ca0bcb r19336: Merge from release branch: new Mapped OIDs, in own subtree.
Andrew Bartlett
(This used to be commit ac5abff4b6)
2007-10-10 14:21:12 -05:00
Simo Sorce
794a7f5223 r19334: Commit commented provisioning code to activate the schema
(This used to be commit 57ee79c155)
2007-10-10 14:21:11 -05:00
Simo Sorce
d9cb938dcd r19333: commit module changes I made some time ago before I loose them
(This used to be commit 524ec78086)
2007-10-10 14:21:11 -05:00
Simo Sorce
549dd10f0f r19332: ldb_parse_tree leaks
(This used to be commit 3e0e2787c1)
2007-10-10 14:21:11 -05:00
Simo Sorce
1695408407 r19331: Respect the mem hierarchy
(This used to be commit de45756ea6)
2007-10-10 14:21:11 -05:00
Simo Sorce
56bacd2b44 r19330: Fix memleaks
(This used to be commit f163f422e3)
2007-10-10 14:21:10 -05:00
Andrew Tridgell
8b60b7fa2a r19329: fixed a leak in the password hash module
(This used to be commit 3f48bcb058)
2007-10-10 14:21:10 -05:00
Andrew Tridgell
86a549eaca r19328: another leak plugged ....
(This used to be commit f57535b9c2)
2007-10-10 14:21:10 -05:00
Andrew Tridgell
64eed1e78e r19327: fixed a leak in ldif_canonicalise_objectCategory()
(This used to be commit 5cc92d915b)
2007-10-10 14:21:10 -05:00
Andrew Tridgell
915c281deb r19326: don't leak a ndr_push structure on ndr_push_struct_blob()
(This used to be commit 9817cc235c)
2007-10-10 14:21:09 -05:00
Andrew Tridgell
69e755892a r19325: leak fix from lha
(This used to be commit 248f3265e6)
2007-10-10 14:21:09 -05:00
Andrew Tridgell
91c33d44b6 r19324: fixed a leak on deleting records when no index is in place
(This used to be commit 0824b3b8c1)
2007-10-10 14:21:09 -05:00
Andrew Tridgell
888458d434 r19323: fixed a leak in the ldif parse code
(This used to be commit 06387e1cf2)
2007-10-10 14:21:08 -05:00
Andrew Tridgell
7f00bee3dc r19322: fix a minor memory leak in the ltdb cache code
(This used to be commit e03ed5822a)
2007-10-10 14:21:08 -05:00
Andrew Bartlett
bd8f63a617 r19321: Merge from release branch:
Always set the krb5key from the ntPwdHash, even if we don't have the
cleartext password in sambaPassword.  This fixes kerberos after a
vampire.

Andrew Bartlett
(This used to be commit 1d4d2271c9)
2007-10-10 14:21:08 -05:00
Andrew Bartlett
8afbf3a0ef r19318: Because we don't test the vampire code in SWAT very regularly, it bit-rotted.
Fix up interfaces and interaction between the two..

Andrew Bartlett
(This used to be commit 9b77d285d8)
2007-10-10 14:21:08 -05:00
Andrew Bartlett
064b605fab r19315: Record some OID allocations.
Andrew Bartlett
(This used to be commit 0ceffb52eb)
2007-10-10 14:21:07 -05:00
Simo Sorce
1b8e6fa6e9 r19314: Commit tridge's fixes for a big mem leak in ltdb I introduced
when the code has been changed to be async.
With the other committed fixes now this works.
(This used to be commit 49fc640b5c)
2007-10-10 14:21:07 -05:00
Simo Sorce
b0fadb51b2 r19313: Don't mess with hierarchies!!
There is a reason why we use them :-)
(This used to be commit e3b7e91299)
2007-10-10 14:21:07 -05:00
Simo Sorce
508a04fe57 r19312: This should fix a nasty bug with values and names being freed before 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 bfeaa08fde)
2007-10-10 14:21:07 -05:00
Andrew Bartlett
227831537a r19311: Try to keep the schema map files fairly similar (hope for less weird bugs).
Andrew Bartlett
(This used to be commit a1f14d10fd)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
e0294c9f66 r19310: Add another conflicting oid
Cope with there being no attributes to skip in the ad2oLscheam tool

Andrew Bartlett
(This used to be commit 942d7ad0c3)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
2ac52f809a r19309: Split out checks for LDB_SUCCESS from checks for the expected number
of returned entries.

Andrew Bartlett
(This used to be commit 84efd9ecd9)
2007-10-10 14:21:06 -05:00
Andrew Bartlett
379e6598e1 r19308: Merge samsync fixes from SAMBA_4_0_RELEASE
Andrew Bartlett
(This used to be commit 3310032399)
2007-10-10 14:21:06 -05:00
Derrell Lipman
9b9215d0f4 r19306: ldbbrowse: handle input of Base and Scope in search tab
(This used to be commit 6536e5a3c0)
2007-10-10 14:21:05 -05:00
Simo Sorce
3cabd0dcae r19305: Potential memleak on the ldb_context if we don't use a temp mem context
(This used to be commit c989dfbe18)
2007-10-10 14:21:05 -05:00