summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-04-19 13:52:59 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-06-21 12:09:28 +0200
commit1d1a0a019d8d4d9ab0f51ada03604cd2cada287e (patch)
tree84b6ba89e5753a58d3853fdff6bf1ea8edccb37e /contrib
parent72ceb1b4629a8e7f4f9e6dc9fae4c638e3117a26 (diff)
downloadsssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.tar.gz
sssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.tar.xz
sssd-1d1a0a019d8d4d9ab0f51ada03604cd2cada287e.zip
Add winbind idmap plugin
With this plugin winbind can use the same id-mapping as SSSD which makes it possible to run both together in a consistent way. Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 0f2bcdf61..68dc0afd9 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -583,6 +583,15 @@ License: GPLv3+ and LGPLv3+
%description libwbclient-devel
Development libraries for the SSSD libwbclient implementation.
+%package winbind-idmap
+Summary: SSSSD's idmap_sss Backend for Winbind
+Group: Applications/System
+License: GPLv3+ and LGPLv3+
+
+%description winbind-idmap
+The idmap_sss module provides a way for Winbind to call SSSD to map UIDs/GIDs
+and SIDs.
+
%prep
%setup -q -n %{name}-%{version}
@@ -1037,6 +1046,11 @@ done
%{_libdir}/%{name}/modules/libwbclient.so
%{_libdir}/pkgconfig/wbclient_sssd.pc
+%files winbind-idmap
+%dir %{_libdir}/samba/idmap
+%{_libdir}/samba/idmap/sss.so
+%{_mandir}/man8/idmap_sss.8*
+
%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