Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 590204 Details for
Bug 829749
Support for ppolicy external checker module
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
openldap spec file patch
openldap-add-check_password.patch (text/plain), 3.21 KB, created by
Guillaume Rousse
on 2012-06-07 13:33:51 UTC
(
hide
)
Description:
openldap spec file patch
Filename:
MIME Type:
Creator:
Guillaume Rousse
Created:
2012-06-07 13:33:51 UTC
Size:
3.21 KB
patch
obsolete
>--- rpmbuild/SPECS/openldap.spec 2011-10-04 13:39:07.000000000 +0200 >+++ rpmbuild/SPECS/openldap.spec.new 2012-06-07 15:19:54.348382226 +0200 >@@ -2,6 +2,7 @@ > %define evolution_connector_prefix %{_libdir}/evolution-openldap > %define evolution_connector_includedir %{evolution_connector_prefix}/include > %define evolution_connector_libdir %{evolution_connector_prefix}/%{_lib} >+%define check_password_version 1.1 > > Name: openldap > Version: 2.4.23 >@@ -15,6 +16,7 @@ > Source2: ldap.sysconfig > Source3: README.evolution > Source4: slapd.conf >+Source10: ltb-project-openldap-ppolicy-check-password-%{check_password_version}.tar.gz > > # patches for 2.4 > Patch0: openldap-manpages.patch >@@ -146,7 +148,7 @@ > programs needed for accessing and modifying OpenLDAP directories. > > %prep >-%setup -q -c -a 0 >+%setup -q -c -a 0 -a 10 > > # setup tree for openldap > >@@ -330,6 +332,10 @@ > --libdir=%{evolution_connector_libdir} > popd > >+pushd ltb-project-openldap-ppolicy-check-password-%{check_password_version} >+make LDAP_INC="-I../openldap-%{version}/include -I../openldap-%{version}/servers/slapd -I../openldap-%{version}/build-servers/include" >+popd >+ > %install > rm -rf %{buildroot} > libtool='%{_bindir}/libtool' >@@ -345,6 +351,23 @@ > STRIP="" > popd > >+# install check_password module >+pushd ltb-project-openldap-ppolicy-check-password-%{check_password_version} >+install -m 755 check_password.so %{buildroot}%{_libdir}/openldap >+ >+install -d -m 755 %{buildroot}%{_sysconfdir}/openldap >+cat > %{buildroot}%{_sysconfdir}/openldap/check_password.conf <<EOF >+# OpenLDAP pwdChecker library configuration >+ >+#useCracklib 1 >+#minPoints 3 >+#minUpper 0 >+#minLower 0 >+#minDigit 0 >+#minPunct 0 >+EOF >+popd >+ > # install evolution-specific clients (conflicting files will be overwriten by generic version) > pushd evo-openldap-%{version} > make install DESTDIR=%{buildroot} \ >@@ -356,6 +379,7 @@ > %{buildroot}/%{evolution_connector_prefix}/ > popd > >+ > # install clients > pushd openldap-%{version}/build-clients > make install DESTDIR=%{buildroot} \ >@@ -426,6 +450,10 @@ > done > popd > >+# rename check_password.so to avoid deletion >+mv %{buildroot}/%{_libdir}/openldap/check_password.so \ >+ %{buildroot}/%{_libdir}/openldap/check_password.so.X >+ > # remove files which we don't want packaged > rm -f %{buildroot}/%{_libdir}/*.la > rm -f %{buildroot}/%{_libdir}/*.a >@@ -434,6 +462,10 @@ > rm -f %{buildroot}/%{_libdir}/openldap/*.a > rm -f %{buildroot}/%{_libdir}/openldap/*.so > >+# restore check_password.so original name >+mv %{buildroot}/%{_libdir}/openldap/check_password.so.X \ >+ %{buildroot}/%{_libdir}/openldap/check_password.so >+ > rm -f %{buildroot}%{_localstatedir}/openldap-data/DB_CONFIG.example > rmdir %{buildroot}%{_localstatedir}/openldap-data > >@@ -688,6 +720,7 @@ > %attr(0755,root,root) %{_sysconfdir}/rc.d/init.d/slapd > %attr(0750,ldap,ldap) %dir %config(noreplace) %{_sysconfdir}/openldap/slapd.d > %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/ldap >+%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/check_password.conf > %attr(0755,root,root) %dir %config(noreplace) %{_sysconfdir}/openldap/schema > %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.schema* > %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/openldap/schema/*.ldif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 829749
: 590204