summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
Commit message (Collapse)AuthorAgeFilesLines
...
* libndr: reformat libndr torture_suite macros to make differences more visible.Günther Deschner2015-07-031-7/+21
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: move torture_assert_sid_equal() out of ndr headers.Günther Deschner2015-07-031-10/+0
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: finally enable witness_AsyncNotify ndr test.Günther Deschner2015-07-031-6/+8
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: add witness torture ndr testsuite.Günther Deschner2015-04-132-0/+317
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: add test to verify nbt_name with "." ending handling.Günther Deschner2015-03-301-0/+55
| | | | | | | | | | | | | | | Windows uses a username of 'domain.example.com.' and we need to return it that way in the NETLOGON_SAM_LOGON_RESPONSE_EX. See e6e2ec0001fe3c010445e26cc0efddbc1f73416b for further details. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Mon Mar 30 16:18:04 CEST 2015 on sn-devel-104
* s4:torture/ndr: #if 0 unused codeStefan Metzmacher2015-03-205-0/+12
| | | | | | | This avoids compiler warnings, but keep the code arround to be activated later. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4-torture: add ndr test for lsa_lsaRQueryForestTrustInformation().Günther Deschner2015-03-121-0/+46
| | | | | | | | | | Thanks to Alexander for providing the binary blobs. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4-torture: Always compile backupkey ndr testsuite.Günther Deschner2013-05-291-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
* s4-torture: add ndr test for spoolss_RpcSetJobNamedProperty.Günther Deschner2013-05-201-0/+30
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* s4-torture: add ndr test for spoolss_GetCorePrinterDrivers.Günther Deschner2013-05-201-0/+43
| | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* torture: Update ndr README.Andreas Schneider2013-03-151-0/+17
| | | | | | | Reviewed-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Fri Mar 15 13:51:51 CET 2013 on sn-devel-104
* torture: Add ntprinting latin1 test.Andreas Schneider2013-03-151-0/+217
| | | | Reviewed-by: Günther Deschner <gd@samba.org>
* s4-torture: make sure to deal with the highest relative pointer offset ↵Günther Deschner2013-02-011-6/+26
| | | | | | | | | correctly. Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* s4-torture: add ndr64 spoolss_SetPrinter ndr test.Günther Deschner2013-01-171-0/+73
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: David Disseldorp <ddiss@samba.org>
* s4-torture: add ndr64 spoolss openprinterex to ndr test.Günther Deschner2013-01-161-0/+28
| | | | | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Wed Jan 16 13:26:53 CET 2013 on sn-devel-104
* s4-torture: allow to do ndr tests with flags, not only ndr_flags.Günther Deschner2013-01-162-3/+14
| | | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s4-torture: add ntprinting ndr operations testsuite.Günther Deschner2012-07-062-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
* waf: support --without-ad-dc for Heimdal (embedded and system) as wellAlexander Bokovoy2012-06-071-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).
* s4-torture: verify #8373 and add ndr nbt tests for LOGON_PRIMARY_QUERY ↵Günther Deschner2012-05-291-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
* Avoid using Heimdal-specific tests in MIT buildAlexander Bokovoy2012-05-041-0/+2
|
* s4-smbtorture: tweak spoolss_OpenPrinterEx devmodeDavid Disseldorp2012-01-131-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>
* s4-smbtorture: add ndr test for nbt_netlogon_packet to avoid future regressions.Günther Deschner2011-11-201-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
* s4-smbtorture: add spoolss_OpenPrinterEx ndr test with full devmode.Günther Deschner2011-11-141-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
* samr: filterModuleName is a lsa_String in userPwdChangeFailureInformation.Günther Deschner2011-11-091-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
* s4-smbtorture: demonstrate how broken our samr_ChangePasswordUser3 ↵Günther Deschner2011-11-081-0/+32
| | | | | | marshalling is... Guenther
* s4-smbtorture: add some ndr validation tests for netlogon_samlogon_response ↵Günther Deschner2011-11-031-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
* torture-drs: fixed NDR tests for DRS blobsAndrew Tridgell2011-09-081-2/+40
| | | | | | this also adds new tests for trustAuthInOutBlob blobs Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NTLMSSP blobsAndrew Tridgell2011-09-081-4/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for NBT blobsAndrew Tridgell2011-09-081-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: fixed NDR tests for DFS blobsAndrew Tridgell2011-09-081-3/+3
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* torture-ndr: added support for testing push functionsAndrew Tridgell2011-09-082-25/+52
| | | | | | | this allows us to check the symmetry of pull/push functions in NDR tests Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-torture: enable password comparison in drsblobs testAndrew Tridgell2011-09-051-2/+2
| | | | | | I'm not sure why this was commented out, as it does pass Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-torture: fixed a ndr string errorAndrew Tridgell2011-09-051-1/+1
| | | | | | the dos charset global changes with the new loadparm context Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:torture/ndr/string.c - fix type-punned warning and remove unused variablesMatthias Dieter Wallnöfer2011-06-111-3/+2
| | | | Reviewed-by: Jelmer
* librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney2011-06-012-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>
* torture: adapt to idl evolutionroot2011-05-171-1/+1
|
* source4/torture/ndr: Fix prototypes for all functions.Jelmer Vernooij2011-03-1914-0/+14
|
* s4-smbtorture: add more complex spoolss_EnumPrinterDataEx test.Günther Deschner2011-02-171-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
* s4-smbtorture: add samr_changepassworduser3 ndr torture tests.Günther Deschner2011-01-311-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
* s4-smbtorture: make it more obvious this are w2k dumps in netlogon ndr test.Günther Deschner2011-01-311-8/+8
| | | | Guenther
* s4-smbtorture: add (disabled) ndr torture test to check for a w2k samlogon ↵Günther Deschner2011-01-281-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
* s4-smbtorture: add NDR tests for netr_LogonSamLogon.Günther Deschner2011-01-281-1/+65
| | | | Guenther
* torture: add ndr tests for backup key protocolMatthieu Patou2011-01-122-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
* s4:torture/ndr/spoolss.c - add a "ULL" suffix for a 64 bit unsigned integer ↵Matthias Dieter Wallnöfer2010-12-231-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
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-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
* smbtorture: use xxxULL notation instead of INT64_C(xxx)Matthieu Patou2010-12-081-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
* torture: complete dfs referral testsMatthieu Patou2010-10-051-10/+44
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Tue Oct 5 08:01:39 UTC 2010 on sn-devel-104
* s4-smbtorture: add LOCAL-NDR-NTLMSSP.Günther Deschner2010-09-192-0/+120
| | | | Guenther
* s4-smbtorture: fix winreg querymultiplevalues NDR test warning.Günther Deschner2010-09-171-2/+2
| | | | Guenther
* s4-smbtorture: add NDR spoolss_GetPrinterDriver2 in and out check functions.Günther Deschner2010-09-161-2/+49
| | | | Guenther