From 2a9af1f71887f02935e2fb6ad5023afba5b6d43e Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Wed, 27 Feb 2013 13:38:57 +0100 Subject: Add client library for SID related lookups This patch add a library for client side lookups for a SID or with a SID through the calls: - sss_nss_getsidbyname - sss_nss_getsidbyid - sss_nss_getnamebysid - sss_nss_getidbysid The library is called libsss_nss_idmap and the contributed spec file will create two new packages libsss_nss_idmap and libsss_nss_idmap-devel. --- contrib/sssd.spec.in | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'contrib/sssd.spec.in') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index eb21831fb..d799ca21d 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -230,6 +230,25 @@ Requires: libipa_hbac = %{version}-%{release} The libipa_hbac-python contains the bindings so that libipa_hbac can be used by Python applications. +%package -n libsss_nss_idmap +Summary: Library for SID based lookups +Group: Development/Libraries +License: LGPLv3+ +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig + +%description -n libsss_nss_idmap +Utility library for SID based lookups + +%package -n libsss_nss_idmap-devel +Summary: Library for SID based lookups +Group: Development/Libraries +License: LGPLv3+ +Requires: libsss_nss_idmap = %{version}-%{release} + +%description -n libsss_nss_idmap-devel +Utility library for SID based lookups + %package -n libsss_sudo Summary: A library to allow communication between SUDO and SSSD Group: Development/Libraries @@ -522,6 +541,23 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libipa_hbac.so %{_libdir}/pkgconfig/ipa_hbac.pc +%files -n libsss_nss_idmap +%defattr(-,root,root,-) +%doc src/sss_client/COPYING src/sss_client/COPYING.LESSER +%{_libdir}/libsss_nss_idmap.so.* + +%files -n libsss_nss_idmap-devel +%defattr(-,root,root,-) +%if 0%{?fedora} +%doc nss_idmap_doc/html +%endif +%if 0%{?rhel} >= 6 +%doc nss_idmap_doc/html +%endif +%{_includedir}/sss_nss_idmap.h +%{_libdir}/libsss_nss_idmap.so +%{_libdir}/pkgconfig/sss_nss_idmap.pc + %package -n libsss_autofs Summary: A library to allow communication between Autofs and SSSD Group: Development/Libraries -- cgit