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

55 Commits

Author SHA1 Message Date
Günther Deschner
583c7cbd4c s4:torture/rpc/eventlog.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:46 +02:00
Günther Deschner
453fed4efd s4-smbtorture: skip BackupLog test against samba in RPC-EVENTLOG.
Guenther
2010-03-17 22:59:12 +01:00
Stefan Metzmacher
8c9b9d3336 s4:torture/rpc/eventlog.c: make use of dcerpc_binding_handle stubs
metze
2010-03-16 15:35:28 +01:00
Stefan Metzmacher
bdb8f91314 s4:tortore/rpc/eventlog.c: rename variable 'b' => 'br'
metze
2010-03-16 15:35:28 +01:00
Andrew Tridgell
84d0047377 s4-torture: ran minimal_includes.pl over source4/torture
This reduces compile time somewhat.
2009-10-20 16:04:46 +11:00
Günther Deschner
963efb5542 s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
Guenther
2009-06-08 19:56:59 +02:00
Günther Deschner
0be30e8ced s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.
Guenther
2009-04-08 19:45:58 +02:00
Günther Deschner
24373c16a5 s4-smbtorture: fix eventlog getinformation test.
Guenther
2009-02-21 21:13:59 +01:00
Günther Deschner
858116d54e s4-smbtorture: in eventlog readlog test, print all records in a buffer.
Guenther
2009-02-04 22:49:51 +01:00
Günther Deschner
ab2ee0711e s4-smbtorture: add my copyright.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
da338efbf9 s4-smbtorture: add BackupLog handling in eventlog test.
Guenther
2009-01-24 03:33:55 +01:00
Günther Deschner
d3b8fdd71e s4-smbtorture: add test_GetLogIntormation test.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
a6131f2a8b s4-smbtorture: add ReportEventW test.
Guenther
2009-01-24 03:33:23 +01:00
Günther Deschner
288c469195 s4-smbtorture: fix RPC-EVENTLOG test.
Guenther
2009-01-16 00:28:44 +01:00
Günther Deschner
af9f7a39f0 s4-smbtorture: also test for invalid flags in eventlog test_ReadEventLog.
Guenther
2009-01-14 10:18:13 +01:00
Günther Deschner
4994956ad0 s4-smbtorture: pure cosmetic cleanup of eventlog test.
Guenther
2009-01-14 10:18:13 +01:00
Günther Deschner
2736650f0c eventlog: fill in some unknowns and use flags bitmap in IDL.
Guenther
2008-11-20 17:15:47 +01:00
Günther Deschner
54e832c171 s4-smbtorture: fix segfault in RPC-EVENTLOG test.
Guenther
2008-11-20 00:47:18 +01:00
Jelmer Vernooij
85c36cb2cd Share eventlog.idl. 2008-10-15 16:37:27 +02:00
Stefan Metzmacher
60e205c34c torture/eventlog: the NTSTATUS of dcerpc_ functions is the same as r.out.result
metze
(This used to be commit 0c5539e5fe)
2008-02-13 16:25:57 +01:00
Stefan Metzmacher
a9d30b0d61 torture/eventlog: fix crash bugs!
This bug was introduced in 92b8bde561
and this shows that we need to be very, very careful in changing
idl elements from scalars to [ref] pointers!

metze
(This used to be commit 3ec4bce0b6)
2008-02-13 16:23:34 +01:00
Jelmer Vernooij
d1e716cf43 r26432: Require ndr_pull users to specify iconv_convenience.
(This used to be commit 28b1d36551)
2007-12-21 05:50:02 +01:00
Stefan Metzmacher
529763a9aa r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc)
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
7fd416bd3e r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.
(This used to be commit dadcc4708e)
2007-10-10 15:03:20 -05:00
Jelmer Vernooij
d05d5da1e8 r24846: Use metadata about dangerous tests.
(This used to be commit f914b828ff)
2007-10-10 15:03:18 -05:00
Jelmer Vernooij
18302e7030 r24751: Run more tests, remove empty testsuites, more small improvements.
(This used to be commit 2a5a0819ee)
2007-10-10 15:03:02 -05:00
Stefan Metzmacher
f14bd1a90a r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
(This used to be commit 84651aee81)
2007-10-10 15:02:15 -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 fcf38a38ac)
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
537e773892 r22192: fix compiler warnings
ClearEventLog test is compiled in but disabled now

metze
(This used to be commit 19fb09970a)
2007-10-10 14:50:02 -05:00
Jelmer Vernooij
68ebe25724 r19850: Fix IDL warnings.
(This used to be commit 92b8bde561)
2007-10-10 14:28:25 -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
Jelmer Vernooij
909b111f58 r14720: Add torture_context argument to all torture tests
(This used to be commit 3c7a5ce291)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf024)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
eefe30b7d8 r14379: Build torture/rpc/ as a seperate smbtorture module. Move helper
functions for rpc out of torture/torture.c
(This used to be commit 1d2d970f3b)
2007-10-10 13:57:16 -05:00
Jelmer Vernooij
25bb00fbcd r12693: Move core data structures out of smb.h into core.h
torture prototypes in seperate header
(This used to be commit 73610639b2)
2007-10-10 13:49:39 -05:00
Jelmer Vernooij
acd6a086b3 r12510: Change the DCE/RPC interfaces to take a pointer to a
dcerpc_interface_table struct rather then a tuple of interface
name, UUID and version.

