summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
AgeCommit message (Collapse)AuthorFilesLines
2011-06-11s4:torture/ndr/string.c - fix type-punned warning and remove unused variablesMatthias Dieter Wallnöfer1-3/+2
Reviewed-by: Jelmer
2011-06-01librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney2-0/+200
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-05-17torture: adapt to idl evolutionroot1-1/+1
2011-03-19source4/torture/ndr: Fix prototypes for all functions.Jelmer Vernooij14-0/+14
2011-02-17s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner1-0/+721
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Feb 17 16:46:28 CET 2011 on sn-devel-104
2011-01-31s4-smbtorture: add samr_changepassworduser3 ndr torture tests.Günther Deschner1-2/+109
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jan 31 16:07:14 CET 2011 on sn-devel-104
2011-01-31s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.Günther Deschner1-8/+8
Guenther
2011-01-28s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon ↵Günther Deschner1-0/+26
reply we can't currently parse. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 16:23:30 CET 2011 on sn-devel-104
2011-01-28s4-smbtorture: add NDR tests for netr_LogonSamLogon.Günther Deschner1-1/+65
Guenther
2011-01-12torture: add ndr tests for backup key protocolMatthieu Patou2-0/+160
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-23s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer ↵Matthias Dieter Wallnöfer1-1/+1
literal To quiet a warning on Solaris Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Dec 23 13:43:57 CET 2010 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-12-08smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou1-2/+2
The first one is portable the second not always Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 15:48:10 CET 2010 on sn-devel-104
2010-10-05torture: complete dfs referral testsMatthieu Patou1-10/+44
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Oct 5 08:01:39 UTC 2010 on sn-devel-104
2010-09-19s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner2-0/+120
Guenther
2010-09-17s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner1-2/+2
Guenther
2010-09-16s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner1-2/+49
Guenther
2010-09-16s4-smbtorture: finally enable most of our NDR_OUT NDR tests that we couldnt ↵Günther Deschner3-10/+6
handle previously. Guenther
2010-09-16s4-smbtorture: add functions to do NDR_OUT ndr_pull validation including ↵Günther Deschner2-0/+99
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 Deschner2-35/+35
Guenther
2010-09-16s4-smbtorture: add spoolss_GetPrinterDriver2 NDR tests.Günther Deschner1-0/+212
Guenther
2010-09-16s4-smbtorture: mention -v switch for hexdump imports into the NDR testsuites.Günther Deschner1-1/+1
Guenther
2010-09-16s4-smbtorture: activate spoolss_GetPrinterData NDR pull test.Günther Deschner1-2/+2
Guenther
2010-09-08s4-smbtorture: add torture ndr nbt testsuite.Günther Deschner2-0/+71
Guenther
2010-08-25s4-smbtorture: fill in trust_domain_passwords_check_in in NDR lsa test.Günther Deschner1-7/+35
Guenther
2010-06-29s4-smbtorture: remove some pointless mem_equal tests in LOCAL-NDR-WINREG ↵Günther Deschner1-3/+0
testsuite. Guenther
2010-06-29s4-smbtorture: add NDR torture test for winreg_QueryMultipleValues2.Günther Deschner1-0/+47
Guenther
2010-06-29winreg: fix winreg_QueryMultipleValues() IDL and torture tests.Günther Deschner1-17/+17
Guenther
2010-06-29s4/ndr: Fix tuncating of constant to a 'long' typeKamen Mazdrashki1-2/+2
2010-06-28s4-smbtorture: fix typo.Günther Deschner1-1/+1
Not my day... Guenther
2010-06-28s4-smbtorture: add trustDomainPasswords blob test to LOCAL-NDR testsuite.Günther Deschner1-0/+64
Our parsing of this struct is incorrect atm. and apparently also causes the s4 server to crash. Thanks to Sumit Bose <sbose@redhat.com> for providing the auth data retrieved from a w2k3 domain.msc operation. Guenther
2010-05-18s4 torture test: Adapt ndr-dfsblobs torture test to new idlMatthieu Patou1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-3/+3
2010-03-25s4-smbtorture: fix drsblobs ndr torture test.Günther Deschner1-3/+6
Guenther
2010-03-24s4-smbtorture: add drsblobs ndr torture test.Günther Deschner2-0/+67
Guenther
2010-03-24s4-smbtorture: move up torture_assert_sid_equal at least to the torture/ndr ↵Günther Deschner2-11/+11
level. Guenther
2010-03-16s4-smbtorture: add lsa_SetTrustedDomainInfoByName NDR test.Günther Deschner1-1/+101
Thanks Simo for providing the data and pointing out the IDL failure. Guenther
2010-03-16s4:torture-ndr add lsarSetForestTrustInformation ndr testSimo Sorce1-0/+51
Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-11winreg: add winreg_KeyType enum.Günther Deschner1-1/+1
Guenther
2009-12-21s4-torture: update uuid_compare test for new behaviourAndrew Tridgell1-2/+11
2009-12-14torture: add new tests for dfsblobsMatthieu Patou2-0/+51
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-12-10s4-smbtorture: add more spoolss_EnumPrinterKey tests for local NDR test.Günther Deschner2-0/+18
Guenther
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-09-11s4-smbtorture: fix remaining lsa lookup call unknowns. sorry...Günther Deschner1-4/+4
Guenther
2009-02-18s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.Günther Deschner1-1/+1
Guenther
2009-02-11s4-smbtorture: fix the build of the ndr spoolss tester.Günther Deschner1-4/+4
Guenther
2008-10-29s4-netlogon: merge netr_ServerReqChallenge from s3 idl.Günther Deschner1-1/+1
Guenther
2008-10-29s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.Günther Deschner1-1/+1
Guenther
2008-10-27s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.Günther Deschner1-4/+5
Guenther