Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-07-19 | s4-pyldb: Use ldb_msg_difference() in py_ldb_msg_diff() | Kamen Mazdrashki | 1 | -2/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-tools: use ldb_msg_difference() in ldbedit - modify_record() | Kamen Mazdrashki | 1 | -6/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-19 | s4-ldb: Implement ldb_msg_difference() function to accept a memory context ↵ | Kamen Mazdrashki | 2 | -23/+92 | |
from client Old implementation from ldb_msg_diff() was moved into this this function but with changed interface so that a memory context may be passed. ldb_msg_diff() function is now based on ldb_msg_difference(), which fixes a hidden leak - internal ldb_msg object (returned from ldb_msg_canonicalize) wasn't freed and stays attached to ldb_context for the connection lifetime. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-16 | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 14 | -50/+50 | |
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-15 | s4:pyldb whitespace fix | Andrew Bartlett | 1 | -1/+1 | |
2010-07-15 | s4:pyldb Fix memory handling for ldb_message_element | Andrew Bartlett | 1 | -5/+10 | |
The problem here is that we need to use the array, not the individual message element as the memory context. Andrew Bartlett | |||||
2010-07-15 | ldb: allow ldb_sequence_number to be called in python | Matthieu Patou | 1 | -0/+26 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-07-09 | ldb:common/ldb_dn.c - "ldb_dn_get_parent" - no need to manipulate the real DN | Matthias Dieter Wallnöfer | 1 | -6/+0 | |
Since the parent DN is a duplication of the passed DN parameter. | |||||
2010-07-09 | s4: fix warning: unused variable ‘i’ | Kamen Mazdrashki | 1 | -1/+0 | |
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-07-01 | s4:lib/registry/ldb.c - free some "msg" objects earlier through explicit ↵ | Matthias Dieter Wallnöfer | 1 | -1/+10 | |
"talloc_free"s No other functional change | |||||
2010-07-01 | s4:registry - move some common constraint checks to the "local" backend | Matthias Dieter Wallnöfer | 2 | -24/+24 | |
They should also be enforced when we don't use "ldb". | |||||
2010-07-01 | s4:lib/registry/tests/registry.c - test recursive key generation | Matthias Dieter Wallnöfer | 1 | -8/+3 | |
2010-07-01 | s4:registry - on key add operations we have to handle with paths not always ↵ | Matthias Dieter Wallnöfer | 3 | -5/+5 | |
only a name Recursive key generations are allowed. | |||||
2010-07-01 | s4:lib/registry/local.c - support recursive key generation | Matthias Dieter Wallnöfer | 1 | -40/+53 | |
Code taken from "local_open_key". | |||||
2010-07-01 | s4:lib/registry/ldb.c - refactor "reg_path_to_ldb" | Matthias Dieter Wallnöfer | 1 | -19/+21 | |
This makes it easier to understand and would also support splitting in more DN components. | |||||
2010-07-01 | s4:lib/registry/ldb.c - use "ldb_path" rather than "ldap_path" as LDB key ↵ | Matthias Dieter Wallnöfer | 1 | -14/+14 | |
varibale identifiers | |||||
2010-07-01 | s4:lib/registry/ldb.c - "ldb_add_key" - fix talloc handling | Matthias Dieter Wallnöfer | 1 | -8/+14 | |
- free "msg" when possible - prevent "talloc_strdup"s where not necessary | |||||
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-29 | s4:secrets Ensure secrets.ldb uses the same hooks as the rest of Samba | Andrew Bartlett | 1 | -6/+10 | |
This ensures that, for example, the utf8 functions are the same, the GUID handler is the same and the NOSYNC flag is applied. Andrew Bartlett | |||||
2010-06-28 | s4:lib/registry/ldb.c - add a missing brace | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
Sorry didn't check that earlier. | |||||
2010-06-28 | s4:lib/registry/ldb.c - fix memory handling in "ldb_open_key" | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
2010-06-28 | s4:lib/ldb/registry.c - handle the classname in the right way | Matthias Dieter Wallnöfer | 1 | -1/+8 | |
This is for "ldb_get_key_info". | |||||
2010-06-28 | s4:lib/registry/ldb.c - remove really useless "local_ctx" | Matthias Dieter Wallnöfer | 1 | -8/+2 | |
"mem_ctx" should fit for these few local allocations. | |||||
2010-06-28 | s4:lib/registry/ldb.c - retrieve the classname correctly in ↵ | Matthias Dieter Wallnöfer | 1 | -7/+6 | |
"ldb_get_subkey_by_id" | |||||
2010-06-28 | s4:lib/registry/ldb.c - change the "ldb_get_value" implementation to use the ↵ | Matthias Dieter Wallnöfer | 1 | -20/+17 | |
value cache and not an LDB lookup In addition this fixes the use of special characters in registry object names. | |||||
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-25 | s4:lib/registry/ldb.c - cosmetic - fix comment | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-06-25 | s4:lib/registry/ldb.c - cosmetic - wrap lines | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
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 | 2 | -2/+2 | |
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-21 | smbtorture: Add history support to shell mode. | James Peach | 1 | -0/+5 | |
2010-06-20 | s4:registry/regf.c - add some casts to suppress build warnings on Solaris | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-06-20 | s4:registry/rpc.c - fix Solaris warnings by casts | Matthias Dieter Wallnöfer | 1 | -4/+4 | |
2010-06-20 | s4:libpolicy - fix printf output specifiers to suppress warning | Matthias Dieter Wallnöfer | 1 | -1/+1 | |