summaryrefslogtreecommitdiff
path: root/source4/torture/ndr/ndr.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-29s4-torture: Always compile backupkey ndr testsuite.Günther Deschner1-2/+0
This removes another incorrect AD_DC_BUILD_IS_ENABLED check ifdef check. The ndr test is not at all heimdal specific. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed May 29 11:29:51 CEST 2013 on sn-devel-104
2013-02-01s4-torture: make sure to deal with the highest relative pointer offset ↵Günther Deschner1-6/+26
correctly. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-16s4-torture: allow to do ndr tests with flags, not only ndr_flags.Günther Deschner1-0/+5
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-07-06s4-torture: add ntprinting ndr operations testsuite.Günther Deschner1-0/+1
Guenther Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Jul 6 20:55:26 CEST 2012 on sn-devel-104
2012-06-07waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy1-1/+1
--without-ad-dc was hardwired to mean --with-system-mitkrb5. With this change it also possible to build source3/ code and source4/ client side without building AD DC functionality using Heimdal (embedded or system).
2012-05-04Avoid using Heimdal-specific tests in MIT buildAlexander Bokovoy1-0/+2
2011-09-08torture-ndr: added support for testing push functionsAndrew Tridgell1-16/+34
this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-06-01librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney1-0/+1
Introduce a new flag, LIBNDR_FLAG_STR_RAW8, which indicates that libndr should not attempt to convert the corresponding byte sequence, and place the responsibility on the caller to do so later. This is needed in cases where the string is known to be 8-bit and either NULL terminated or of known length, but in an unspecified character set. For example, when pulling PT_STRING8 properties from an exchange server via libmapi + libndr, the codepage is neither known nor in the control of the caller, and is determined by subsequent properties requested from the server. Therefore the client would like to fetch all properties in one large batch, and convert the resulting strings locally. This commit also includes some (basic) tests of each of the flags' respective behaviors with the ndr push/pull string functions, in a new source4 torture test suite ndr.ndr_string. Signed-off-by: Sean Finney <seanius@seanius.net>
2011-01-12torture: add ndr tests for backup key protocolMatthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 12 10:25:00 CET 2011 on sn-devel-104
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-1/+1
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-09-19s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner1-0/+1
Guenther
2010-09-16s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner1-0/+83
NDR_IN context. Guenther
2010-09-16s4-smbtorture: fix some indentation in NDR testsuite.Günther Deschner1-28/+30
Guenther
2010-09-16s3-smbtorture: fixup trailing whitespace in ndr testsuite.Günther Deschner1-29/+29
Guenther
2010-09-08s4-smbtorture: add torture ndr nbt testsuite.Günther Deschner1-0/+1
Guenther
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+3
2010-03-24s4-smbtorture: add drsblobs ndr torture test.Günther Deschner1-0/+1
Guenther
2009-12-21s4-torture: update uuid_compare test for new behaviourAndrew Tridgell1-2/+11
2009-12-14torture: add new tests for dfsblobsMatthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2008-10-18Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with SambaJelmer Vernooij1-2/+2
3.
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-04-27Move subunit infrastructure code into lib/torture.Jelmer Vernooij1-1/+1
(This used to be commit 5b44d8121de7735d69e6238a1442aff034a8ebd3)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-3/+4
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-10/+9
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 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-1/+1
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
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-10r21674: Fix argumentJelmer Vernooij1-2/+2
(This used to be commit 43e1cccf112f850cb70ab78f56ea1d0c233e45fa)
2007-10-10r21658: Add some tests for SAMR NDRJelmer Vernooij1-0/+1
(This used to be commit a36912721ae84d3a1702bd83d735cc1097968f46)
2007-10-10r21423: Extend testsuite, check that all bytes have been consumed. DsBind ↵Jelmer Vernooij1-0/+5
fails that test, so disabling it for now. (This used to be commit d6026c2046a26f42ca0cd6ebf1f45488fbfb22e1)
2007-10-10r21415: Add tests for spoolss and drsuapi. Still need to add validators.Jelmer Vernooij1-0/+2
(This used to be commit 61cb52b65b9be2fd09a5c5a02536600c0ac500f7)
2007-10-10r21403: Add netlogon tests.Jelmer Vernooij1-0/+1
(This used to be commit a620dc359476de9440f3b84dc8b45f569d103270)
2007-10-10r21386: Run all NDR tests in the buildfarm, import some functions from ↵Jelmer Vernooij1-3/+181
Samba3's IDL. (This used to be commit 15a4b81ba0b5eeb25126a0b1a7bea7d3bf921ab2)
2007-10-10r21381: dfs tests.Jelmer Vernooij1-1/+5
(This used to be commit 3ef8a6834df63a0bfa68996daea6432e98243d40)
2007-10-10r21378: Add simple NDR epmap test.Jelmer Vernooij1-0/+1
(This used to be commit b29170c8eaafa3a573b0e26efecd6cacd68250b6)
2007-10-10r21374: lsa testsJelmer Vernooij1-0/+1
(This used to be commit bfc2a1c50596ac3aee871de63fdd99362a65d7d8)
2007-10-10r21373: More tests.Jelmer Vernooij1-0/+1
(This used to be commit 83a47e30b59f5289cdcb68ba54aa236795bc42b2)
2007-10-10r21347: All current tests in the testsuite mainly test the RPC code in ↵Jelmer Vernooij1-0/+94
general. Since we're running the testsuite mainly against ourselves, we only check that the push/pull functions work in our own environment, not whether they generate/parse the same data that other systems do. This commit adds the infrastructure for a testsuite for just the marshalling code. The idea is that you provide a data blob, a function name and a function to check the resulting struct for correctness. (This used to be commit 9bd2421e44dcfcaf08ad61cf25bb7714cf885517)