ldb:pyldb.c - point out that "PyLdbResult_AsResult" does not convert everything
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 21 Jun 2011 09:11:04 +0000 (11:11 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 11 Sep 2011 15:32:58 +0000 (17:32 +0200)
Reviewed-by: Jelmer
lib/ldb/pyldb.c

index 40efbb52cc35ccf40274acda07f8fa74fefe96df..79912964cb9cf5045ada0bc1940570760b3236c2 100644 (file)
@@ -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