Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2009-08-24 | s4:ldb Add python binding and test for ldb_msg_diff() | Andrew Bartlett | 1 | -0/+32 | |
2009-08-21 | s4:ldb Python requires that a 'compare' handler return -1, 0 or 1 | Andrew Bartlett | 1 | -1/+5 | |
2009-08-17 | s4:ldb python bindings: Handle the parameters of the connect call in the ↵ | Matthias Dieter Wallnöfer | 1 | -2/+8 | |
right way | |||||
2009-08-05 | pyldb: Fix reference counting on ldb_message_elements, add extra type | Jelmer Vernooij | 1 | -1/+9 | |
check. | |||||
2009-08-05 | s4:ldb initialise e->values[i].length before use in python bindings | Andrew Bartlett | 1 | -1/+1 | |
2009-08-04 | pyldb: Properly keep copies of Python string contents, rather than | Jelmer Vernooij | 1 | -9/+21 | |
relying on reference leaks :-) | |||||
2009-08-03 | pyldb: Raise proper exception when attempting to assign a string to a dn | Jelmer Vernooij | 1 | -5/+18 | |
attribute. | |||||
2009-07-18 | Remove pyldb_util and simply duplicate the 5-line function it contains, | Jelmer Vernooij | 1 | -0/+10 | |
rather than creating a separate shared library for it. | |||||
2009-07-06 | s4:ldb Rework use of talloc and ldif objects in python wrapper | Andrew Bartlett | 1 | -3/+18 | |
The talloc hirarchy here was a bit odd - we would both steal the parsed ldif onto 'NULL', then reference it onto a python talloc wrapper. Now we just leave the reference, after we complete building the object. Andrew Bartlett | |||||
2009-06-17 | pyldb: Fix three more (minor) memory leaks. | Jelmer Vernooij | 1 | -12/+40 | |
2009-06-17 | pyldb: Fix memory leak in Dn.get_parent(). | Jelmer Vernooij | 1 | -2/+16 | |
2009-06-17 | pyldb: Fix memory leak in Dn.concat. | Jelmer Vernooij | 1 | -3/+12 | |
2009-06-17 | pyldb: Fix another memory leak and reference counting error. | Jelmer Vernooij | 1 | -12/+24 | |
2009-06-17 | pyldb: Fix memory leak of LdbMessage's created from Python. | Jelmer Vernooij | 1 | -3/+7 | |
2009-06-17 | pyldb: Fix two memory leaks of attribute lists. | Jelmer Vernooij | 1 | -3/+20 | |
2009-06-17 | pyldb: Fix segfault, freeing memory too early in search. | Jelmer Vernooij | 1 | -4/+14 | |
2009-06-17 | pyldb: Support getting the parent of special DNs without segfaulting. | Jelmer Vernooij | 1 | -1/+9 | |
Found by: Андрей Григорьев <andrew@ei-grad.ru> | |||||
2009-06-06 | Fix some nonempty blank lines | Volker Lendecke | 1 | -23/+23 | |
2009-06-02 | Fix more unresolved symbols. | Jelmer Vernooij | 1 | -35/+29 | |
2009-03-21 | pyldb: Let conversion to LDIF up to the user of the API rather than doing | Jelmer Vernooij | 1 | -12/+1 | |
it implicitly. | |||||
2009-03-21 | Remove unnecessary duplication of string in memory. | Jelmer Vernooij | 1 | -5/+16 | |
2009-03-20 | Setting nTSecurityDescriptor via LDAP fails | zahari | 1 | -2/+4 | |
Fix for the problem was substitute talloc_strndup() with talloc_memdup(), allocate 1 more character and put null character ('\0') in the extra place so data copied is null terminated. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-03-20 | Add more comments. | Jelmer Vernooij | 1 | -6/+25 | |
2009-03-20 | pyldb: Improve exception message when a list is expected. | Jelmer Vernooij | 1 | -8/+9 | |
2009-02-05 | s4:pyldb: fix compiler warnings | Stefan Metzmacher | 1 | -52/+85 | |
metze | |||||
2009-01-30 | s4:lib/ldb: include replace.h in pyldb.c | Stefan Metzmacher | 1 | -0/+1 | |
This fixes the build on Tru64. metze | |||||
2009-01-30 | Fix the mess with ldb includes. | Simo Sorce | 1 | -1/+1 | |
Separate again the public from the private headers. Add a new header specific for modules. Also add service function for modules as now ldb_context and ldb_module are opaque structures for them. | |||||
2009-01-21 | s4:ldb: remove dependency to samba4's events wrapper | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -0/+1 | |
2009-01-07 | Raise a python exception when the ldb search fails | Andrew Bartlett | 1 | -0/+6 | |
This fixes a regression found by ldap.py in the new hand-written python bindings. Andrew Bartlett | |||||
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -36/+36 | |
2009-01-05 | Initialise 'flags' in new python ldb binding for ldb_connect | Andrew Bartlett | 1 | -1/+1 | |