summaryrefslogtreecommitdiffstats
path: root/src/python/pysss_nss_idmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Clarify that getnamebysid currently works only with ipa/ad id_providerOndrej Kos2013-07-291-1/+3
| | | | https://fedorahosted.org/sssd/ticket/2035
* pysss_nss_idmap: do not treat strings as sequencesSumit Bose2013-05-231-1/+1
| | | | | | | | The current PySequence_Check() also catches single strings with the effect that the string is split into characters which are send as arguments to SSSD individually. With this patch only tuples and lists are treated as sequences.
* Add support for tuples and unicode pysss_nss_idmap.soSumit Bose2013-05-131-20/+39
| | | | | | | | | https://fedorahosted.org/sssd/ticket/1905 https://fedorahosted.org/sssd/ticket/1914 This patch allows tuples as well as lists as input and adds support for Unicode objects as input and always returns the results as Unicode objects.
* Fix missing initialization in Python bindings for libsss_nss_idmapSumit Bose2013-05-101-1/+1
| | | | | If sss_nss_getsidbyid() fails free() will try to work on an uninitialized value.
* Add python interface to libsss_nss_idmapSumit Bose2013-05-031-0/+351
To allow to use libsss_nss_idmap from python applications, e.g. the FreeIPA server, the patch adds pythin bindings to libsss_nss_idmap. The contributed spec file will place the python bindings in a new package called libsss_nss_idmap-python. Alexander Bokovoy <abokovoy@redhat.com> kindly provided the code to check the type of the python objects and loop over the list entries.