Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-17 | s4/drs(tort): replace DEBUG with torture_asert/comment/fail | Kamen Mazdrashki | 1 | -45/+49 | |
I left dumping of decrypted attributes values 'as is' (using DEBUG and DEBUGADD) as it uses dump_data() function. dump_data() uses DEBUGADD internally, so I have no way to redirect its output to torture_context at this point. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): use torture_drsuapi_assert_call() macro for error checking | Kamen Mazdrashki | 1 | -11/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): replace 'printf' with 'torture_...' calls | Kamen Mazdrashki | 1 | -14/+15 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system call | Kamen Mazdrashki | 1 | -11/+11 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call | Kamen Mazdrashki | 3 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test | Andrew Bartlett | 1 | -2/+15 | |
2009-11-17 | s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schema | Andrew Bartlett | 1 | -1/+1 | |
The load of defaultObjectCategory as an extended DN means we need to use the common parsing functions I just split out, rather than the GET_DS_DN macro. The objectGUIDs are loaded so that we can create the extended DN when we load from LDIF (and are loaded for the other cases for consistency). Also adapt callers to API changes needed for common parsing code Andrew Bartlett | |||||
2009-11-13 | s4-ldb: changed the DN checks for \n to warnings | Andrew Tridgell | 1 | -3/+5 | |
a \n is sometimes allowed in AD (eg in deleted DNs). Until we know when is really is allowed, treat it as a warning only. | |||||
2009-11-12 | s4:torture Use (some) torture_assert() calls in RPC-DSSYNC test | Andrew Bartlett | 1 | -5/+4 | |
2009-11-12 | s4:torture Remove _drs_util_verify_attids() from RPC-DSSYNC | Andrew Bartlett | 1 | -86/+0 | |
I'm satisfied that the task this test does is already done by the time we map the incoming schema, and process the objects. If we have the OID mapping wrong or incomplete, we will get any errors this test found errors there. (And this dramaticly reduces the test time, so we can now add RPC-DSSYNC to 'make test'). Andrew Bartlett | |||||
2009-11-12 | s4:torture/dsdb Add verification of the push-to-LDB functions in RPC-DSSYNC | Andrew Bartlett | 1 | -23/+260 | |
This is done by comparing the values against the remote host's LDAP server. Andrew Bartlett | |||||
2009-11-12 | s4:torture Add const | Andrew Bartlett | 1 | -1/+1 | |
2009-11-12 | s4:torture Convert RPC-DSSYNC test to use LDB rather than raw LDAP | Andrew Bartlett | 1 | -49/+28 | |
(This should make it easier to do more 'compare DRS with LDAP' operations, as LDB is an easier interface to program.) Andrew Bartlett | |||||
2009-11-12 | NET-API-BECOME-DC: resolve the host name to an address before calling | Stefan Metzmacher | 1 | -2/+16 | |
libnet_BecomeDC and libnet_UnbecomeDC() We're supposed to pass in source_dsa_address... metze | |||||
2009-11-12 | s4:dsdb Add expected value tests for most DRS syntax conversions | Andrew Bartlett | 2 | -2/+4 | |
I've left out those for which I could not find an expected value in my default Windows 2003 server's database, and the values that rely on the current prefix map at the time. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/repl Split the 'convert' or 'commit' stages in the DRS import | Andrew Bartlett | 1 | -26/+38 | |
This will allow us in future to do tests on the LDB values we generate from the DRS replication. Andrew Bartlett | |||||
2009-11-12 | s4:dsdb/schema Simplify schema loading from ldb messages | Andrew Bartlett | 1 | -17/+2 | |
It turns out that we always add the class/attribute to the schema. | |||||
2009-11-12 | s4:dsdb Add extensive tests for the behaviour of dsdb_dn | Andrew Bartlett | 2 | -2/+6 | |
2009-11-12 | lib/util Split data_blob_hex_string() into upper and lower | Andrew Bartlett | 2 | -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-10 | s4-smbtorture: strip trailing whitespace in RPC-SAMR. | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-11-09 | s4-smbtorture: re-arrange netlogon LogonControl test. | Günther Deschner | 2 | -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-07 | torture/basic/denytest - makes the code more compatible for TRU64 (consider ↵ | Matthias Dieter Wallnöfer | 1 | -10/+14 | |
buildfarm) | |||||
2009-11-06 | s4:torture/samr - Add status code on "ValidatePassword" test output | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2009-11-06 | s4:torture/samr - Activate "ValidatePassword" test per default | Matthias Dieter Wallnöfer | 1 | -5/+2 | |
2009-11-06 | s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itself | Kamen Mazdrashki | 1 | -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-06 | s4/drs(tort): Test case for dsdb_create_prefix_mapping() implemented | Kamen Mazdrashki | 1 | -0/+88 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scope | Kamen Mazdrashki | 1 | -9/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): prefixMap read/write in LDB test case | Kamen Mazdrashki | 1 | -0/+43 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): Create temporary LDB for testing purposes | Kamen Mazdrashki | 1 | -0/+67 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): prefixMap to/from ldb_val serialization test case | Kamen Mazdrashki | 1 | -2/+61 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMap | Kamen Mazdrashki | 1 | -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-06 | s4/drs: dsdb_map_int2oid() replaced by dsdb_schema_pfm_oid_from_attid() | Kamen Mazdrashki | 1 | -1/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs: dsdb_verify_oid_mappings_drsuapi() replaced by ↵ | Kamen Mazdrashki | 1 | -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-06 | s4/drs: dsdb_load_oid_mappings_drsuapi() -> dsdb_load_prefixmap_from_drsuapi() | Kamen Mazdrashki | 1 | -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-06 | s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversion | Kamen Mazdrashki | 1 | -0/+51 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4/drs(tort): implement prefixMap comparison function | Kamen Mazdrashki | 1 | -13/+23 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-06 | s4:torture/drs: move intern/ => unit/ | Stefan Metzmacher | 2 | -1/+1 | |
metze | |||||
2009-11-05 | Fix up some of the timing constants for DELAYWRITE. Add some extra tests up ↵ | Jeremy Allison | 1 | -30/+114 | |
test_delayed_write_update6 to investigate what happens to a sticky write handle after a second handle close. Jeremy. | |||||
2009-11-05 | s4:torture/rpc/samr - Add a comment for "ValidatePassword" test | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
2009-11-03 | s4-smbtorture: skip three info levels while testing s3 with RPC-LSA. | Günther Deschner | 1 | -3/+14 | |
These are only supported by s3 when running pdb_ads atm. Guenther | |||||
2009-11-03 | s4-smbtorture: skip QueryInfoPolicy2 while running RPC-LSA against s3. | Günther Deschner | 1 | -0/+4 | |
This is only supported by s3 when running pdb_ads atm. Guenther | |||||
2009-11-03 | s4-smbtorture: skip QueryDomainInformationPolicy test against s3 in RPC-LSA. | Günther Deschner | 1 | -0/+4 | |
Guenther | |||||
2009-11-03 | s4-smbtorture: simplify some torture_comments in RPC-LSA. | Günther Deschner | 1 | -20/+6 | |
Guenther | |||||
2009-11-02 | s4:torture/raw/samba3misc - Add "discard_const_p" macro before a string | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-10-30 | s4-smbtorture: skip bigendian tests against s3 in RPC-LSA-SECRETS. | Günther Deschner | 1 | -0/+6 | |
Guenther | |||||
2009-10-30 | s4-smbtorture: fix warning in RPC-WKSSVC torture test. | Günther Deschner | 1 | -3/+5 | |
Guenther | |||||
2009-10-29 | Change RAW-STREAMS for s3 to allow rename over an existing stream, | Jeremy Allison | 1 | -1/+2 | |
we need to file a CAR to find out why Windows gives INVALID_PARAMETER for this. Jeremy. | |||||
2009-10-23 | s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect() | Andrew Tridgell | 5 | -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-23 | s4-dsdb: create a static system_session context | Andrew Tridgell | 1 | -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-22 | s4-torture: fixed double free in libnet_group test | Andrew Tridgell | 1 | -1/+0 | |