[Ltb-users] Packages for OpenLDAP 2.4.43

Clément OUDOT clem.oudot at gmail.com
Mon Dec 7 14:17:38 CET 2015


Hi,

packages (Debian and RPM) for OpenLDAP 2.4.43 are now avaiblable on LTB:
http://ltb-project.org/wiki/download#openldap

Notice that the upgrade can fail if you have ppolicy overlay activated in
your configuration. Indeed, a new attribute appears in the ppolicy shema,
so you can face this error message:

56658127 User Schema load failed for attribute "pwdMaxRecordedFailure".
Error code 17: attribute type undefined
56658127 config error processing
olcOverlay={0}ppolicy,olcDatabase={1}mdb,cn=config: User Schema load failed
for attribute "pwdMaxRecordedFailure". Error code 17: attribute type
undefined
56658127 slapd stopped.
56658127 connections_destroy: nothing to destroy.

The best is to to a service slapd backupconfig *before* the upgrade. Stop
OpenLDAP and do the upgrade.

Then edit the backup configuration and replace the ppolicy shcema by the
new one (located in /usr/local/openldap/etc/openldap/schema/ppolicy.ldif).
You can now restore it: service slapd restoreconfig.


If you forgot to do this before upgrade, the only way is to edit the LDIF
files directly in slapd.d/, but you will get this warning:
566582ef ldif_read_file: checksum error on
"****/slapd.d/cn=config/cn=schema/cn={3}ppolicy.ldif"

To bypass it, do a service slapd backupconfig and service slapd
restoreconfig


Good luck!


Clément.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ltb-project.org/pipermail/ltb-users/attachments/20151207/5d144472/attachment.htm>


More information about the ltb-users mailing list