summaryrefslogtreecommitdiff
path: root/source4/torture/drs
AgeCommit message (Collapse)AuthorFilesLines
2009-11-27s4-drstest: don't use getenv("LDB_URL") in test suitesAndrew Tridgell1-18/+7
I was stumped for a while as to why the drs test suite was failing for me. It turned out that it looked for LDB_URL in the environment, and used it if set. I had it set in my terminal, and it was happily munching on my sam.ldb while testing. Quite a cute bug really :-)
2009-11-12s4:torture Add constAndrew Bartlett1-1/+1
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(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-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-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-2/+0
This reduces compile time somewhat.
2009-10-16s4/drs(tort): prefixMap unit test initial implementatoinKamen Mazdrashki3-1/+84
2009-10-16s4/drs(tort): fix compile time warningKamen Mazdrashki1-0/+1
2009-10-16s4/drs(tort): drs_util_DsAttributeId_to_string() functionKamen Mazdrashki1-0/+74
2009-10-16s4/drs(tort): oid_from_attid() reference implementationKamen Mazdrashki2-1/+96
Decode Attribute OID using prefixMap and ATTID received during replication Based on MS documentation. See MS-DRSR.pdf - 5.16.4
2009-10-16s4/drs(tort): TORTURE_DRS torture module - initial implementationKamen Mazdrashki2-0/+90
Drsuapi tests module registers two suites: - DRS-RPC - tests to be executed against remote machine - DRS-UNIT - unit test for internal testing