summaryrefslogtreecommitdiff
path: root/packaging/RHEL-CTDB/samba.spec.tmpl
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-03 14:32:52 +0200
committerMichael Adam <obnox@samba.org>2009-11-13 16:19:39 +0100
commit0abe1a37421c6bd14b57d87f545ee2b3abc03fd7 (patch)
tree0e9fd93944f3aef365fcd95c9bbff3b6973e2567 /packaging/RHEL-CTDB/samba.spec.tmpl
parentf763886249e3bc014bacb32309e9b36f890c8fe2 (diff)
downloadsamba-0abe1a37421c6bd14b57d87f545ee2b3abc03fd7.tar.gz
samba-0abe1a37421c6bd14b57d87f545ee2b3abc03fd7.tar.bz2
samba-0abe1a37421c6bd14b57d87f545ee2b3abc03fd7.zip
packaging(RHEL-CTDB): package the winbind_krb5_locator.so plugin
Michael
Diffstat (limited to 'packaging/RHEL-CTDB/samba.spec.tmpl')
-rw-r--r--packaging/RHEL-CTDB/samba.spec.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec.tmpl b/packaging/RHEL-CTDB/samba.spec.tmpl
index 6a986f2cb3..a6ad3f8b73 100644
--- a/packaging/RHEL-CTDB/samba.spec.tmpl
+++ b/packaging/RHEL-CTDB/samba.spec.tmpl
@@ -296,6 +296,7 @@ mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/{samba,sysconfig}
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d
mkdir -p $RPM_BUILD_ROOT/var/lib/samba/winbindd_privileged
mkdir -p $RPM_BUILD_ROOT/var/{log,run/winbindd,spool}/samba
+mkdir -p $RPM_BUILD_ROOT/%{_libarchdir}/krb5/plugins/libkrb5
cd source3
make DESTDIR=$RPM_BUILD_ROOT \
@@ -313,6 +314,7 @@ install -m 755 nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_libarch}/libnss_win
#install -m 755 nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_libarch}/libnss_wins.so
# ( cd $RPM_BUILD_ROOT/%{_libarch}; ln -sf libnss_wins.so libnss_wins.so.2 )
+cp -p source3/bin/winbind_krb5_locator.so ${RPM_BUILD_ROOT}/%{_libarchdir}/krb5/plugins/libkrb5
# install files for winbind-32bit package
%ifarch x86_64 ppc64
@@ -568,6 +570,8 @@ exit 0
%{_libarchdir}/libtdb.so*
%{_libarchdir}/libwbclient.so*
+%{_libarchdir}/krb5/plugins/libkrb5/winbind_krb5_locator.so
+
%{_sbindir}/winbind
%{_sbindir}/winbindd