From e3213bb4d0d6b1492e41a3b79f2e211493410d8c Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 21 Jun 2011 11:11:04 +0200 Subject: ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everything Reviewed-by: Jelmer --- lib/ldb/pyldb.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 40efbb52cc..79912964cb 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -325,9 +325,12 @@ static PyObject *PyLdbResult_FromResult(struct ldb_result *result) } /** - * Create a LDB Result from a Python object. + * Create a LDB Result from a Python object. * If conversion fails, NULL will be returned and a Python exception set. * + * Note: the result object only includes the messages at the moment; extended + * result, controls and referrals are ignored. + * * @param mem_ctx Memory context in which to allocate the LDB Result * @param obj Python object to convert * @return a ldb_result, or NULL if the conversion failed -- cgit