summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/pyldb.c
AgeCommit message (Collapse)AuthorFilesLines
2009-07-18Remove pyldb_util and simply duplicate the 5-line function it contains,Jelmer Vernooij1-0/+10
rather than creating a separate shared library for it.
2009-07-06s4:ldb Rework use of talloc and ldif objects in python wrapperAndrew Bartlett1-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-17pyldb: Fix three more (minor) memory leaks.Jelmer Vernooij1-12/+40
2009-06-17pyldb: Fix memory leak in Dn.get_parent().Jelmer Vernooij1-2/+16
2009-06-17pyldb: Fix memory leak in Dn.concat.Jelmer Vernooij1-3/+12
2009-06-17pyldb: Fix another memory leak and reference counting error.Jelmer Vernooij1-12/+24
2009-06-17pyldb: Fix memory leak of LdbMessage's created from Python.Jelmer Vernooij1-3/+7
2009-06-17pyldb: Fix two memory leaks of attribute lists.Jelmer Vernooij1-3/+20
2009-06-17pyldb: Fix segfault, freeing memory too early in search.Jelmer Vernooij1-4/+14
2009-06-17pyldb: Support getting the parent of special DNs without segfaulting.Jelmer Vernooij1-1/+9
Found by: Андрей Григорьев <andrew@ei-grad.ru>
2009-06-06Fix some nonempty blank linesVolker Lendecke1-23/+23
2009-06-02Fix more unresolved symbols.Jelmer Vernooij1-35/+29
2009-03-21pyldb: Let conversion to LDIF up to the user of the API rather than doingJelmer Vernooij1-12/+1
it implicitly.
2009-03-21Remove unnecessary duplication of string in memory.Jelmer Vernooij1-5/+16
2009-03-20Setting nTSecurityDescriptor via LDAP failszahari1-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-20Add more comments.Jelmer Vernooij1-6/+25
2009-03-20pyldb: Improve exception message when a list is expected.Jelmer Vernooij1-8/+9
2009-02-05s4:pyldb: fix compiler warningsStefan Metzmacher1-52/+85
metze
2009-01-30s4:lib/ldb: include replace.h in pyldb.cStefan Metzmacher1-0/+1
This fixes the build on Tru64. metze
2009-01-30Fix the mess with ldb includes.Simo Sorce1-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-21s4:ldb: remove dependency to samba4's events wrapperStefan Metzmacher1-1/+1
metze
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-0/+1
2009-01-07Raise a python exception when the ldb search failsAndrew Bartlett1-0/+6
This fixes a regression found by ldap.py in the new hand-written python bindings. Andrew Bartlett
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-36/+36
2009-01-05Initialise 'flags' in new python ldb binding for ldb_connectAndrew Bartlett1-1/+1
2008-12-23Fix silly typo.Jelmer Vernooij1-1/+1
2008-12-23pyldb: Provide replacement for sizeargfunc, not available before Python2.5.Jelmer Vernooij1-0/+1
2008-12-23python: Define Py_ssize_t if the Python library doesn't.Jelmer Vernooij1-0/+6
2008-12-23pyldb: Fix segfault because of incorrect reference counting.Jelmer Vernooij1-7/+20
2008-12-23pyldb: Avoid use of pytalloc, as it may not be available.Jelmer Vernooij1-59/+175
2008-12-23ldb: Include tevent.h rather than events.h.Jelmer Vernooij1-1/+1
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-5/+16
2008-12-21Remove remaining fragments of SWIG code in pyldb.Jelmer Vernooij1-91/+0
2008-12-21Fix more introduced regressions in new bindings.Jelmer Vernooij1-47/+77
2008-12-21py: Fix initialisation of subtypes, fix segfaults.Jelmer Vernooij1-2/+6
2008-12-20Support subtypes of ldb.Ldb.Jelmer Vernooij1-12/+67
2008-12-20Fix all pyldb tests except for modules.Jelmer Vernooij1-309/+355
2008-12-19Fix more tests.Jelmer Vernooij1-100/+271
2008-12-19Port over more functionality to new SWIGless Python module.Jelmer Vernooij1-290/+337
2008-12-19Initial work using manual Python bindings for LDB, rather than ↵Jelmer Vernooij1-0/+1721
SWIG-generated ones.