summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
AgeCommit message (Collapse)AuthorFilesLines
2012-07-06s4-torture: add ntprinting ndr operations testsuite.Günther Deschner2-0/+441
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-29s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY ↵Günther Deschner1-1/+36
nbt_netlogon_requests. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 29 15:49:10 CEST 2012 on sn-devel-104
2012-05-04Avoid using Heimdal-specific tests in MIT buildAlexander Bokovoy1-0/+2
2012-01-13s4-smbtorture: tweak spoolss_OpenPrinterEx devmodeDavid Disseldorp1-2/+2
Flip some bits after the null terminator in the spoolss device mode character arrays to trigger bug 8606. Signed-off-by: Jeremy Allison <jra@samba.org>
2011-11-20s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.Günther Deschner1-0/+36
Guys, we really should make sure to always add ndr tests like this whenever we change some sensitive libndr or handmarshalling bits. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Sun Nov 20 23:10:39 CET 2011 on sn-devel-104
2011-11-14s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.Günther Deschner1-0/+183
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 14 20:21:48 CET 2011 on sn-devel-104
2011-11-09samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner1-0/+2
The entire marshalling of samr_ChangePasswordUser3 broke with c2685cdedb430ae75a94e86f34484292b4269363. Matthias, the bad effect of this change was that actually all failed password change attempts will always return NT_STATUS_OK because the last 4 bytes (the resulting status code) were not marshalled anymore. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 9 00:41:13 CET 2011 on sn-devel-104
2011-11-08s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner1-0/+32
marshalling is... Guenther
2011-11-03s4-smbtorture: add some ndr validation tests for netlogon_samlogon_response ↵Günther Deschner1-1/+57
structs. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Nov 3 20:08:20 CET 2011 on sn-devel-104
2011-09-08torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell1-2/+40
this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell1-4/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell1-3/+3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-08torture-ndr: added support for testing push functionsAndrew Tridgell2-25/+52
this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s4-torture: enable password comparison in drsblobs testAndrew Tridgell1-2/+2
I'm not sure why this was commented out, as it does pass Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-09-05s4-torture: fixed a ndr string errorAndrew Tridgell1-1/+1
the dos charset global changes with the new loadparm context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
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>