summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-06-06s4:ldap.py - enhance the RDN name test to show that invalid "name" ↵Matthias Dieter Wallnöfer1-1/+3
attributes are allowed on add operations
2010-06-06s4:urgent_replication.py - specify the "dnsRoot" attribute which is ↵Matthias Dieter Wallnöfer1-0/+1
requested on "crossRef" entries
2010-06-06s4:ldap.py - make sure that also the "posixuser" will be deleted on test ↵Matthias Dieter Wallnöfer1-0/+1
breakages
2010-05-30s4:tests/python/passwords.py - fix filterMatthias Dieter Wallnöfer1-1/+1
2010-05-30s4:ldap.py - add a test which shows the modification behaviour of important ↵Matthias Dieter Wallnöfer1-0/+104
attributes This shows how important attributes of SAM objects do behave when you launch add and delete modify requests on them.
2010-05-30s4:ldap.py - add more test cases to show invalid primary group change behaviourMatthias Dieter Wallnöfer1-0/+23
2010-05-10s4:passwords.py - add a python unittest for additional testing of my ↵Matthias Dieter Wallnöfer1-0/+579
passwords work This performs checks on direct password changes over LDB/LDAP. Indirect password changes over the RPCs are already tested by some torture suite (SAMR passwords). So no need to do this again here.
2010-05-03s4/test: Implement tests for msDS-isRODC constructed attributeAnatoliy Atanasov1-0/+39
This attribute will be returned for objects with objectClass=nTDSDSA,server and computer
2010-04-29s4/test: schemaInfo may not to be set yetKamen Mazdrashki1-7/+15
On newly provisioned Forest schemaInfo is not initially set. It should be created after firs Schema modification
2010-04-20Removed more excess looping and fixed problem with incorrect IO flag handling.Nadezhda Ivanova1-0/+33
2010-04-17s4:Added a test for correct CO expansion in SD creation.Nadezhda Ivanova1-0/+13
2010-04-15s4:Added a test to make sure we ignore ACEs with ID flag set.Nadezhda Ivanova1-0/+13
2010-04-11subunit: Remove more test output that could be interpreted by subunit.Jelmer Vernooij1-1/+1
2010-04-09s4/schema: Torture test for schemaInfo implementationKamen Mazdrashki1-0/+209
This test checks if schemaInfo revision changes when an object is added or modified in Schema. Ref. [MS-ADTS], 3.1.1.2.1
2010-04-08s4-python: Move load_partition_usn to dsdb module.Jelmer Vernooij1-28/+28
2010-04-08s4-python: More cleanups.Jelmer Vernooij2-6/+5
2010-04-08s4-python: rename samba.glue to samba._glue to indicate it's private.Jelmer Vernooij1-26/+26
2010-04-07LDB:sample_module - reintroduce accidentally removed "ldb_msg_add_fmt" statementMatthias Dieter Wallnöfer1-0/+2
Obviously this is really needed by the "samba4.ldb" test.
2010-04-07urgent_replication: Use standard comments rather than docstrings.Jelmer Vernooij1-29/+28
2010-04-06LDB:sample_module.c - remove code parts which generate warningsMatthias Dieter Wallnöfer1-4/+0
Btw: The use of the "ldb_msg_add_fmt" operation directly on the request message object is strongly discouraged. Better is to make a shallow copy of this message and attach it to a new child request which is handled by the following modules.
2010-04-06s4-python: Move ldb_set_utf8_casefold to pyldb-samba.Jelmer Vernooij1-1/+0
2010-04-04s4-python: Avoid importing glue directly.Jelmer Vernooij1-4/+2
2010-04-04s4-python: Move dsdb constants to a separate python module.Jelmer Vernooij3-38/+12
2010-04-03s4-python: Remove unused imports, duplicate definitions of SECINFO_ constants.Jelmer Vernooij1-7/+5
2010-03-31s4-python: Install external included packages only if they're not present on ↵Jelmer Vernooij2-7/+2
the system.
2010-03-29ldap.py: Fix syntax error.Jelmer Vernooij1-1/+1
2010-03-29s4-python: Format to PEP8, simplify tests.Jelmer Vernooij2-21/+22
2010-03-25python: use '#!/usr/bin/env python' to cope with varying install locationsAndrew Tridgell7-7/+7
this should be much more portable
2010-03-09Fixed a bug in acl tests - python error when we create user/group/ou with a ↵Nadezhda Ivanova1-23/+23
descriptor.
2010-03-09Added a check for permissions to modify the RDN attribute on rename.Nadezhda Ivanova1-0/+32
Necessary because rdn module will be moved lower than acl in the stack.
2010-03-04s4:ldap.py - give the "primaryGroupToken" test a better nameMatthias Dieter Wallnöfer1-3/+3
It tests also some other constructed attributes in a basic way.
2010-03-04s4:ldap.py - add test for "tokenGroups"Matthias Dieter Wallnöfer1-0/+44
2010-03-04Refactored ACL python testsNadezhda Ivanova1-441/+256
Made each type into a separate class to be easily run individually, removed code duplication
2010-02-15s4-ldb: fixed permissions on urgent_replication.pyAndrew Tridgell1-0/+0
2010-02-15s4-test: minor fixes to urgent_replication.pyAndrew Tridgell1-27/+4
- fix usage name - remove unnecessary python functions - remote unused gc ldb
2010-02-15s4-drs: Test situations for Urgent ReplicationFernando J V da Silva1-0/+414
Checks if the partition's uSNUrgent is updated or not, depending on the class of the object which is created, modified or deleted. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-28s4-ldbtest: fixed python importAndrew Tridgell1-2/+2
2010-01-28s4-drs: implementation of some delete test casesEduardo Lima1-0/+200
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-17ldap: Fix test failure that seemed to go unreported previously.Jelmer Vernooij1-2/+1
2010-01-17ldap.py: Remove unused imports.Jelmer Vernooij1-18/+4
2010-01-16Import testtools as well, required for subunit.Jelmer Vernooij4-8/+4
2010-01-13s4:ldb/tests: do a "schemaUpdateNow" after creating a new attribute in ↵Stefan Metzmacher1-0/+10
ldap_schema.py It seems that windows doesn't need that. And we should think about a check for reloading the schema at the start of each "write" operation. metze
2010-01-08s4-acl: fixed acl.py test to use correct ldifAndrew Tridgell1-1/+2
same problem as sec_descriptor.py
2010-01-08s4-secdesc: fixed the sec_descriptor.py testAndrew Tridgell1-42/+74
The test was using a "changetype: add" to try and add a member to a group, where it should use a "changetype: modify" with a "add: member" Also fixed the recovery when the test fails part way through (delete the test users at the start as well as the end) Nadya, please check!
2010-01-05s4:ldap_schema.py - add an additional check for validity of ↵Matthias Dieter Wallnöfer1-0/+25
"defaultObjectCategory"
2010-01-05s4:ldap_schema.py - Move generated attributes checkMatthias Dieter Wallnöfer1-15/+15
Make more clear that they're created before the "schemaUpdateNow".
2010-01-02s4-ldaptest: need to use MessageElement for modify messagesAndrew Tridgell1-2/+4
Without MessageElement() the flags are not set, which is invalid
2010-01-02s4-ldbtest: fixed message element in modifyAndrew Tridgell1-1/+2
a flags value of zero is not valid
2009-12-31pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid().Jelmer Vernooij2-10/+10
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-12-23s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodifyMatthieu Patou3-1/+77