From 7e69ca3cea7a719899ed1cae5d9904540b8ed51c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Aug 27 2010 11:23:42 +0000 Subject: Put winbind krb5 locator plugin into a separate rpm resolves: #627181 Guenther --- diff --git a/samba.spec b/samba.spec index 746d67b..96e9d32 100644 --- a/samba.spec +++ b/samba.spec @@ -1,4 +1,4 @@ -%define main_release 66 +%define main_release 67 %define samba_version 3.5.4 %define tdb_version 1.2.1 %define talloc_version 2.0.1 @@ -114,6 +114,15 @@ Winbind enables Linux to be a full member in Windows domains and to use Windows user and group accounts on Linux. +%package winbind-krb5-locator +Summary: Samba winbind krb5 locator +Requires: samba-winbind-clients = %{epoch}:%{samba_version}-%{release} +Group: Applications/System + +%description winbind-krb5-locator +The winbind krb5 locator is a plugin for the system kerberos library to allow +the local kerberos library to use the same KDC as samba and winbind use + %package winbind-clients Summary: Samba winbind clients Group: Applications/System @@ -342,6 +351,11 @@ ln -sf /%{_lib}/libnss_winbind.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2 ln -sf /%{_lib}/libnss_wins.so.2 $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so +# winbind krb5 locator +#mkdir -p $RPM_BUILD_ROOT%{_libdir}/krb5/plugins/libkrb5 +install -d -m 0755 %{buildroot}%{_libdir}/krb5/plugins/libkrb5 +install -m 755 source3/bin/winbind_krb5_locator.so $RPM_BUILD_ROOT/%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so + # libraries { mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_includedir} build_libdir="$RPM_BUILD_ROOT%{_libdir}" @@ -603,11 +617,14 @@ exit 0 %{_mandir}/man1/wbinfo.1* %{_mandir}/man5/pam_winbind.conf.5* %{_mandir}/man8/pam_winbind.8* -%{_mandir}/man7/winbind_krb5_locator.7* %{_mandir}/man8/winbindd.8* %{_mandir}/man8/idmap_*.8* %{_datadir}/locale/*/LC_MESSAGES/pam_winbind.mo +%files winbind-krb5-locator +%{_mandir}/man7/winbind_krb5_locator.7* +%{_libdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so + %files winbind-clients %defattr(-,root,root) %{_libdir}/libnss_winbind.so @@ -654,6 +671,10 @@ exit 0 %{_datadir}/pixmaps/samba/logo-small.png %changelog +* Thu Aug 26 2010 Guenther Deschner - 3.5.4-67 +- Put winbind krb5 locator plugin into a separate rpm +- resolves: #627181 + * Tue Aug 24 2010 Guenther Deschner - 3.5.4-66 - More fixes for winbind schannel