summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb.i
AgeCommit message (Collapse)AuthorFilesLines
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)