1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

93 Commits

Author SHA1 Message Date
Jelmer Vernooij
87ec1d2532 Make sure prototypes are always included, make some functions static and
remove some unused functions.
2008-10-20 18:59:51 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Stefan Metzmacher
460356c976 smbtorture: add --extra-user option
This can we used to pass additional credentials to torture tests
(it can be used multiple times.

metze
(This used to be commit 4d80dbfac27659046e0986a2af3d06999e2cb2f2)
2008-07-26 20:11:09 +02:00
Simo Sorce
2daf2897d5 Use a custom init function for samba4 that sets a samba4
specific debug function.
By default do not debug, this is the most appropriate action for a library
as we cannot assume what stderr is use for in the main app.
The main app is responsible to set ev_debug_stderr if they so desire.
(This used to be commit e566a2f308ac6fb4b526a744f7059b565670aea5)
2008-06-14 13:00:53 -04:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27 14:36:28 +02:00
Jelmer Vernooij
72251a1b7a Include test case name when reporting with subunit. This should make it possible to having a test fail against some test cases and success against other ones.
(This used to be commit 0af138a85bba21a5009967e2610c898615fb536b)
2008-05-23 16:19:00 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59bba86b977bd60848f57a614691fff7a)
2008-05-10 18:08:00 +02:00
Jelmer Vernooij
1e973565b6 Move subunit infrastructure code into lib/torture.
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2008-04-27 14:02:46 +01:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-25 10:04:20 +01:00
Jelmer Vernooij
1efbd5fbf6 Remove event context tracking from the credentials struct.
(This used to be commit 4d7fc946b2ec50e774689c9036423b6feef99b8e)
2008-04-17 01:03:18 +02:00
Simo Sorce
4f51b0246d Fix problems with event context not being the parent.
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-04-14 12:45:51 -04:00
Jelmer Vernooij
2bf39edc9d Push SOVERSION and VERSION out of perl code.
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
0020793515 Fix static module list generation for ldb.
(This used to be commit 92c1c0e9137f0845cac6cc96bf78711b6aaffe21)
2008-02-20 03:40:44 +01:00
Jelmer Vernooij
0500b87092 r26540: Revert my previous commit after concerns raised by Andrew.
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21 05:52:06 +01:00
Jelmer Vernooij
3e75f222bc r26539: Remove unnecessary statics.
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21 05:52:05 +01:00
Kai Blin
43ac3d9b44 r26453: Janitorial: Don't use a static char[] in smb_readline_replacement.
Fix up callers to free the memory returned, as that is needed if we use the
original readline function as well.
(This used to be commit c81ead1c38f417d442157b21d0d389f6a540c6f9)
2007-12-21 05:50:18 +01:00
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Jelmer Vernooij
b65dba2245 r26355: Eliminate global_loadparm in more places.
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21 05:49:01 +01:00
Jelmer Vernooij
6901b3c64a r26278: Tallocify convenience table for iconv handles.
(This used to be commit ad64b3baa4a5383c603d17ae75c33083af4690bb)
2007-12-21 05:48:04 +01:00
Jelmer Vernooij
ecea5ce245 r26260: Store loadparm context in gensec context.
(This used to be commit b9e3a4862e267be39d603fed8207a237c3d72081)
2007-12-21 05:47:34 +01:00
Jelmer Vernooij
779f452a72 r26240: We now actually use torture_context pointers for more than just allocation.
Fix a few places where we were passing talloc contexts that were not
torture contexts.
(This used to be commit 9d12fc7dc5abc82c8ad189420db1f85a89c71e4f)
2007-12-21 05:47:21 +01:00
Jelmer Vernooij
bbdfbf8d9d r26238: Add a loadparm context parameter to torture_context, remove more uses of global_loadparm.
(This used to be commit a33a5530545086b81a3b205aa109dff11c546926)
2007-12-21 05:47:20 +01:00
Jelmer Vernooij
7ab6f359f4 r25929: Add some help strings.
(This used to be commit ef364df37f2f00c238903bec4c8a035c05bdf366)
2007-12-21 05:45:06 +01:00
Jelmer Vernooij
2151cde580 r25554: Convert last instances of BOOL, True and False to the standard types.
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10 15:07:55 -05:00
Jelmer Vernooij
ae74eea43d r25527: Deal with no tests being registered.
(This used to be commit 2d36f6d3dbdad097933078bc9c689ff66d9a8a47)
2007-10-10 15:07:47 -05:00
Stefan Metzmacher
54bc4556b9 r25513: don't hide warnings in subunit mode
metze
(This used to be commit 9efa06537a998e5519e17022a01c9df435dc8b3d)
2007-10-10 15:07:45 -05:00
Stefan Metzmacher
e047f72e34 r25512: reformat code...
metze
(This used to be commit cd5699b7bdb57c2c6408a9df3c1ab2cfa32f0a58)
2007-10-10 15:07:45 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Jelmer Vernooij
3048e9ad65 r25392: Add loadparm context as argument in a couple more places.
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10 15:07:24 -05:00
Jelmer Vernooij
7ac97bbbdb r25361: Specify share correctly for RPC-SAMBA3-SHARESEC, allow overriding share from command-line in smbtorture.
(This used to be commit b3f2eafa0489fe533c93f2b224bbd999cf069aa1)
2007-10-10 15:07:18 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
6cf69fee18 r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10 15:05:26 -05:00
Stefan Metzmacher
614d7d0728 r24907: now that we support bindings without a transport
just setup torture:binding even if we get an unc
as parameter

