summaryrefslogtreecommitdiff
path: root/source4/torture/drs
AgeCommit message (Collapse)AuthorFilesLines
2011-01-03remove unnecessary use of pass.Jelmer Vernooij1-8/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 08:21:12 CET 2011 on sn-devel-104
2011-01-03Use TestCase.get_credentials() where possible.Jelmer Vernooij3-3/+3
2010-12-21s4:dsdb/schema/schema_* - adaptions needed for removed "const" on OIDsMatthias Dieter Wallnöfer1-1/+4
2010-12-15s4-test/repl_schema: remove unused and commented out codeKamen Mazdrashki1-3/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 15 01:37:10 CET 2010 on sn-devel-104
2010-12-15s4-test/repl_schema: Make sure every object is with unique nameKamen Mazdrashki1-2/+5
This way, test writer don't have to be careful to choose unique objects suffix
2010-12-15s4-test/repl_schema: use 'top' as default base class for our test ↵Kamen Mazdrashki1-1/+1
classSchema objects Otherwise we will end up passing whole inheritance chain every time we create some new fancy classSchema object (as the 'cls-A' and 'cls-B' ones in test_classWithCustomAttribute test)
2010-12-15s4-test/repl_schema: New test to test a classSchema with custom attributeKamen Mazdrashki1-0/+24
Create new Attribute and a Class, that has value for newly created attribute. This should check code path that searches for AttributeID_id in Schema cacheThis test. It also tests how we replicate a leaf classSchema that inherits from a new classSchema with attribute added - tests both dsdb_attribute_drsuapi_to_ldb() and _dsdb_syntax_OID_obj_drsuapi_to_ldb() syntax handler
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij4-5/+5
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-12-02s4-test/repl_schema: Test class inheritance through subClassOfKamen Mazdrashki1-1/+26
2010-12-02s4-test/fsmo: Remove unused importsKamen Mazdrashki1-2/+0
2010-12-02s4-test/delete_object: Remove unused importsKamen Mazdrashki1-3/+4
2010-12-02s4-test/repl_schema: Make ERR_NO_SUCH_OBJECT visible to usKamen Mazdrashki1-0/+1
We've lost this import somehow, now it is back in :)
2010-12-02s4-test/repl_schema: Test classSchema and attributeSchema replication in ↵Kamen Mazdrashki1-0/+18
separate tests
2010-12-01s4-test/schema: Extend the test to replicate a Class with Attribute with ↵Kamen Mazdrashki1-2/+10
"mayContain" relation Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Dec 1 13:30:45 CET 2010 on sn-devel-104
2010-12-01s4-repl: Let dsdb_replicated_objects_convert() to accept schema from callerKamen Mazdrashki1-0/+1
This allows us to use schema that is different than the one set to 'ldb' to decode objects.
2010-11-29s4-repl_schema: fixed ldb exception handlingAndrew Tridgell1-2/+4
2010-11-28s4-python: Fix formatting of docstrings for the purpose of pydoctor.Jelmer Vernooij1-4/+6
2010-11-27s4:torture/drs/python/fsmo.py - fix comments and an error messageMatthias Dieter Wallnöfer1-3/+3
2010-11-23s4-test/repl_schema: Refactor the test a little bit toKamen Mazdrashki1-31/+59
- Cleanup imports - make sure we have testtools and subunit imported - use dictionaries instead of LDIFs for schema modification so now callers for _make_class can easily add new attributes for created class - simplify a little bit classSchema creation - test attributeSchema replication Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Nov 23 18:44:46 CET 2010 on sn-devel-104
2010-11-22s4-test/repl_schema: Remote global ldb connectionsKamen Mazdrashki1-25/+7
Although unlikely, Jelmer pointed out that using persistent SamDB connections between test may interfere with tests behaviour (and is not xUnit compliant anyway) Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Nov 22 15:24:03 CET 2010 on sn-devel-104
2010-11-11s4-repl: dsdb_extended_replicated_objects_convert -> ↵Kamen Mazdrashki1-9/+9
dsdb_replicated_objects_convert/ It is part of dsdb_replicated_* family of functions
2010-11-11s4-test: repl_schema - Make sure LdbError and ERR_NO_SUCH_OBJECT are visibleKamen Mazdrashki1-0/+1
2010-11-08s4-test: Initial implementation for Schema replication black box testKamen Mazdrashki1-0/+174
2010-11-07s4:torture/dssync.c - remove unused variableMatthias Dieter Wallnöfer1-1/+0
2010-11-07credentials: Lowercase library name,Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Nov 7 01:48:44 UTC 2010 on sn-devel-104
2010-11-07ldbsamba: Lowercase library name.Jelmer Vernooij1-1/+1
2010-11-07samdb: Lowercase library name.Jelmer Vernooij1-1/+1
2010-11-06s4:DRS-RPC-DSSYNC: don't try to decrypt secret attributes twiceStefan Metzmacher1-19/+3
dsdb_extended_replicated_objects_convert() already decrypts the attributes in place. This fixes the usage of --option="dssync:print_pwd_blobs=yes". metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Nov 6 13:30:16 UTC 2010 on sn-devel-104
2010-11-01s4:torture - suppress printf "%llu" on uint64_t variables warningsMatthias Dieter Wallnöfer1-8/+8
The signed/unsignedness does match (always unsigned). The bitlength (64 bit) on all regular platforms does also. Therefore simply add a cast to "unsigned long long".
2010-10-31idl: Use DRSUAPI_ATTID_ prefix instead of DRSUAPI_ATTRIBUTE_ for ATTID valuesKamen Mazdrashki1-11/+11
Those values are actually ATTID values and such, they are used for ATTIDs for Attributes, Classes and Syntaxes.
2010-10-31s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij1-25/+0
The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
2010-10-30s4-torture: simplify the depenencies for TORTURE_DRSAndrew Tridgell1-1/+1
it doesn't need to depend on the kitchen sink Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-29s4-drs_tests: drs_util_DsAttributeId_to_string() is not used anymoreKamen Mazdrashki1-74/+0
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Fri Oct 29 09:54:01 UTC 2010 on sn-devel-104
2010-10-29s4-pfm_test: Use single instance of global testing data to test withKamen Mazdrashki1-52/+24
2010-10-29s4-pfm-test: Enrich and fix comment primary for testing dataKamen Mazdrashki1-5/+12
2010-10-28s4 net: rename to samba-tool in order to not clash with s3 netKai Blin2-7/+7
Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Thu Oct 28 07:25:16 UTC 2010 on sn-devel-104
2010-10-26s4-pfm_test: no need to test created prefixMap contents here - it already testedKamen Mazdrashki1-3/+0
2010-10-26s4-pfm_test: Tests for dsdb_schema_pfm_attid_from_oid()Kamen Mazdrashki1-0/+117
2010-10-26waf: Stop automaticaly changing dashes to underscores in library names.Jelmer Vernooij1-1/+1
2010-10-26s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij1-1/+1
2010-10-25s4-test: Extend DRS-msDSIntId test to verify Configuration NC replica alsoKamen Mazdrashki1-5/+30
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Oct 25 13:13:48 UTC 2010 on sn-devel-104
2010-10-24s4-test: Print correct partition DN in msDSIntId testKamen Mazdrashki1-1/+1
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun Oct 24 20:45:21 UTC 2010 on sn-devel-104
2010-10-24s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij1-1/+1
2010-10-23s4: Rename NDR_TABLE to ndr_table.Jelmer Vernooij1-1/+1
2010-10-21s4-dsdb: moved a bunch of fuctions from schema/schema_info_attr.c to ↵Andrew Tridgell2-15/+16
samdb/ldb_modules/schema_util.c these functions operate on ldb_modules, so they should be in the ldb_modules directory. They also should return ldb errors codes, not WERROR codes, as otherwise the error can be hidden from the ldap caller This re-arrangement fixes a dependency loop in the schema/samdb code. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Kamen Mazdrashki <kamenim@samba.org>
2010-10-21s4-waf: removed dependencies on missing subsystemsAndrew Tridgell1-1/+1
these were left over from the old config.mk system
2010-10-09s4-test-msds_intid: Verify ATTIDs for Linked AttributesKamen Mazdrashki1-0/+45
Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sat Oct 9 03:43:34 UTC 2010 on sn-devel-104
2010-10-09s4-test-msds_intid: Simplify parameters for _make_error_message() functionKamen Mazdrashki1-10/+18
so it can be used in more places - when checking for Linked Attributes ATTIDs for instance
2010-10-03s4-test-fsmo.py: Implement kind of busy-wait for role transferKamen Mazdrashki1-18/+36
This allows us not to hard code timeout we are going to wait for before failing the test - if DCs are not very busy, we won't wait at all (speeds up 'make test' by a minute also) Maximum timeout to wait for is set to 20 secs currently, which should be enough even for slow machines and tested DCs being under load
2010-10-03s4-test-fsmo.py: Use common implementation for env_get_var_value()Kamen Mazdrashki1-8/+2