Hello!

I rebuilt the OpenLdap with -DLDAP_COLLECTIVE_ATTRIBUTES

Added in slapd.conf

include    collective.schema
moduleload collect
overlay collect
collectinfo cn=coll,dc=exadel,dc=com c-PhysicalDeliveryOfficeName,c-TelephoneNumber
# also i tried with
collectinfo cn=coll,dc=exadel,dc=com PhysicalDeliveryOfficeName,TelephoneNumber

I created element:

dn: cn=coll,dc=
exadel,dc=com
objectClass: subentry
objectClass: extensibleObject
objectClass: collectiveAttributeSubentry
objectClass: top
structuralObjectClass: subentry
c-PhysicalDeliveryOfficeName: Test office
c-TelephoneNumber: +8888888888
cn: coll
subtreeSpecification: {base "ou=Test Group"}

But when I query with ldapsearch, I don't see what users from ou=Test Group,dc=example,dc=com have attributes  PhysicalDeliveryOfficeName, TelephoneNumber

I can not understand what else needs to be done to make it work.
Could you tell me what I missed?

I checked it on versions 2.4.42 and 2.4.44.

--
With Best Wishes
Andrew Podko
System Administrator
Exadel
apodko@exadel.com

CONFIDENTIALITY NOTICE: This email and files attached to it are confidential. If you are not the intended recipient you are hereby notified that using, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error please notify the sender and delete this email.