metze
(This used to be commit 5af6d77c2143ba1b85cbea8f2d2028ebcff398da)
2007-10-10 15:03:35 -05:00
Jelmer Vernooij
dcb925bba7 r24897: Do some sanity checking on --basedir.
(This used to be commit 32dbaa142a2514d011a91ba0a0026934305e295f)
2007-10-10 15:03:32 -05:00
Jelmer Vernooij
b77fabc274 r24891: Fix smbtorture to exit non-zero if a test suite wasn't found.
(This used to be commit 44139acf3045149de5bbbbdfd6e0304fc9e0b8dd)
2007-10-10 15:03:30 -05:00
Jelmer Vernooij
275a8c9183 r24851: Add --load-module argument to smbtorture.
(This used to be commit 76a713b6786e22b810937289b3e7cc6700a0b49d)
2007-10-10 15:03:19 -05:00
Jelmer Vernooij
7ee37fdb1e r24757: Try parsing a UNC location before a DCE/RPC binding string as the latter now
accepts strings not prefixed with a transport.
(This used to be commit d131d40ae3df3ca8f4ddec2cd0f16210ffe64367)
2007-10-10 15:03:04 -05:00
Jelmer Vernooij
0e6773525f r24741: More use of the torture API.
(This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
2007-10-10 15:03:02 -05:00
Jelmer Vernooij
2fefa818a9 r24728: Use more stock torture functions.
(This used to be commit da3a7ee407a2b41bd01f45072cad12bf29250b33)
2007-10-10 15:02:58 -05:00
Jelmer Vernooij
d981c69a18 r24670: Use torture functions for settings.
(This used to be commit a6906676309f3b1bec1a69427e7ffd0a768061b8)
2007-10-10 15:02:36 -05:00
Andrew Tridgell
0479a2f1cb r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
(This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10 14:59:12 -05:00
Jelmer Vernooij
72d88d158a r21707: Finally merge my (long-living) perlselftest branch.
This changes the main selftest code to be in perl rather than in shell script.

The selftest script is now no longer a black box but a regular executable that takes
--help.

This adds the following features:

 * "make test TESTS=foo" will run only the tests that match the regex "foo"
 * ability to deal with expected failures. the suite will not warn about tests
   that fail and are known to fail, but will warn about other failing tests and
   tests that are succeeding tests but incorrectly marked as failing.
 * ability to print a summary with all failures at the end of the run

It also opens up the way to the following features, which I hope to implement later:
 * "environments", for example having a complete domains with DCs and domain members
 in a testenvironment
 * only set up smbd if necessary (not when running LOCAL tests, for example)
 * different mktestsetup scripts per target. except for the mktestsetup script, we can
   use the same infrastructure for samba 3 or windows.
(This used to be commit 38f867880beb40c691e9713f854426031310629c)
2007-10-10 14:49:15 -05:00
Jelmer Vernooij
ecf2c1effb r21222: Merge a couple of pidl fixes:
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives,
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.
(This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)
2007-10-10 14:44:48 -05:00
Jelmer Vernooij
cf09c00c4e r21055: Fix executable bit.
(This used to be commit 7512270ffae4e72d70f6ca347f09708f1bf915ad)
2007-10-10 14:44:26 -05:00
Jelmer Vernooij
d3400402d5 r21040: Remove subunit runner (now written in perl in my perlselftest branch)
(This used to be commit afe0d170b08deb712b91ee73cc00a444e989b480)
2007-10-10 14:44:23 -05:00
Jelmer Vernooij
5c847a00a7 r21028: Generate list of tests rather than maintaining it manually.
(This used to be commit 7de4727ceb5935dd5fca49db0331c4509f735362)
2007-10-10 14:44:21 -05:00
Jelmer Vernooij
70dcbd1f0f r20757: Strip recipe functionality (should be one layer up)
(This used to be commit a3f7b184735fb6467bec03eeff53a72003a78097)
2007-10-10 14:40:45 -05:00
Jelmer Vernooij
f00d4a5e92 r19878: Announce testsuites when using subunit.
(This used to be commit daaa0216456bf76116985451c87e5252c70f0dec)
2007-10-10 14:28:30 -05:00
Stefan Metzmacher
b48a01b4a5 r19875: set torture:host and torture:share also when we are given a binding string
metze
(This used to be commit 8202f98123a13727b5cda3b4ca6f1040a41908ca)
2007-10-10 14:28:29 -05:00
Jelmer Vernooij
9d7856122e r19680: Allow specifying basedir for test data.
Create temporary directories in base directory.
(This used to be commit f111feb1d2b82a9ec3a8b6fbcdbe297bf11edc42)
2007-10-10 14:25:30 -05:00