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

10903 Commits

Author SHA1 Message Date
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
Simo Sorce
666a72e39a r19304: If you really want to look at the contents undef this one
(This used to be commit fe20ac404d)
2007-10-10 14:21:05 -05:00
Simo Sorce
44146fc878 r19303: It seem ok to have around this amount of blocks hanging out of an ldb context for sam.ldb
(This used to be commit 5861ff69cc)
2007-10-10 14:21:05 -05:00
Simo Sorce
59b66744f7 r19299: Fix possible memleaks
(This used to be commit 6fad80bb09)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
a719444f68 r19298: make sure torture_fail() gives a useful message
Jelmer, is there a better approach for this?
(This used to be commit 67e2cf9217)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
d08f8ab433 r19297: fixed a leak in the ejs ldb interface
(This used to be commit 6978225ffc)
2007-10-10 14:21:04 -05:00
Andrew Tridgell
ba68ee4cd4 r19296: added a leak detector to ldb_wrap_connect()
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 d791fd7b7b)
2007-10-10 14:21:03 -05:00
Derrell Lipman
3df891a5af r19295: ldbbrowse: the search tab is now doing something vaguely reasonable.
(This used to be commit 039069b3fd)
2007-10-10 14:21:03 -05:00
Andrew Tridgell
3433468e12 r19294: a little speed tester for ldb/tdb
I wrote this to see if using a ldb for idmap store (the equivalent of
winbindd_idmap.tdb) makes sense. It's a long lived database that
administrators may wish to edit, so ldb makes sense, but at the moment
ldb is too slow. This test will help us speed it up.
(This used to be commit 10f8260455)
2007-10-10 14:21:03 -05:00
Volker Lendecke
518666fde1 r19293: Add RPC-SAMBA3-WINREG, the start of a test of what Samba3 is able to perform
right now.

Volker
(This used to be commit f381232c3a)
2007-10-10 14:21:03 -05:00
Andrew Tridgell
d0ba572fab r19289: fixed a memory leak in ldb_dn_string_compose()
(This used to be commit 669aa1424c)
2007-10-10 14:21:02 -05:00
Andrew Tridgell
223701c638 r19282: make the recent qooxdoo work that Derrell has done available via the
main menu
(This used to be commit b0fee976ed)
2007-10-10 14:21:02 -05:00
Brad Henry
b39540b504 r19281: Generalize what we do for the RAW-QFILEINFO test call so that the same process
is used for other tests that operate on a share when run against windows.
(This used to be commit 3d0cadb303)
2007-10-10 14:21:02 -05:00
Brad Henry
3ff55aa73e r19280: Missed renaming a remove_qfileinfo_test() function call.
(This used to be commit 059d52167c)
2007-10-10 14:21:02 -05:00
Brad Henry
ebbdf24b03 r19279: These setup and cleanup functions are general enough for any test which needs
a share to operate on, not just the qfileinfo test, so now they are named
more appropriately.
(This used to be commit eb16d5324d)
2007-10-10 14:21:01 -05:00
Brad Henry
85ccd43f70 r19278: Change the delete_directory() expect function so that rmdir will
automatically remove any subdirs and files of the directory to be deleted.
(This used to be commit a41eefaaa7)
2007-10-10 14:21:01 -05:00
Brad Henry
2c594ee12b r19277: This commit adds support to run the smbtorture RPC-ASYNCBIND RPC-ATSVC
RPC-DSSETUP RPC-EPMAPPER RPC-INITSHUTDOWN RPC-LSA-GETUSER RPC-MULTIBIND RPC-ROT
RPC-SECRETS RPC-SRVSVC RPC-SVCCTL  RPC-WKSSVC tests against windows, either
by 'make wintest' or in the build farm.

I was surprised when RPC-EVENTLOG and RPC-LSA failed, so i'll investigate today.
(This used to be commit 542bddacc8)
2007-10-10 14:21:01 -05:00
Stefan Metzmacher
1779e80bfb r19276: remove unused file
metze
(This used to be commit bd4cd24a9d)
2007-10-10 14:21:01 -05:00
Andrew Tridgell
04140ac3c7 r19274: fix ldbdel and ldbmodify to return an error if the underlying ldb call
fails
(This used to be commit 330a722f13)
2007-10-10 14:21:00 -05:00
Andrew Tridgell
2ad8e1443d r19273: - fixed error handling with the ldap backend
- 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 dd82c474a1)
2007-10-10 14:21:00 -05:00