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.
openldap-technical@openldap.org