summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/tests/python/api.py
AgeCommit message (Collapse)AuthorFilesLines
2009-09-26pythonbindings: allow add() to have an array of controls as second parameterMatthieu Patou1-0/+8
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-09-14pyldb: Don't segfault when invalid type is specified to Dn.get().Jelmer Vernooij1-0/+4
(#6722)
2009-08-26s4:ldb Add ldb_ldif_write_string() and python wrappersAndrew Bartlett1-1/+3
This allows us to turn a python LdbMessage back into a string. Andrew Bartlett
2009-08-26s4:ldb Add hooks to get/set the flags on a ldb_message_elementAndrew Bartlett1-5/+39
Also add tests to prove that we got this correct, and correct the existing tests which used the wrong constants. Andrew Bartlett
2009-08-24s4:ldb Add python binding and test for ldb_msg_diff()Andrew Bartlett1-0/+11
2009-08-03pyldb: Raise proper exception when attempting to assign a string to a dnJelmer Vernooij1-0/+6
attribute.
2009-06-17pyldb: Fix three more (minor) memory leaks.Jelmer Vernooij1-2/+2
2009-06-17pyldb/tests: Use different dn's everywhere, to easily spot which test isJelmer Vernooij1-49/+49
breaking in gdb.
2009-06-17pyldb: Support getting the parent of special DNs without segfaulting.Jelmer Vernooij1-0/+11
Found by: Андрей Григорьев <andrew@ei-grad.ru>
2009-03-20Adapt Zahari's test to the generic LDB Python tests.Jelmer Vernooij1-0/+13
2008-12-21Fix more introduced regressions in new bindings.Jelmer Vernooij1-33/+32
2008-12-20Fix all pyldb tests except for modules.Jelmer Vernooij1-6/+13
2008-12-19Fix more tests.Jelmer Vernooij1-1/+2
2008-12-19Remove swig support from standalone ldb build.Jelmer Vernooij1-1/+0
2008-09-20Don't expose ldb_request in the Python API but rather use regularJelmer Vernooij1-3/+8
parameters.
2008-09-19Add support for implementing LDB modules in Python.Jelmer Vernooij1-4/+27
2008-09-12Fix spellings and file namesSimo Sorce1-31/+31
(This used to be commit baddefd0a6fa430af1a3001064149127e0d29361)
2008-05-19Add __repr__ implementation for Ldb.Jelmer Vernooij1-0/+4
(This used to be commit 5607aea07f66f09fd5b33842d07d2fbbf44d13e7)
2008-05-19Add __repr__ implementations for ldb.Message, ldb.MessageElement and ldb.Dn.Jelmer Vernooij1-1/+37
(This used to be commit b9119c0f0f524d43ff09825dffb24a5e77a240f4)
2008-02-12Avoid using setup.py for intsallation.Jelmer Vernooij1-0/+3
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
2008-01-11ldb/python: Support comparing Dn's to strings.Jelmer Vernooij1-0/+4
(This used to be commit 355878907970b396e4031426fda260d981c417eb)
2008-01-11python/ldap: Support controls argument to ldb.search().Jelmer Vernooij1-9/+13
(This used to be commit 9eddc27f13fa2feb56d6b015e66d8c54081487da)
2008-01-11python/ldap: Wrap parse_control_strings().Jelmer Vernooij1-0/+5
(This used to be commit b27e5a68530c4fd6430cbb174b63f8ff2b6f4e53)
2008-01-11ldb/python: Allow comparing a MessageElement to a list or a singleton.Jelmer Vernooij1-0/+6
(This used to be commit 1ccbab81d79f83bb419104f2bbaf2ae7b368e90f)
2008-01-11ldb/python: Implement __len__ for MessageElement.Jelmer Vernooij1-0/+4
(This used to be commit a8f90ed34ce9341080b63c801ef54b82de42b8e6)
2008-01-11python/ldb: Add __getitem__ implementation for LdbMessageElement.Jelmer Vernooij1-0/+6
(This used to be commit e6498a0780dd31dfc623a69432004b606aeaccbe)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-0/+17
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-0/+8
(This used to be commit 485db76d8476fce399a9b6cb977cf55ea35ec189)
2007-12-21r26537: Support ldb.add({'dn': 'dc=foo,bar=bla', ...}).Jelmer Vernooij1-0/+10
(This used to be commit e91fe76d296973430f71502c9b614d0dfac4d83c)
2007-12-21r26480: Add utility class for testing LDB code.Jelmer Vernooij1-1/+4
(This used to be commit d7f0b12c9e43b93705f6b9fa6b5ab74fe68e80a0)
2007-12-21r26068: Import improved Python bindings for LDB, including tests.Jelmer Vernooij1-0/+353
(This used to be commit fc3a8caef749ddac56a4f035dde8b6ceeaa95c48)