diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-06-21 11:11:04 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-09-11 17:32:58 +0200 |
commit | e3213bb4d0d6b1492e41a3b79f2e211493410d8c (patch) | |
tree | a5ae2e63aa96b2b7facc2162fa48303198de3de6 /lib/ldb | |
parent | 86b1f45a5e763893a038bf854dfe735c86f3f30b (diff) | |
download | samba-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
Diffstat (limited to 'lib/ldb')
-rw-r--r-- | lib/ldb/pyldb.c | 5 |
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 |