Heh, just ran into this yesterday, are you including the ppolicy schema? As it's its no longer required


On Oct 4, 2023, at 2:37 PM, Quanah Gibson-Mount <quanah@fast-mail.org> wrote:



--On Tuesday, October 3, 2023 11:57 PM -0400 Jignesh Patel <jignesh@icare.com> wrote:


We are using LDAP version 2.5.16 .


when we try to set policy
we are getting this error olcAttributeTypes: value #0 olcAttributeTypes:
Duplicate attributeType:
"1.3.6.1.4.1.42.2.27.8.1.1" slapadd: could not add entry
The .ldif file is as attached.


And if we don't import than we are getting pException:  [LDAP result
code 17 - undefinedAttributeType] pwdAttribute: attribute type undefined

I suggest carefully reading the release notes for OpenLDAP 2.5, specifically around the changes to ppolicy since the 2.4 series.

--Quanah