From f7c56b42739ccf2bbd9d9a40fa153d164fea8564 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 4 Jul 2016 18:12:31 +0200 Subject: [PATCH] SPEC: Move nfsidmap plugin to separate package Resolves: https://fedorahosted.org/sssd/ticket/3024 --- contrib/sssd.spec.in | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index b8a9efc07e2cb9325b5d445d546ec145391b95c2..0e09b6445d11c141b27592b79b3284e389efc0bf 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -595,6 +595,16 @@ License: GPLv3+ and LGPLv3+ The idmap_sss module provides a way for Winbind to call SSSD to map UIDs/GIDs and SIDs. +%package nfs-idmap +Summary: SSSSD plug-in for NFSv4 rpc.idmapd +Group: Applications/System +License: GPLv3+ + +%description nfs-idmap +The libnfsidmap sssd module provides a way for rpc.idmapd to call SSSD to map +UIDs/GIDs to names and vice versa. It can be also used for mapping principal +(user) name to IDs(UID or GID) or to obtain groups which user are member of. + %prep %setup -q -n %{name}-%{version} @@ -764,9 +774,8 @@ done %{_libdir}/%{name}/libsss_semanage.so # 3rd party application libraries -%{_libdir}/libnfsidmap/sss.so - %{ldb_modulesdir}/memberof.so + %{_bindir}/sss_ssh_authorizedkeys %{_bindir}/sss_ssh_knownhostsproxy %{_sbindir}/sss_cache @@ -1058,6 +1067,9 @@ done %{_libdir}/samba/idmap/sss.so %{_mandir}/man8/idmap_sss.8* +%files nfs-idmap +%{_libdir}/libnfsidmap/sss.so + %pre common getent group sssd >/dev/null || groupadd -r sssd getent passwd sssd >/dev/null || useradd -r -g sssd -d / -s /sbin/nologin -c "User for sssd" sssd -- 2.7.4