summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests
AgeCommit message (Collapse)AuthorFilesLines
2010-08-17s4-ldb: test the 'displayName=a,b' bugAndrew Tridgell1-0/+6
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-06-30s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/Stefan Metzmacher8-7680/+0
metze
2010-06-30s4:ldb/python: make it possible to run tests standaloneStefan Metzmacher8-3/+22
metze
2010-06-28Implementation of self membership validated right.Nadezhda Ivanova1-5/+103
When this right is granted, the user can add or remove themselves from a group even if they dont have write property right.
2010-06-25ldb: Fix a wrong changetype in unit testMatthieu Patou1-1/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-24s4-python: python is not always in /usr/binAndrew Tridgell1-1/+1
Using "#!/usr/bin/env python" is more portable. It still isn't ideal though, as we should really use the python path found at configure time. We do that in many places already, but some don't. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-23libds:common Remove DS_DC_* domain functionality flagsAndrew Bartlett1-8/+8
These are just a subset of the DS_DOMAIN_ functionality flags, are compared and often confused with each other. Just make them one set. Andrew Bartlett
2010-06-22s4/dsdb-test: fix usage commentKamen Mazdrashki1-2/+2
2010-06-20s4:ldap.py - test subtree deletes through a new testcaseMatthias Dieter Wallnöfer1-0/+48
2010-06-20Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij1-2/+2
2010-06-20ldb: add a new control bypassioperationnalMatthieu Patou1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-19python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij6-21/+24
setUp methods are called, fix formatting.
2010-06-19acl: Clean up formatting, use samba.tests.TestCase.Jelmer Vernooij1-124/+128
2010-06-19python/passwords: Clean up imports.Jelmer Vernooij1-8/+7
2010-06-19dsdb_schema_info: Clean up imports, avoid using rpc test case forJelmer Vernooij1-9/+2
non-RPC tests.
2010-06-19s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵Matthias Dieter Wallnöfer1-0/+9
3.1.1.5.2.2
2010-06-19ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntaxMatthias Dieter Wallnöfer1-0/+9
2010-06-16s4:ldap.py - add another test about linked attributesMatthias Dieter Wallnöfer1-1/+90
In addition this test makes sure that the bug regarding the search with deleted linked attributes in the filter has been fixed.
2010-06-14s4:Descriptor tests clean-up.Nadezhda Ivanova1-153/+67
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
2010-06-13s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij1-2/+2
command-line options. This is the first step towards supporting custom test runners.
2010-06-11Adjusted ACL tests to use encripted connection.Nadezhda Ivanova1-120/+69
This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled.
2010-06-11s4:passwords.py - set the "dSHeuristics"Matthias Dieter Wallnöfer1-0/+33
As per Nadia's request and abartlet's suggestion the test now also sets the "dSHeuristics" attribute properly to be able to perform the tests also against Windows without further configuration. The code has the neat feature that it undoes the change and resets the behaviour as it was before.
2010-06-11s4:passwords.py - use "self" before "enable_account" to make really sure ↵Matthias Dieter Wallnöfer1-1/+1
which LDB connection should be used
2010-06-11s4:ldap.py - check how the directory server behaves when the ↵Matthias Dieter Wallnöfer1-2/+12
'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN)
2010-06-11s4:ldap.py - check if the "name" of an entry was really ignoredMatthias Dieter Wallnöfer1-2/+7
2010-06-10s4:ldap.py - add testcase which demonstrates the reset of the "primaryGroupID"Matthias Dieter Wallnöfer1-0/+7
2010-06-10s4:ldap.py - add a test to demonstrate the 'instanceType' behaviourMatthias Dieter Wallnöfer1-0/+39
2010-06-07s4 python: add more unit tests to verify the compare testsMatthieu Patou1-0/+19
2010-06-07s4:ldap.py - add some "objectclass" behaviour testsMatthias Dieter Wallnöfer1-0/+190
2010-06-07s4:ldap.py - enhance the attributes testcase to demonstrate how the ↵Matthias Dieter Wallnöfer1-2/+75
attributes are checked against the schema and the specified objectclasses This demonstrates the bew "objectclass_attrs" LDB module behaviour.
2010-06-07s4:ldap.py - enhance the rename tests to demonstrate the functionalityMatthias Dieter Wallnöfer1-0/+37
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