Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-11-18 | s4-pyldb: ldb.Message.from_dict class method to create LdbMessage object ↵ | Kamen Mazdrashki | 1 | -0/+44 | |
from dictionary | |||||
2010-11-18 | s4-pyldb: Move code to create a ldb_message from a Python Dictionary object ↵ | Kamen Mazdrashki | 1 | -46/+73 | |
into a separate function | |||||
2010-11-18 | s4-pyldb: Few miss-alignments aligned | Kamen Mazdrashki | 1 | -9/+8 | |
2010-11-18 | s4-pyldb: Fix wrong type of 'self' parameter | Kamen Mazdrashki | 1 | -1/+1 | |
2010-11-10 | s4-pyldb: Handle internal errors in py_ldb_contains() properly | Kamen Mazdrashki | 1 | -4/+9 | |
It is an exceptional condition for ldb_search() to return more than one results during SCOPE_BASE search on DN Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Wed Nov 10 09:02:00 UTC 2010 on sn-devel-104 | |||||
2010-11-08 | s4:pyldb.c - fix "py_ldb_contains" according to the comment by Jelmer | Matthias Dieter Wallnöfer | 1 | -4/+2 | |
2010-11-08 | ldb:pyldb.c - "py_ldb_msg_element_get" - here we can safely use "unsigned ↵ | Matthias Dieter Wallnöfer | 1 | -3/+3 | |
int" for the element reference We don't make use of "Py_List*" calls Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Nov 8 11:21:27 UTC 2010 on sn-devel-104 | |||||
2010-11-08 | ldb:pyldb.c - "py_ldb_contains" - return only "0" not found, "1" found, "-1" ↵ | Matthias Dieter Wallnöfer | 1 | -3/+10 | |
error | |||||
2010-11-08 | ldb:pyldb.c - most of the times "time_t" is defined as "long int" | Matthias Dieter Wallnöfer | 1 | -5/+5 | |
Therefore use a signed long int for conversions. http://stackoverflow.com/questions/471248/what-is-ultimately-a-time-t-typedef-to | |||||
2010-11-08 | ldb:pyldb.c - fix some "Py_ssize_t" output warnings | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
2010-11-08 | ldb:pyldb.c - use "Py_ssize_t" for counting list entries | Matthias Dieter Wallnöfer | 1 | -12/+11 | |
This seems to be the most appopriate type | |||||
2010-11-08 | ldb:pyldb.c - fix indentation | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
2010-10-16 | ldb:pyldb.c - remove pointless comment | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 16 14:38:58 UTC 2010 on sn-devel-104 | |||||
2010-10-05 | Add missing dependencies for com_err. | Jelmer Vernooij | 1 | -0/+2 | |
2010-10-04 | pyldb: test return code before trying to talloc_steal | Matthieu Patou | 1 | -2/+2 | |
Otherwise you can have an error on the talloc_steal as the req can have been not talloced yet | |||||
2010-09-09 | pyldb: expose PyLdbDn_FromDn() | Andrew Tridgell | 1 | -18/+0 | |
This is needed by the dsdb python interface Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-09-05 | python-ldb: allow ldb_rename to take optional control(s) | Matthieu Patou | 1 | -4/+50 | |
2010-08-22 | pyldb: do type checking on the list form of ldb add | Andrew Tridgell | 1 | -0/+6 | |
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
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-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-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-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-07 | ldb:pyldb.c - we cannot use "ldb_dn_compare" if both message DNs are NULL in ↵ | Matthias Dieter Wallnöfer | 1 | -3/+5 | |
"py_ldb_msg_compare" Discovered by the testcase. | |||||
2010-06-07 | s4:ldb python bindings - implement comparison on Python LDB Message objects | Matthieu Patou | 1 | -2/+38 | |
Coauthors: Jelmer Vernooij, Matthias Dieter Wallnöfer | |||||
2010-05-31 | pyldb: Remove duplicate copy of function. | Jelmer Vernooij | 1 | -28/+0 | |
2010-04-08 | s4-python: Fix formatting, import of FLG_NOSYNC. | Jelmer Vernooij | 1 | -5/+4 | |
2010-04-07 | LDB:python bindings - also empty LDB message elements should have a python ↵ | Matthias Dieter Wallnöfer | 1 | -3/+6 | |
representation Bug found by ekacnet (see technical mailing list). | |||||
2010-04-06 | Add C-based Samba-specific subclass of Ldb. | Jelmer Vernooij | 1 | -6/+6 | |
2010-02-12 | s4-pyldb: null terminate string ldb message elements from python | Andrew Tridgell | 1 | -4/+4 | |
We need to eventually get rid of ldb_msg_find_attr_as_string() (or add a mem_ctx to it), but meanwhile we have too many places that break if we don't add a nul to the end of ldb msg strings from python. | |||||
2009-12-21 | provision/pyldb: Avoid linking in static python ldb module. | Jelmer Vernooij | 1 | -1/+3 | |
2009-11-27 | s4:ldb Provide bindings for ldb_transaction_prepare_commit() | Andrew Bartlett | 1 | -0/+9 | |
2009-11-20 | Some changes to allow processing of ldap controls on modify requests. | Nadezhda Ivanova | 1 | -2/+59 | |
ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls. | |||||
2009-11-15 | ldb:python bindings - add a context on "py_ldb_delete" | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
So the converted DN will be freed after usage. | |||||
2009-10-27 | ldb:python bindings - make the intention by Jelmer ("int" vs. "enum") more clear | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
2009-10-27 | Revert "ldb python bindungs - better use the "enum ldb_scope" for the search ↵ | Matthias Dieter Wallnöfer | 1 | -3/+2 | |
scope rather than "int"" This reverts commit 4f8826ff7f4789c5b5f363b733a42053f72aa526. Jelmer pointed out that the "enum"s don't work so well in combination with python. | |||||
2009-10-23 | ldb python bindungs - better use the "enum ldb_scope" for the search scope ↵ | Matthias Dieter Wallnöfer | 1 | -2/+3 | |
rather than "int" | |||||
2009-10-23 | s4-python: we need to include Python.h first | Andrew Tridgell | 1 | -1/+1 | |
If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | |||||
2009-10-19 | s4-pyldb: fixed 64 bit issues | Andrew Tridgell | 1 | -2/+4 | |
The python argument parse functions take standard C types, not enums and time_t. This broken the python interface on PPC. | |||||
2009-10-02 | pythonbindings: allow add() to have an array of controls as second parameter | Matthieu Patou | 1 | -0/+1 | |
2009-10-01 | s4:pyldb - Wrong error type (found only after the push) | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-10-01 | s4:ldb_msg_diff - Fixes up possible memory leaks and the python binding of it | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
2009-09-30 | s4:pyldb - Fixed the return value in "py_ldb_msg_diff" | Matthias Dieter Wallnöfer | 1 | -2/+0 | |
The case distinction shouldn't be needed also when "diff" is NULL. "PyLdbMessage_FromMessage" works with "NULL" arguments. | |||||
2009-09-26 | pythonbindings: allow add() to have an array of controls as second parameter | Matthieu Patou | 1 | -4/+59 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-09-14 | pyldb: Don't segfault when invalid type is specified to Dn.get(). | Jelmer Vernooij | 1 | -2/+10 | |
(#6722) | |||||
2009-08-26 | s4:ldb Add ldb_ldif_write_string() and python wrappers | Andrew Bartlett | 1 | -0/+38 | |
This allows us to turn a python LdbMessage back into a string. Andrew Bartlett | |||||
2009-08-26 | s4:ldb Add hooks to get/set the flags on a ldb_message_element | Andrew Bartlett | 1 | -0/+26 | |
Also add tests to prove that we got this correct, and correct the existing tests which used the wrong constants. Andrew Bartlett |