summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_wrap.c
AgeCommit message (Collapse)AuthorFilesLines
2008-12-19Initial work using manual Python bindings for LDB, rather than ↵Jelmer Vernooij1-7529/+0
SWIG-generated ones.
2008-12-16Add new script for building IDL files in librpc/idl, generating bothJelmer Vernooij1-1/+1
Samba 3 and Samba 4 output.
2008-12-03Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell1-1/+0
2008-11-11Regenerate SWIG output.Jelmer Vernooij1-1/+0
2008-11-06fixed options argument to ldb connect in pythonAndrew Tridgell1-9/+15
The options argument to ldb connect() needs to be marked for the same special handling as attrs in search
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-29LDB ASYNC: ldb misc changesSimo Sorce1-20/+2
2008-09-24Use new binary name in merged build.Jelmer Vernooij1-2/+1
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-2/+2
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-65/+155
parameters.
2008-09-19Add support for implementing LDB modules in Python.Jelmer Vernooij1-18/+904
2008-08-30Add a setexpiry operation in samdb.pyAndrew Tridgell1-67/+68
This makes it easy to set the expiry (or no expiry) for a samdb user (This used to be commit 25171f18a4b242b5a731f4ac1eefc51cc82efd74)
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-1/+1
(This used to be commit c623313189728dd0553384e2e115cf10db4c7f25)
2008-06-16Fix ldb_wrap.cSimo Sorce1-0/+1
(This used to be commit fd9f7c56752a06433cc26fa61a16d87941cbb2d3)
2008-06-15Fix ldb python bindings after events changes.Jelmer Vernooij1-2/+3
(This used to be commit dd1f24d0c6dfb19ba08282b91998f6881782c4fb)
2008-06-14Make up the right dependencies now that ldb depends on libeventsSimo Sorce1-1/+2
(This used to be commit 3b8eec7ca334528cad3cdcd5e3fc5ee555d8d0e0)
2008-05-23Add proper implementation of MessageElement.__cmp__.Jelmer Vernooij1-7/+10
(This used to be commit 076e2cc356978ac313fcfdf8d8243f4ed1d629b0)
2008-05-23Add module docstring, docstrings for constructors.Jelmer Vernooij1-5/+18
(This used to be commit 67d738d6e65476263a2b7c236a57fe2b0a2dfe32)
2008-05-23Add more docstrings in the ldb python module.Jelmer Vernooij1-4/+10
(This used to be commit a649a010670ee2c0d155aa62654841cf1f2bab8f)
2008-05-23Add some docstrings to ldb python module, fix MessageElement name.Jelmer Vernooij1-111/+181
(This used to be commit 717283331f8a1ebd80e7ec52d9bfe709f869ec86)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij1-0/+32
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij1-9/+45
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-04-11Return SAM ldb context and loadparm context as part of C provisionJelmer Vernooij1-32/+75
result. (This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-03-26Clean up the ldb python bindings to be 64 bit safe.Andrew Bartlett1-27/+38
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-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
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-114/+44
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
2008-01-25ldb/python: Add bindings for schema functions.Jelmer Vernooij1-22/+311
(This used to be commit 9f6ea4692ca79c607538871c597698b98abf13d0)
2008-01-11python/ldap: Support controls argument to ldb.search().Jelmer Vernooij1-42/+91
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
2008-01-11python/ldap: Wrap parse_control_strings().Jelmer Vernooij1-23/+83
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
2008-01-11ldb/python: Implement __len__ for MessageElement.Jelmer Vernooij1-0/+27
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)
2008-01-11python/ldb: Add __getitem__ implementation for LdbMessageElement.Jelmer Vernooij1-0/+43
(This used to be commit e6498a0780dd31dfc623a69432004b606aeaccbe)
2008-01-01r26641: ldb(Python): Remove some unnecessary {}'s.Jelmer Vernooij1-38/+21
(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-60/+5
(This used to be commit 5383cf8e69233b3cb7c1876f52644537e459dea6)
2007-12-24r26572: Fix warnings in the Python code.Jelmer Vernooij1-29/+29
(This used to be commit 15038d9586d0b58f301ca8c39c21ef10c4283f28)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-315/+203
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-14/+50
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)
2007-12-21r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).Jelmer Vernooij1-161/+135
(This used to be commit e91fe76d296973430f71502c9b614d0dfac4d83c)
2007-12-21r26496: Move some provision functions to a new SamDB class, support setting ↵Jelmer Vernooij1-100/+105
session_info on a ldb context from python. (This used to be commit 75cfb0d609687538048a7d72a499a5205af46a34)
2007-12-21r26399: Use -O option for SWIG (less evil generated code).Jelmer Vernooij1-172/+193
(This used to be commit 3378b6a559272cb702b52966692bf423f67a2b41)
2007-12-21r26248: Check in SWIG output so SWIG is not required when running out of svn.Jelmer Vernooij1-0/+6113
(This used to be commit 08501fbef38f81ce5ff4885a1696f9cb392fd631)