summaryrefslogtreecommitdiffstats
path: root/source4/lib/ldb/tests
Commit message (Collapse)AuthorAgeFilesLines
* ldb: make ldb a top level library for Samba 4.0Andrew Bartlett2011-07-0537-2310/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* pyldb: add unit test for get(myattribute, defVal)Matthieu Patou2011-06-201-0/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Jun 20 09:23:15 CEST 2011 on sn-devel-104
* s4:ldb/tests: add tests for ldbmodify and 'modrdn'Stefan Metzmacher2011-04-212-1/+16
| | | | | | Signed-off-by: Simo Sorce <idra@samba.org> metze
* ldb:tests - "init.ldif" - deactivate empty "seeAlso" attributeMatthias Dieter Wallnöfer2011-04-071-1/+2
|
* pyldb: Add tests for the ldb_result objectMatthieu Patou2011-02-211-0/+87
|
* pyldb: fix a bug in the unit test which prevented ldb.python to run all the ↵Matthieu Patou2011-02-131-0/+3
| | | | | | | tests in the testsuite Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Feb 13 00:14:24 CET 2011 on sn-devel-104
* s4:ldb: Make sample module implementation static.Brad Hards2011-01-031-2/+2
| | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 3 12:28:21 CET 2011 on sn-devel-104
* pyldb: Fix memory reference error.Jelmer Vernooij2011-01-031-0/+4
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Jan 3 02:34:05 CET 2011 on sn-devel-104
* s4:ldb:python/api: use filename() instead of hardcoded filenamesStefan Metzmacher2010-12-271-6/+6
| | | | metze
* s4:ldb/tests: there's no need to copy samba4.pngStefan Metzmacher2010-12-272-4/+1
| | | | metze
* s4:ldb:python/api: use only one ldb file in test_contains()Stefan Metzmacher2010-12-241-2/+3
| | | | metze
* s4:ldb:python/api: use filename() instead of hardcoded filenamesStefan Metzmacher2010-12-241-6/+7
| | | | | | | This makes sure we use files under $SELFTEST_PREFIX instead of the source directory. metze
* ldb: Add ldb.Message.add and ldb.Message.elements.Jelmer Vernooij2010-12-211-4/+14
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Dec 21 15:03:17 CET 2010 on sn-devel-104
* s4/ldb: fix shell syntax error in test scriptBjörn Jacke2010-12-021-2/+2
|
* pyldb: Fix broken test.Jelmer Vernooij2010-11-231-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Tue Nov 23 23:20:38 CET 2010 on sn-devel-104
* s4-ldb.python: Use $SELFTEST_PREFIX/tmp as a temporary directory for testingKamen Mazdrashki2010-11-181-1/+6
| | | | | | | This way we won't flood /tmp directory with temp files Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Thu Nov 18 23:11:18 CET 2010 on sn-devel-104
* s4-ldb.python: add test for ldb.Message.from_dict() methodKamen Mazdrashki2010-11-181-0/+17
|
* Revert "s4:api.py - DN tests - test a bit more special DNs and merge the ↵Matthias Dieter Wallnöfer2010-11-181-44/+1
| | | | | | | | | | comparison tests" This reverts commit 732ef9353dff56384e8bb01aa20d2a371cd995c2. Jelmer doesn't like to have these tests there. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Thu Nov 18 17:46:38 UTC 2010 on sn-devel-104
* s4:api.py - DN tests - test a bit more special DNs and merge the comparison ↵Matthias Dieter Wallnöfer2010-11-181-11/+47
| | | | tests
* s4-ldb: removed ldb_includes.hAndrew Tridgell2010-11-011-1/+3
| | | | | | | it causes problems with the openchange build as it is not installed Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 1 21:49:47 UTC 2010 on sn-devel-104
* s4-ldb: enable ldb module version checkingAndrew Tridgell2010-11-011-0/+2
|
* s4-test: we don't need to set LDB_MODULES_PATH any moreAndrew Tridgell2010-11-011-2/+0
|
* s4-ldb: convert the rest of the ldb modules to the new styleAndrew Tridgell2010-11-011-1/+6
|
* Add missing dependencies for com_err.Jelmer Vernooij2010-10-051-0/+6
|
* unittests: add a test to avoid regression on previous fixMatthieu Patou2010-10-041-0/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Oct 4 20:23:31 UTC 2010 on sn-devel-104
* s4-ldb: test the 'displayName=a,b' bugAndrew Tridgell2010-08-171-0/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/Stefan Metzmacher2010-06-308-7680/+0
| | | | metze
* s4:ldb/python: make it possible to run tests standaloneStefan Metzmacher2010-06-308-3/+22
| | | | metze
* Implementation of self membership validated right.Nadezhda Ivanova2010-06-281-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.
* ldb: Fix a wrong changetype in unit testMatthieu Patou2010-06-251-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4-python: python is not always in /usr/binAndrew Tridgell2010-06-241-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>
* libds:common Remove DS_DC_* domain functionality flagsAndrew Bartlett2010-06-231-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
* s4/dsdb-test: fix usage commentKamen Mazdrashki2010-06-221-2/+2
|
* s4:ldap.py - test subtree deletes through a new testcaseMatthias Dieter Wallnöfer2010-06-201-0/+48
|
* Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij2010-06-201-2/+2
|
* ldb: add a new control bypassioperationnalMatthieu Patou2010-06-201-0/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* python: Use samba.tests.TestCase, make sure base class tearDown andJelmer Vernooij2010-06-196-21/+24
| | | | setUp methods are called, fix formatting.
* acl: Clean up formatting, use samba.tests.TestCase.Jelmer Vernooij2010-06-191-124/+128
|
* python/passwords: Clean up imports.Jelmer Vernooij2010-06-191-8/+7
|
* dsdb_schema_info: Clean up imports, avoid using rpc test case forJelmer Vernooij2010-06-191-9/+2
| | | | non-RPC tests.
* s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵Matthias Dieter Wallnöfer2010-06-191-0/+9
| | | | 3.1.1.5.2.2
* ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntaxMatthias Dieter Wallnöfer2010-06-191-0/+9
|
* s4:ldap.py - add another test about linked attributesMatthias Dieter Wallnöfer2010-06-161-1/+90
| | | | | In addition this test makes sure that the bug regarding the search with deleted linked attributes in the filter has been fixed.
* s4:Descriptor tests clean-up.Nadezhda Ivanova2010-06-141-153/+67
| | | | A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally.
* s4-test: Use smb.conf path set in environment rather than usingJelmer Vernooij2010-06-131-2/+2
| | | | | | command-line options. This is the first step towards supporting custom test runners.
* Adjusted ACL tests to use encripted connection.Nadezhda Ivanova2010-06-111-120/+69
| | | | | This way we get rid of the conditional if.Samba checks, because users are successfully created and enabled.
* s4:passwords.py - set the "dSHeuristics"Matthias Dieter Wallnöfer2010-06-111-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.
* s4:passwords.py - use "self" before "enable_account" to make really sure ↵Matthias Dieter Wallnöfer2010-06-111-1/+1
| | | | which LDB connection should be used
* s4:ldap.py - check how the directory server behaves when the ↵Matthias Dieter Wallnöfer2010-06-111-2/+12
| | | | | | | 'distinguishedName' attribute wasn't set correctly (On add operations the server does completely ignore it and uses the "header" DN)
* s4:ldap.py - check if the "name" of an entry was really ignoredMatthias Dieter Wallnöfer2010-06-111-2/+7
|