summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb.i
AgeCommit message (Collapse)AuthorFilesLines
2008-10-16Transform the sequence_number operation into a normal extended operation as ↵Simo Sorce1-20/+0
it should always have been. Make it also async so that it is not a special case.
2008-09-30Remove ldb_module_wait implementation - ldb_module.wait() is gone.Jelmer Vernooij1-17/+0
2008-09-29LDB ASYNC: Core filesSimo Sorce1-3/+2
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-2/+1
The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
2008-09-20Don't expose ldb_request in the Python API but rather use regularJelmer Vernooij1-16/+55
parameters.
2008-09-19Add support for implementing LDB modules in Python.Jelmer Vernooij1-2/+356
2008-09-19Provide tdb.open and ldb.open python functions.Jelmer Vernooij1-0/+1
2008-06-16Change order of includes in swig file to avoid warnings.Jelmer Vernooij1-1/+1
(This used to be commit 0e1fccbd73eb0f219ea9662c56ee6da8a92f641a)
2008-06-16Add include in swig file as well.Jelmer Vernooij1-0/+1
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)
2008-06-15Fix ldb python bindings after events changes.Jelmer Vernooij1-1/+3
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)
2008-05-23Add proper implementation of MessageElement.__cmp__.Jelmer Vernooij1-3/+5
(This used to be commit 076e2cc356978ac313fcfdf8d8243f4ed1d629b0)
2008-05-23Use restructuredText formatting for docstrings.Jelmer Vernooij1-0/+4
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23Add module docstring, docstrings for constructors.Jelmer Vernooij1-2/+10
(This used to be commit 67d738d6e65476263a2b7c236a57fe2b0a2dfe32)
2008-05-23Add more docstrings in the ldb python module.Jelmer Vernooij1-1/+13
(This used to be commit a649a010670ee2c0d155aa62654841cf1f2bab8f)
2008-05-23Add some docstrings to ldb python module, fix MessageElement name.Jelmer Vernooij1-17/+76
(This used to be commit 717283331f8a1ebd80e7ec52d9bfe709f869ec86)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij1-0/+6
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij1-5/+45
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-04-11Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij1-0/+8
result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-03-26Clean up the ldb python bindings to be 64 bit safe.Andrew Bartlett1-8/+17
Thanks in particular to arkanes and KirkMcDonald on #python for their assistance, suggesting breaking the DN check. I eventually found it while trying to cut down on the number of gcc warnings, which is why we also add printf annotations. Andrew Bartlett (This used to be commit ba30e82d4efcba23c49622de43d3d6fc9c800e35)
2008-03-19More safety around ldb_dn C functions in python bindings.Andrew Bartlett1-2/+6
Ensure that the ldb python binding 'TypeError dn not set' errors are not in the SWIG wrapper's use of ldb functions, put some more error checks in. Andrew Bartlett (This used to be commit 8d4c831184cff8bca85daf6cc711b189b5cf3a47)
2008-03-11Make error handling in ldb more consistant.Andrew Bartlett1-1/+4
This change ensures we give an immidiate error if the DN won't parse. Also clean up strcmp use to be more standard. Andrew Bartlett (This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
2008-03-04Try to return sane ldb error stringsAndrew Bartlett1-1/+10
We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
2008-03-01Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij1-2/+2
bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
2008-03-01Fix error handling in ldb.add().Jelmer Vernooij1-47/+37
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
2008-01-25ldb/python: Add bindings for schema functions.Jelmer Vernooij1-11/+77
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
2008-01-11ldb/python: Support comparing Dn's to strings.Jelmer Vernooij1-0/+8
(This used to be commit 355878907970b396e4031426fda260d981c417eb)
2008-01-11python/ldap: Support controls argument to ldb.search().Jelmer Vernooij1-3/+49
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
2008-01-11python/ldap: Wrap parse_control_strings().Jelmer Vernooij1-2/+25
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
2008-01-11ldb/python: Allow comparing a MessageElement to a list or a singleton.Jelmer Vernooij1-5/+8
(This used to be commit 1ccbab81d79f83bb419104f2bbaf2ae7b368e90f)
2008-01-11ldb/python: Implement __len__ for MessageElement.Jelmer Vernooij1-0/+5
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)
2008-01-11python/ldb: Add __getitem__ implementation for LdbMessageElement.Jelmer Vernooij1-0/+17
(This used to be commit e6498a0780dd31dfc623a69432004b606aeaccbe)
2008-01-01r26641: ldb(Python): Remove some unnecessary {}'s.Jelmer Vernooij1-10/+9
(This used to be commit f250bc18e9e32d62d262901cec65586a15cd8db1)
2007-12-30r26631: ldb/python: Fix missing elements bug and memory leak. * Don't ↵Jelmer Vernooij1-8/+13
increase the PyDict_Next() counter - Python already does that for us. * Fix a talloc(NULL, ...) memory leak in the code that constructed ldb message elements. (This used to be commit dc2a612927289da78017abf4ad51a4d51292e3a1)
2007-12-26r26584: Fix exception handling in ldb constructor.Jelmer Vernooij1-19/+8
(This used to be commit 5383cf8e69233b3cb7c1876f52644537e459dea6)
2007-12-24r26572: Fix warnings in the Python code.Jelmer Vernooij1-15/+15
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-8/+35
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-24r26567: Allow registering new ldb modules from python.Jelmer Vernooij1-7/+19
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)
2007-12-21r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).Jelmer Vernooij1-35/+52
(This used to be commit e91fe76d296973430f71502c9b614d0dfac4d83c)
2007-12-21r26496: Move some provision functions to a new SamDB class, support setting ↵Jelmer Vernooij1-2/+2
session_info on a ldb context from python. (This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)
2007-12-21r26475: Add ldb.set_credentials function.Jelmer Vernooij1-1/+1
(This used to be commit dbebb4ef477d2c8de7b8d1e5cde9b9dada47044f)
2007-12-21r26187: Fix module name, indentation.Jelmer Vernooij1-1/+1
(This used to be commit ef790ebf3a712dbbb85d6af65c804199c2c084fc)
2007-12-21r26119: Fix warnings.Jelmer Vernooij1-2/+2
(This used to be commit 38a6522e44938ae05356916182d6c3bb1b6e881b)
2007-12-21r26112: Do proper error checking in __contains__.Jelmer Vernooij1-18/+8
(This used to be commit b67cc409fa5aa931b0847b7d3bdd2edf72daf88d)
2007-12-21r26088: Import some native-python python modules and move original python ↵Jelmer Vernooij1-3/+2
swig torture code to common python directory as well. (This used to be commit cbf656ff054ab2b0b5ca81e1d4f16ac54c8098f1)
2007-12-21r26080: Import updated LDB bindings.Jelmer Vernooij1-133/+460
(This used to be commit 19342e66a7279805daf9f810b9dc808247110a8a)
2007-12-21r26068: Import improved Python bindings for LDB, including tests.Jelmer Vernooij1-0/+241
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)