summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/drsuapi_cracknames.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-07drs-cracknames: Add some debugs in the torture to know better which test has ↵Matthieu Patou1-0/+4
failed Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-By: Andrew Bartlett <abarlett@samba.org> Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Wed Aug 7 08:10:58 CEST 2013 on sn-devel-104
2013-07-01smbtorture: Make cracksname easier to debug by outputing the offered formatMatthieu Patou1-18/+49
Reviewed-By: Jelmer Vernooij <jelmer@samba.org> Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User(master): Matthieu Patou <mat@samba.org> Autobuild-Date(master): Mon Jul 1 11:22:57 CEST 2013 on sn-devel-104
2013-05-20smbtorture: Show the list of cracknames we expect to have and the resultMatthieu Patou1-0/+5
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-20smbtorture: fix a warning due to a set but unused varMatthieu Patou1-2/+1
Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-05-20smbtorture: fix crash when the returning a crackname with an empty nameMatthieu Patou1-1/+17
when a valid one was expected Signed-off-by: Matthieu Patou <mat@matws.net> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2012-11-30torture: Fix copy and paste error in debug message.Andreas Schneider1-1/+1
Found by Coverity.
2011-02-10ldb: use #include <ldb.h> for ldbAndrew Tridgell1-1/+1
thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-2/+2
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-04-15s4:torture/rpc: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher1-27/+0
metze
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
The reason for this is that some systems include <rpc/rpc.h> from within system headers. HP-UX 11.00 does so somewhere deep inside of <shadow.h>. For torture/winbind/struct_based.c <rpc/rpc.h> resolves to torture/rpc/rpc.h and breaks the build. metze
2010-04-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-6/+6
Upstream subunit makes a ":" after commands optional, so I've fixed any places where we might trigger commands accidently. I've filed a bug about this in subunit.
2010-03-16s4:torture/rpc/drsuapi*: make use of dcerpc_binding_handle stubsStefan Metzmacher1-9/+9
metze
2010-03-10s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-17s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system callKamen Mazdrashki1-2/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-1/+0
This reduces compile time somewhat.
2009-09-11s4/tort: CRACKNAMES tests to use private structure for testing.Kamen Mazdrashki1-2/+33
DsCrackNamesPrivate structure basically inherits DsPrivate structure while adding few test-specific members.
2009-09-11s4/tort: CrackNames test update to work against W2K3.Kamen Mazdrashki1-0/+4
DRSUAPI_DS_NAME_FORMAT_UKNOWN added to 'known-to-fail' responses as this actually means to ask AD to resolve a name from FQDN format to Unknown format.
2009-09-08tort: RPC-CRACKNAMES test case refactoredKamen Mazdrashki1-0/+17
2009-09-08tort: DsCrackNames - propagate torture context to all tests.Kamen Mazdrashki1-162/+154
2008-10-24Remove unused include param/param.h.Jelmer Vernooij1-1/+0
2008-10-18s4-drsuapi: merge drsuapi_DsCrackNames from s3 drsuapi idl.Günther Deschner1-81/+96
Guenther
2008-10-06Implement 'type unknown' names in the CrackNames code.Andrew Bartlett1-0/+1
This guesses the type by running each of the possible options. Andrew Bartlett
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-1/+1
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2007-12-21r26272: Remove global_loadparm in some more places.Jelmer Vernooij1-3/+4
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-45/+45
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-1/+1
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25071: Add some more testcases for RPC-DRSUAPI-CRACKNAMES, proving I can'tAndrew Bartlett1-0/+35
use this as a backend for the LSA LookupNames call. Andrew Bartlett (This used to be commit 9266e36633fc7465edb725f78d7ed02ce1b1aca2)
2007-10-10r25070: Revert DRSUAPI conversion to new API, as it broke some tests.Jelmer Vernooij1-137/+299
(This used to be commit cfb33df2d0eb36704d4702948a78102153663131)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-1/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24855: Convert RPC-DRSUAPI, RPC-SCHANNEL to use the torture API.Jelmer Vernooij1-297/+136
(This used to be commit dadcc4708e1813c0b657f1d357c2ae202ea4ec5a)
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-10r22443: It isn't fatal to get the case wrong on this stuff.Andrew Bartlett1-4/+11
Andrew Bartlett (This used to be commit 55639277b2be2f249173f64d51ac87d176e53449)
2007-10-10r22120: Expand the RPC-CRACKNAMES test, to test more values and expose patterns.Andrew Bartlett1-4/+38
Fix up our server side implementation to pass almost all the tests (a couple are skipped). Don't require the DsGetDomainControllerInfo calls to pass, just get some info from them. Andrew Bartlett (This used to be commit a29eb8f7e541d2021726601faf52355e312c916b)
2007-10-10r22118: Add another RPC-CRACKNAMES test, but allow a way to skip sub-parts ofAndrew Bartlett1-4/+17
this test we don't yet support in Samba4. I want to at least try and test this parts of this codebase... Andrew Bartlett (This used to be commit cb2e4ca220ca03cd1893e7f6c18de0ab181817b8)
2007-10-10r21491: Verify that the DNS domain name is filled in on GUID searches in theAndrew Bartlett1-0/+32
RPC-CRACKNAMES test. Andrew Bartlett (This used to be commit 7773f23e89340c459a0028a4c36b869d95ed8eb1)
2007-10-10r20395: Decode more unknowns in the IDL. These are language and codepage IDs!Andrew Bartlett1-17/+23
Try to pass more of the CrackNames test. Make the test quieter. Andrew Bartlett (This used to be commit a6bbfebf52f53f99b0edf52d3c23b72785b97469)
2007-10-10r20297: Finally got to the bottom of why we were failing the RPC-CRACKNAMESAndrew Bartlett1-11/+29
test against my win2k3 domain. I have a child domain, and as such the BUILTIN domain SID appears multiple times in the tree, and is therefore not unique. Andrew Bartlett (This used to be commit 41e42843be783dd88785ba8d3a9bccacc68053a8)
2007-10-10r20295: Add a couple more tests to the CrackNames test.Andrew Bartlett1-0/+14
(This used to be commit 115ed29fd8fcfd0ad3ebbabbe01fbc6259ce84bc)
2007-10-10r20113: Update the DRSUAPI CrackNames test to explore a few more cases, and inAndrew Bartlett1-52/+58
particular to verify more expected results. Also return more details from the join process. Now we also return the machine account's GUID. Andrew Bartlett (This used to be commit 5b32f102af1fc7acb56bf7eaa40068d60a1ee396)
2007-10-10r19831: Big ldb_dn optimization and interfaces enhancement patchSimo Sorce1-2/+5
This patch changes a lot of the code in ldb_dn.c, and also removes and add a number of manipulation functions around. The aim is to avoid validating a dn if not necessary as the validation code is necessarily slow. This is mainly to speed up internal operations where input is not user generated and so we can assume the DNs need no validation. The code is designed to keep the data as a string if possible. The code is not yet 100% perfect, but pass all the tests so far. A memleak is certainly present, I'll work on that next. Simo. (This used to be commit a580c871d3784602a9cce32d33419e63c8236e63)
2007-10-10r19760: Create a DC account for the drsuapi tests to work on, rather thanAndrew Bartlett1-8/+28
choosing an existing DC. Allow to skip some tests under Samba4. Andrew Bartlett (This used to be commit 705fbae325267fd0ed11f463f954f8e45802d6d5)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-1/+2
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-3/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r14363: Remove credentials.h from the global includes.Jelmer Vernooij1-0/+1
(This used to be commit 98c4c3051391c6f89df5d133665f51bef66b1563)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher1-0/+1
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-4/+2
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 8aae0f168e54c01d0866ad6e0da141dbd828574f)