summaryrefslogtreecommitdiff
path: root/source4/torture
AgeCommit message (Collapse)AuthorFilesLines
2009-11-12s4:dsdb Add extensive tests for the behaviour of dsdb_dnAndrew Bartlett2-2/+6
2009-11-12lib/util Split data_blob_hex_string() into upper and lowerAndrew Bartlett2-3/+3
Rather than have a repeat of the bugs we found at the plugfest where hexidecimal strings must be in upper or lower case in particular places, ensure that each caller chooses which case they want. This reverts most of the callers back to upper case, as things were before tridge's patch. The critical call in the extended DN code is of course handled in lower case. Andrew Bartlett
2009-11-10s4-smbtorture: strip trailing whitespace in RPC-SAMR.Günther Deschner1-2/+2
Guenther
2009-11-09s4-smbtorture: re-arrange netlogon LogonControl test.Günther Deschner2-13/+65
The LogonControl tests now are split out to a new RPC-NETLOGON-ADMIN test that tests the behaviour of that call when called by user, dc or workstation. Guenther
2009-11-07torture/basic/denytest - makes the code more compatible for TRU64 (consider ↵Matthias Dieter Wallnöfer1-10/+14
buildfarm)
2009-11-06s4:torture/samr - Add status code on "ValidatePassword" test outputMatthias Dieter Wallnöfer1-2/+2
2009-11-06s4:torture/samr - Activate "ValidatePassword" test per defaultMatthias Dieter Wallnöfer1-5/+2
2009-11-06s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itselfKamen Mazdrashki1-19/+35
The responsibility for failing torture_context sould be for the caller. This gives better control in for test case driver function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): Test case for dsdb_create_prefix_mapping() implementedKamen Mazdrashki1-0/+88
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scopeKamen Mazdrashki1-9/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): prefixMap read/write in LDB test caseKamen Mazdrashki1-0/+43
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): Create temporary LDB for testing purposesKamen Mazdrashki1-0/+67
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): prefixMap to/from ldb_val serialization test caseKamen Mazdrashki1-2/+61
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMapKamen Mazdrashki1-1/+11
"partial drsuapi_prefixMap" is a prefix map without last entry being special - i.e. map that does not contains schema_info entry. Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to cover both 'full' and 'partial' map conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid()Kamen Mazdrashki1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵Kamen Mazdrashki1-1/+1
dsdb_schema_pfm_contains_drsuapi_pfm() dsdb_schema_pfm_contains_drsuapi_pfm() is part of reimplemented prefixMap interface. This name was choosen to clearly show, that this a week verification in case we want to determine if remote schema is changed. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi()Kamen Mazdrashki1-1/+1
Also, dsdb_load_oid_mappings_drsuapi() was reimplemented to use dsdb_schema_pfm_from_drsuapi_pfm() function to load drsuapi_prefixMap into schema->prefixmap Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversionKamen Mazdrashki1-0/+51
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): implement prefixMap comparison functionKamen Mazdrashki1-13/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4:torture/drs: move intern/ => unit/Stefan Metzmacher2-1/+1
metze
2009-11-05Fix up some of the timing constants for DELAYWRITE. Add some extra tests up ↵Jeremy Allison1-30/+114
test_delayed_write_update6 to investigate what happens to a sticky write handle after a second handle close. Jeremy.
2009-11-05s4:torture/rpc/samr - Add a comment for "ValidatePassword" testMatthias Dieter Wallnöfer1-0/+2
2009-11-03s4-smbtorture: skip three info levels while testing s3 with RPC-LSA.Günther Deschner1-3/+14
These are only supported by s3 when running pdb_ads atm. Guenther
2009-11-03s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3.Günther Deschner1-0/+4
This is only supported by s3 when running pdb_ads atm. Guenther
2009-11-03s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA.Günther Deschner1-0/+4
Guenther
2009-11-03s4-smbtorture: simplify some torture_comments in RPC-LSA.Günther Deschner1-20/+6
Guenther
2009-11-02s4:torture/raw/samba3misc - Add "discard_const_p" macro before a stringMatthias Dieter Wallnöfer1-1/+1
2009-10-30s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS.Günther Deschner1-0/+6
Guenther
2009-10-30s4-smbtorture: fix warning in RPC-WKSSVC torture test.Günther Deschner1-3/+5
Guenther
2009-10-29Change RAW-STREAMS for s3 to allow rename over an existing stream,Jeremy Allison1-1/+2
we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy.
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell5-5/+5
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-10-23s4-dsdb: create a static system_session contextAndrew Tridgell1-4/+4
This patch adds a system_session cache, preventing us from having to recreate it on every ldb open, and allowing us to detect when the same session is being used in ldb_wrap
2009-10-22s4-torture: fixed double free in libnet_group testAndrew Tridgell1-1/+0
2009-10-22s4:torture Silence const warning by use of data_blob_const()Andrew Bartlett1-2/+1
This was inspired by one of mdw's const patches Andrew Bartlett
2009-10-22s4:smbtorture - Add "const" before "value"Matthias Dieter Wallnöfer1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-10-21s4/drs(tort): Unit test for prefixMap implementation.Kamen Mazdrashki1-5/+327
Currenly those tests cover only the main part of the interface, i.e. dsdb_schema_pfm_new(), dsdb_schema_pfm_make_attid() and dsdb_schema_pfm_oid_from_attid()
2009-10-21s4/drs(tort): Comment typos fixed in drs_util.cKamen Mazdrashki1-2/+2
2009-10-21s4/drs(tort): fixed '==' to '>='Kamen Mazdrashki1-1/+1
ATTID is marked as partial by adding 32768. Thus the check should be '>= 32768'
2009-10-21s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up ↵Günther Deschner1-6/+45
a client. Guenther
2009-10-20s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.Günther Deschner1-16/+50
Make sure to split out lsa_LookupName NULL name test so that we can better track results from bogus names and NULL names. Guenther
2009-10-20s4-smbtorture: Make it simpler to specify number of trusted domains to create inGünther Deschner1-17/+40
RPC-LSA-TRUSTED-DOMAINS. Guenther
2009-10-20s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.Günther Deschner1-1/+1
Guenther
2009-10-20s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.Günther Deschner1-2/+27
Guenther
2009-10-20s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.Günther Deschner1-3/+13
Guenther
2009-10-20s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.Günther Deschner1-7/+8
Guenther
2009-10-20s4-torture: fixed a pipe leakAndrew Tridgell1-0/+2
The RPC-SAMR-PASSWORDS* tests could leak RPC pipes, causing an overallocation of fd's on the server
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell124-274/+0
This reduces compile time somewhat.
2009-10-20s4-torture: fixed a fd/mem leak in the RPC-LSA-SECRETS testAndrew Tridgell1-7/+12
This test left a large number of lsa pipes open, which could trigger the server running out of fds
2009-10-19s4:torture "cldap" test - restore the removed constraints and add moreMatthias Dieter Wallnöfer1-4/+34
Consider for description the post on the technical mailing list. I hope that this satisfies abartlet again.
2009-10-19s4:test: Fix typo.Karolin Seeger1-1/+1
Karolin