升级到OpenLDAP 2.4.44,出现以下错误
User Schema load failed for attribute "pwdMaxRecordedFailure". Error code 17: attribute type undefined config error processing olcOverlay={1}ppolicy,olcDatabase={2}hdb,cn=config: User Schema load failed for attribute "pwdMaxRecordedFailure". Erro...ype undefined slapd stopped.
解决办法
cd /etc/openldap/slapd.d/cn=config/cn=schema mv cn\=\{3\}ppolicy.ldif cn\=\{3\}ppolicy.ldif.bak mv /etc/openldap/schema/ppolicy.ldif cn\=\{3\}ppolicy.ldif