[samba] Put winbind krb5 locator plugin into a separate rpm resolves: #627181
Guenther Deschner
gd at fedoraproject.org
Fri Aug 27 11:20:53 UTC 2010
commit f19c8df142a6d111b7b31121fe9609183ab1e399
Author: Günther Deschner <gd at samba.org>
Date: Fri Aug 27 13:18:35 2010 +0200
Put winbind krb5 locator plugin into a separate rpm
resolves: #627181
Guenther
samba.spec | 25 +++++++++++++++++++++++--
1 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/samba.spec b/samba.spec
index 58c1e19..35d59c8 100644
--- a/samba.spec
+++ b/samba.spec
@@ -1,4 +1,4 @@
-%define main_release 62
+%define main_release 63
%define samba_version 3.6.0
%define tdb_version 1.2.1
%define talloc_version 2.0.1
@@ -112,6 +112,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
@@ -340,6 +349,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}"
@@ -584,11 +598,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
@@ -634,6 +651,10 @@ exit 0
%{_datadir}/pixmaps/samba/logo-small.png
%changelog
+* Thu Aug 26 2010 Guenther Deschner <gdeschner at redhat.com> - 3.6.0pre1-63
+- Put winbind krb5 locator plugin into a separate rpm
+- resolves: #627181
+
* Tue Aug 03 2010 Guenther Deschner <gdeschner at redhat.com> - 3.6.0pre1-62
- Update to 3.6.0pre1
More information about the scm-commits
mailing list