summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-21 11:11:04 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-11 17:32:58 +0200
commite3213bb4d0d6b1492e41a3b79f2e211493410d8c (patch)
treea5ae2e63aa96b2b7facc2162fa48303198de3de6
parent86b1f45a5e763893a038bf854dfe735c86f3f30b (diff)
downloadsamba-e3213bb4d0d6b1492e41a3b79f2e211493410d8c.tar.gz
samba-e3213bb4d0d6b1492e41a3b79f2e211493410d8c.tar.bz2
samba-e3213bb4d0d6b1492e41a3b79f2e211493410d8c.zip
ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everything
Reviewed-by: Jelmer
-rw-r--r--lib/ldb/pyldb.c5
1 files changed, 4 insertions, 1 deletions
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