From 1d1a0a019d8d4d9ab0f51ada03604cd2cada287e Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 19 Apr 2016 13:52:59 +0200 Subject: Add winbind idmap plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Lukáš Slebodník --- contrib/sssd.spec.in | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'contrib') 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 -- cgit