diff options
author | Sumit Bose <sbose@redhat.com> | 2013-02-27 13:38:57 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-03 20:06:29 +0200 |
commit | 2a9af1f71887f02935e2fb6ad5023afba5b6d43e (patch) | |
tree | a3040dcbaa5c999113caddf0858311d613775f20 /contrib | |
parent | 6eadbf9dab2ad9a9463dc23e91c9e2fc804c1e9b (diff) | |
download | sssd-2a9af1f71887f02935e2fb6ad5023afba5b6d43e.tar.gz sssd-2a9af1f71887f02935e2fb6ad5023afba5b6d43e.tar.bz2 sssd-2a9af1f71887f02935e2fb6ad5023afba5b6d43e.zip |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index eb21831f..d799ca21 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 |