summaryrefslogtreecommitdiff
path: root/lib/ldb/pyldb.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-11ldb:pyldb.c - py_ldb_* modification calls - error string shouldn't be set hereMatthias Dieter Wallnöfer1-17/+1
As discussed with Jelmer, we shouldn't be setting a generic LDB error string only for the Python bindings alone. This should be done in "ldb_request" and "ldb_wait" - the common place for all possible LDB access mechanisms. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-09-18pyldb: Drop unnecessary dependency on pytalloc-util.Jelmer Vernooij1-1/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Sep 18 17:23:40 CEST 2011 on sn-devel-104
2011-09-13ldb:pyldb.c - "py_ldb_rename" remove superflous "ldb" pointerMatthias Dieter Wallnöfer1-4/+2
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Sep 13 18:11:18 CEST 2011 on sn-devel-104
2011-09-11ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everythingMatthias Dieter Wallnöfer1-1/+4
Reviewed-by: Jelmer
2011-09-01pyldb: added OID_COMPARATOR constantsAndrew Tridgell1-9/+11
This also changes the other constants to remove the LDB_ prefix, which is redundent Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-25pyldb: fixed a warningAndrew Tridgell1-2/+2
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-19ldb - two cosmetic fixesMatthias Dieter Wallnöfer1-2/+2
@ldb.h: Removes an invalid comment line @pyldb.c: Fixes indentation
2011-08-08pyldb: fix uninitialized memory bug in PyArg_ParseTuple() argumentStefan Metzmacher1-1/+1
"s#", &str, &len) required 'len' as 'int' not as 'Py_ssize_t'. With Py_ssize_t the 2nd half of a 64bit Py_ssize_t, will be uninitialized as 'int' is only 32bit. metze
2011-08-07pyldb: Consistently use pyldb_ prefix.Jelmer Vernooij1-110/+118
2011-08-03pyldb: return a copy of key constant DNs via python interfaceAndrew Tridgell1-4/+21
this prevents an easy coding error where the caller modifies one of the key DNs for the database, by using an add_child function or similar Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-29pyldb: added binary_encode() and binary_decode() methodsAndrew Tridgell1-0/+53
this gives access to RFC2254 encoding from python Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-21pyldb: use dn.is_child_of() instead of dn.compare_base()Andrew Tridgell1-4/+4
the compare_base() C API doesn't really fit well in python, as it returns 0 for true. Better to have a boolean function for the python interface. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-07-21ldb-python: add a function to Dn object to compare the Dn with a base DNMatthieu Patou1-0/+17
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett1-0/+3302
Signed-off-by: Andrew Tridgell <tridge@samba.org>