Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-07 | s4-ldb: added ldb_error() and ldb_operr() | Andrew Tridgell | 3 | -2/+22 | |
These will be used to help avoid the problem we have with hundreds of places that do "return LDB_ERR_OPERATIONS_ERROR" without an explanation. It is very difficult to track down ldb errors which don't have any explanation. By replacing "return LDB_ERR_OPERATIONS_ERROR;" with "return ldb_operr(ldb);" we at least get a file:line message in the ldb error string. It isn't an ideal error message, but it is much better than just "operations error" This change also makes ldb_oom() return the error code (LDB_ERR_OPERATIONS_ERROR) so you can do: return ldb_oom(ldb); instead of: ldb_oom(ldb); return LDB_ERR_OPERATIONS_ERROR; | |||||
2010-07-07 | s4-ldb: added support for simple binds on ldb_ldap backend | Andrew Tridgell | 1 | -0/+50 | |
this uses the options[] array to pass in bindMech, bindID and bindSecret. Currently only "simple" is supported. | |||||
2010-07-07 | s4-ldb: added ldb_options_find() | Andrew Tridgell | 6 | -7/+85 | |
ldb_options_find() allows backends to find options in the options[] array passed to the connect operation. This will be used by the ldb_ldap bind code | |||||
2010-07-02 | s4-ldb: fixed error handling in openldap backend | Andrew Tridgell | 1 | -5/+15 | |
fixed several bugs in error handling. the ldb context was used without being initialised in the error paths, and several error paths did not set an ldb error string. | |||||
2010-07-02 | s4-ldb: fixed the parsing of references in the openldap backend | Andrew Tridgell | 1 | -5/+6 | |
We need to use ldap_parse_reference() not ldap_parse_result() | |||||
2010-06-30 | s4:dsdb: move dsdb python tests from lib/ldb/ to dsdb/ | Stefan Metzmacher | 8 | -7680/+0 | |
metze | |||||
2010-06-30 | s4:ldb/python: make it possible to run tests standalone | Stefan Metzmacher | 8 | -3/+22 | |
metze | |||||
2010-06-29 | ldb:ldb_map_outbound.c - "ldb_parse_tree_collect_attrs" - remove unneeded ↵ | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
return value | |||||
2010-06-29 | ldb:ldb_modules.c - "ldb_dso_load_symbol" - remove unneeded caste before "dlsym" | Matthias Dieter Wallnöfer | 1 | -2/+1 | |
2010-06-29 | s4:ldb - "ldb_dn_update_components" - fix free of invalid DN parts | Matthias Dieter Wallnöfer | 1 | -4/+3 | |
Use "LDB_FREE" for such free operations and in addition wipe also the casefolded DN out. | |||||
2010-06-29 | ldb:ldb_dn.c - "ldb_dn_set_extended_component" - free the linearized string ↵ | Matthias Dieter Wallnöfer | 1 | -2/+4 | |
when the components change | |||||
2010-06-29 | s4:ldb_dn.c - make the code parts which free extended components consistent | Matthias Dieter Wallnöfer | 1 | -9/+7 | |
Cosmetic | |||||
2010-06-29 | ldb:ldb_dn - "ldb_dn_explode" - move the "dn->comp_num" initalisation ↵ | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
upwards and use "LDB_FREE" for freeing "dn->components" Mostly cosmetic - no behaviour change | |||||
2010-06-28 | Implementation of self membership validated right. | Nadezhda Ivanova | 1 | -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-25 | ldb: Fix a wrong changetype in unit test | Matthieu Patou | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-24 | s4-ldb: use CHECK_XSLTPROC_MANPAGES() | Andrew Tridgell | 1 | -1/+1 | |
2010-06-24 | s4-python: python is not always in /usr/bin | Andrew Tridgell | 1 | -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-24 | s4/ldb: ldb_msg_el_map_remote() should rename the remote attribute names ↵ | Endi S. Dewata | 1 | -1/+15 | |
into local names as defined in simple_ldap_map.c. | |||||
2010-06-23 | libds:common Remove DS_DC_* domain functionality flags | Andrew Bartlett | 1 | -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-22 | s4/dsdb-test: fix usage comment | Kamen Mazdrashki | 1 | -2/+2 | |
2010-06-20 | s4:ldap.py - test subtree deletes through a new testcase | Matthias Dieter Wallnöfer | 1 | -0/+48 | |
2010-06-20 | ldb:controls - add the "TREE_DELETE" control for allowing subtree deletes | Matthias Dieter Wallnöfer | 2 | -0/+34 | |
2010-06-20 | ldb:ldb.h - add classifications to the control declarations | Matthias Dieter Wallnöfer | 1 | -7/+13 | |
This makes it easier to understand which standard specifies which control. | |||||
2010-06-20 | ldb:pyldb.c - introduce a "mem_ctx" also on "py_ldb_search" | Matthias Dieter Wallnöfer | 1 | -12/+19 | |
To prevent memory leaks | |||||
2010-06-20 | ldb:pyldb.c - some cleanups and adequations also in "py_ldb_modify" and ↵ | Matthias Dieter Wallnöfer | 1 | -19/+28 | |
"py_ldb_rename" To make them consistent. | |||||
2010-06-20 | s4:ldb: only do ABI checking for the standalone build for now | Stefan Metzmacher | 1 | -12/+24 | |
Otherwise we fail to build samba4 with a system ldb. metze Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-20 | ldb: Add ABI file for use when including ildap in the build. | Jelmer Vernooij | 1 | -0/+224 | |
2010-06-20 | ldb: Change LDBSAMBA back to subsystem, update comments, use different | Jelmer Vernooij | 1 | -2/+7 | |
ABI file based on whether ldb_ildap is included. | |||||
2010-06-20 | Move a few more samdb-specific methods to SamDB, away from Ldb. | Jelmer Vernooij | 1 | -2/+2 | |
2010-06-20 | ldb: add a new control bypassioperationnal | Matthieu Patou | 3 | -0/+37 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-19 | python: Use samba.tests.TestCase, make sure base class tearDown and | Jelmer Vernooij | 6 | -21/+24 | |
setUp methods are called, fix formatting. | |||||
2010-06-19 | acl: Clean up formatting, use samba.tests.TestCase. | Jelmer Vernooij | 1 | -124/+128 | |
2010-06-19 | python/passwords: Clean up imports. | Jelmer Vernooij | 1 | -8/+7 | |
2010-06-19 | dsdb_schema_info: Clean up imports, avoid using rpc test case for | Jelmer Vernooij | 1 | -9/+2 | |
non-RPC tests. | |||||
2010-06-19 | s4:instancetype LDB module - "instanceType" is single-valued - MS-ADTS ↵ | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
3.1.1.5.2.2 | |||||
2010-06-19 | ldb:ldb_dn.c - don't support "ldb_dn_add_child" on a "" parent DN | Matthias Dieter Wallnöfer | 1 | -0/+7 | |
It's meaningless and could end in DNs as "cn=child,". | |||||
2010-06-19 | ldb:api.py - add a small test for the enhanced "py_ldb_delete" syntax | Matthias Dieter Wallnöfer | 1 | -0/+9 | |
2010-06-19 | ldb:python bindings - some small cleanup & improvements in "py_ldb_add" | Matthias Dieter Wallnöfer | 1 | -14/+13 | |
Also to make it similar to "py_ldb_delete". | |||||
2010-06-19 | ldb:python bindings - let also "py_ldb_delete" support controls | Matthias Dieter Wallnöfer | 1 | -6/+50 | |
2010-06-19 | wafsamba: Fix typo: noextenion -> noextension. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-18 | ldb: Remove dependency on self. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-18 | ldb: Don't build pyldb_util as python module but rather as subsystem, so as ↵ | Jelmer Vernooij | 1 | -2/+2 | |
to not delute /usr/lib. | |||||
2010-06-16 | s4:ldap.py - add another test about linked attributes | Matthias Dieter Wallnöfer | 1 | -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-15 | s4-waf: Fix build of libldb_ildap against system ldb. | Jelmer Vernooij | 1 | -1/+1 | |
2010-06-15 | wafsamba: Fix include path inheritance from module subsystems. | Jelmer Vernooij | 1 | -10/+0 | |
2010-06-15 | ldb: Bump version number, use same ABI version for Samba4 and non-Samba 4 ↵ | Jelmer Vernooij | 2 | -5/+221 | |
versions.s | |||||
2010-06-15 | ldb: Fix included ldb build. | Jelmer Vernooij | 2 | -1/+14 | |
2010-06-15 | ldb: Only build standard ldb modules when building bundled ldb. | Jelmer Vernooij | 1 | -72/+70 | |
2010-06-14 | s4:Descriptor tests clean-up. | Nadezhda Ivanova | 1 | -153/+67 | |
A bit of refactoring and modified the tests to use encrypted connection so that they pass against Windows unconditionally. | |||||
2010-06-13 | Support system talloc/tevent headers. | Jelmer Vernooij | 1 | -2/+2 | |