This removes the requirement for having a global list of DCE/RPC interfaces,
except for these parts of the code that use that list explicitly
(ndrdump and the scanner torture test).

This should also allow us to remove the hack that put the authservice parameter
in the dcerpc_binding struct as it can now be read directly from
dcerpc_interface_table.

I will now modify some of these functions to take a dcerpc_syntax_id
structure rather then a full dcerpc_interface_table.
(This used to be commit 8aae0f168e)
2007-10-10 13:47:48 -05:00
Tim Potter
c08578c0cb r9238: Some test code to do user-unmarshalling of eventlog_Record data.
(This used to be commit d0225f1079)
2007-10-10 13:31:36 -05:00
Tim Potter
2fa50ab671 r9222: Rename smb_tree_connect() to smb_raw_tcon() to match other raw function
names.
(This used to be commit 26b191b3c9)
2007-10-10 13:31:33 -05:00
Tim Potter
f18657aa59 r9156: Add IDL and test for FlushEventLog() but it always seems to return
NT_STATUS_ACCESS_DENIED.
(This used to be commit f18d1f539e)
2007-10-10 13:31:25 -05:00
Tim Potter
865319a0ec r9155: Fix ReadEventLog() test so it now works.
(This used to be commit b76d35e7e2)
2007-10-10 13:31:24 -05:00
Tim Potter
d87e1306c5 r9145: Some work on eventlog since jerry is doing some in Samba3. (-:
- Convert to use lsa_String instead of eventlog_String.

 - Copy across some constants.

 - Implement idl and testcase for ClearEventLog() function
(This used to be commit 352b21af3f)
2007-10-10 13:31:23 -05:00
Andrew Bartlett
645711c602 r5941: Commit this patch much earlier than I would normally prefer, but metze needs a working tree...
The main volume of this patch was what I started working on today:
 - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context.
 - Uses sepereate inner loops for some of the DCE/RPC tests

The other and more important part of this patch fixes issues
surrounding the new credentials framwork:

This makes the struct cli_credentials always a talloc() structure,
rather than on the stack.  Parts of the cli_credentials code already
assumed this.

There were other issues, particularly in the DCERPC over SMB handling,
as well as little things that had to be tidied up before test_w2k3.sh
would start to pass.

Andrew Bartlett
(This used to be commit 0453f9d05d)
2007-10-10 13:11:11 -05:00
Andrew Tridgell
759da3b915 r5037: got rid of all of the TALLOC_DEPRECATED stuff. My apologies for the
large commit. I thought this was worthwhile to get done for
consistency.
(This used to be commit ec32b22ed5)
2007-10-10 13:09:15 -05:00
Jelmer Vernooij
6d3c74a67b r3513: Add (the infrastructure for) DCOM support. Contents:
- Support for sending over the object UUID in DCERPC calls
 - Simple torture test for the DCOM "Simple" object
 - Generate extra argument for "object" interfaces in pidl
 - Some stubs for common DCOM functions
(This used to be commit c052f2e1ed)
2007-10-10 13:05:23 -05:00
Andrew Tridgell
90067934cd r3428: switched to using minimal includes for the auto-generated RPC code.
The thing that finally convinced me that minimal includes was worth
pursuing for rpc was a compiler (tcc) that failed to build Samba due
to reaching internal limits of the size of include files. Also the
fact that includes.h.gch was 16MB, which really seems excessive. This
patch brings it back to 12M, which is still too large, but
better. Note that this patch speeds up compile times for both the pch
and non-pch case.

This change also includes the addition iof a "depends()" option in our
IDL files, allowing you to specify that one IDL file depends on
another. This capability was needed for the auto-includes generation.
(This used to be commit b8f5fa8ac8)
2007-10-10 13:05:09 -05:00
Andrew Tridgell
ba6d5fcb97 r3324: made the smbtorture code completely warning free
(This used to be commit 7067bb9b52)
2007-10-10 13:04:55 -05:00
Jelmer Vernooij
b7779be06a r1799: List more uuids. From
http://www.hsc.fr/ressources/articles/win_net_srv
(This used to be commit 8d36dbed8c)
2007-10-10 12:57:58 -05:00
Stefan Metzmacher
f9d8f8843d r884: convert samba4 to use [u]int32_t instead of [u]int32
metze
(This used to be commit 0e5517d937)
2007-10-10 12:56:15 -05:00
Jelmer Vernooij
2bc3b3bcec r739: Implement GetNumRecords() call from eventlog pipe, including a torture test
(This used to be commit 6a254e26f1)
2007-10-10 12:53:46 -05:00