path: root/contrib/
diff options
authorSumit Bose <>2013-04-22 17:57:53 +0200
committerJakub Hrozek <>2013-05-03 20:06:29 +0200
commitc080a11e9e88f35e40aff4e476cabbd971833019 (patch)
tree21e09bfcf64d754ea5236c089e0dc0655f9f5041 /contrib/
parent2a9af1f71887f02935e2fb6ad5023afba5b6d43e (diff)
Add python interface to libsss_nss_idmap
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 <> kindly provided the code to check the type of the python objects and loop over the list entries.
Diffstat (limited to 'contrib/')
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/ b/contrib/
index d799ca21d..0ad83a481 100644
--- a/contrib/
+++ b/contrib/
@@ -249,6 +249,16 @@ Requires: libsss_nss_idmap = %{version}-%{release}
%description -n libsss_nss_idmap-devel
Utility library for SID based lookups
+%package -n libsss_nss_idmap-python
+Summary: Python bindings for libsss_nss_idmap
+Group: Development/Libraries
+License: LGPLv3+
+Requires: libsss_nss_idmap = %{version}-%{release}
+%description -n libsss_nss_idmap-python
+The libsss_nss_idmap-python contains the bindings so that libsss_nss_idmap can
+be used by Python applications.
%package -n libsss_sudo
Summary: A library to allow communication between SUDO and SSSD
Group: Development/Libraries
@@ -558,6 +568,10 @@ rm -rf $RPM_BUILD_ROOT
+%files -n libsss_nss_idmap-python
%package -n libsss_autofs
Summary: A library to allow communication between Autofs and SSSD
Group: Development/Libraries