summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOndrej Kos <okos@redhat.com>2013-07-26 13:07:07 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-07-29 12:01:52 +0200
commitfed544f8c960bf346679870843854bf43e83c453 (patch)
tree0fe15ae5f287688c0727ee0fdb67265a57ae0ae9
parentd910b4ebaa8e68bd24ad22b8f65aed7c6812aaf1 (diff)
downloadsssd_unused-fed544f8c960bf346679870843854bf43e83c453.tar.gz
sssd_unused-fed544f8c960bf346679870843854bf43e83c453.tar.xz
sssd_unused-fed544f8c960bf346679870843854bf43e83c453.zip
Clarify that getnamebysid currently works only with ipa/ad id_provider
https://fedorahosted.org/sssd/ticket/2035
-rw-r--r--src/python/pysss_nss_idmap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/python/pysss_nss_idmap.c b/src/python/pysss_nss_idmap.c
index c938ff7a..0870b0da 100644
--- a/src/python/pysss_nss_idmap.c
+++ b/src/python/pysss_nss_idmap.c
@@ -311,7 +311,9 @@ PyDoc_STRVAR(getnamebysid_doc,
\n\
Returns a dictionary with a dictonary of results for each given SID.\n\
The result dictonary contain the name and the type of the object which can be\n\
-accessed with the key constants NAME_KEY and TYPE_KEY, respectively."
+accessed with the key constants NAME_KEY and TYPE_KEY, respectively.\n\
+\n\
+NOTE: getnamebysid currently works only with id_provider set as \"ad\" or \"ipa\""
);
static PyObject * py_getnamebysid(PyObject *module, PyObject *args)