%{!?ldflags: %global ldflags -Wl,-z,relro -Wl,-O1} Name: openldap%{?olmajor}-smbk5pwd Version: 2.4.22 Release: %mkrel 1 Summary: OpenLdap smbk5pwd overlay License: Artistic Group: System/Servers URL: http://www.openldap.org Source0: openldap-smbk5pwd-%{version}.tar.bz2 BuildRequires: heimdal-devel BuildRequires: openldap%{?olmajor}-devel >= 2.4.8 BuildRequires: tcp_wrappers-devel BuildRequires: libtool BuildRoot: %{_tmppath}/%{name}-%{version} %description This package contains a slapd overlay, smbk5pwd, that extends the PasswordModify Extended Operation to update Kerberos keys and Samba password hashes for an LDAP user. Note that this package is built with Heimdal support, and requires a working Heimdal KDC configuration. If you only need support for changing Samba password hashes, you can use the 'smbpwd.so' copy provided in openldap-servers (just use 'moduleload smbpwd.so' instead of 'moduleload smbk5pwd.so) which is identical except that it is built without Heimdal support. %prep %setup -q -n openldap-%{version}/contrib/slapd-modules/smbk5pwd %build make \ OPT="%optflags %ldflags" \ LIBTOOL=%{_bindir}/libtool \ HEIMDAL_LIB="-L%{_libdir} -L%{_libdir}/heimdal -lkrb5 -lkadm5srv" \ LDAP_INC="-I%{_includedir}/openldap%{?olmajor}/include -I%{_includedir}/openldap%{?olmajor}/slapd" %install rm -rf %{buildroot} install -d -m 755 %{buildroot}/%{_libdir}/openldap%{?olmajor} cp .libs/smbk5pwd.so* %{buildroot}/%{_libdir}/openldap%{?olmajor} %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc README %{_libdir}/openldap%{?olmajor}/* %changelog * Wed Feb 02 2011 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.22-1 + Revision: 635367 - sync with 2.4.22 release + Buchan Milne <bgmilne@mandriva.org> - Some changes to make backporting work * Tue Dec 07 2010 Oden Eriksson <oeriksson@mandriva.com> 2.4.21-4mdv2011.0 + Revision: 613537 - rebuild + Buchan Milne <bgmilne@mandriva.org> - Improve description to cover the availability of smbpwd.so in main package, for users who only need samba support (mdv#59675) * Fri Apr 16 2010 Funda Wang <fwang@mandriva.org> 2.4.21-3mdv2010.1 + Revision: 535262 - rebuild * Fri Mar 26 2010 Luis Daniel Lucio Quiroz <dlucio@mandriva.org> 2.4.21-2mdv2010.1 + Revision: 527729 - Rebuild * Sat Jan 09 2010 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.21-1mdv2010.1 + Revision: 488119 - sync with main package * Tue Oct 06 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.19-1mdv2010.0 + Revision: 455176 - new version * Mon Sep 28 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.17-2mdv2010.0 + Revision: 450712 - fix linking * Sun Jul 19 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.17-1mdv2010.0 + Revision: 397950 - new version - drop heimdal linking patch, merged upstream - new version * Fri Jan 23 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.13-2mdv2009.1 + Revision: 332764 - use native source directly, so as to not disable kerberos support inadvertantly * Tue Jan 06 2009 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.13-1mdv2009.1 + Revision: 326212 - update to code from latest openldap release - drop patches 1 and 2 (merged) * Fri Nov 07 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.8-5mdv2009.1 + Revision: 300799 - Fix for ITS #5766 smbkrb5 overlay doesn't honour kerberos principal expiration * Thu Sep 04 2008 Buchan Milne <bgmilne@mandriva.org> 2.4.8-4mdv2009.0 + Revision: 280806 - Rebuild for Heimdal 1.2 * Wed Jun 25 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.8-3mdv2009.0 + Revision: 229066 - fix password-termination issue (openldap ITS#5575) * Wed May 28 2008 Guillaume Rousse <guillomovitch@mandriva.org> 2.4.8-2mdv2009.0 + Revision: 212786 - fix usage of heimdal private functions * Sun Mar 23 2008 Buchan Milne <bgmilne@mandriva.org> 2.4.8-1mdv2008.1 + Revision: 189695 - import openldap-smbk5pwd