[midPoint] Custom Object Class

Gómez Martínez, Elsa egomezm at minsait.com
Fri Dec 13 09:52:14 CET 2019


Hi!

If it helps I added auxiliary object class to the schema like this:

        <schema>
            <generationConstraints>
                <generateObjectClass>ri:inetOrgPerson</generateObjectClass>
                <generateObjectClass>ri:posixAccount</generateObjectClass>
            </generationConstraints>
</schema>

Elsa
De: midPoint <midpoint-bounces at lists.evolveum.com> En nombre de mceylan
Enviado el: viernes, 13 de diciembre de 2019 9:29
Para: midPoint General Discussion <midpoint at lists.evolveum.com>
Asunto: [midPoint] Custom Object Class

Hi,

I'm using midpoint 3.9. When I try to add a user to Openldap, I want to add a custom object class. But I get the following error when adding.

Schema error while processing schemaHandling section of object:2a7c7130-7a34-11e4-bdf6-001e8c717e5b(LiderAhenk): Auxiliary object class {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}posixAccount<http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7dposixAccount> specified in rOCD(ACCOUNT:default={.../resource/instance-3}inetOrgPerson) does not exist


I'm doing them to add the xml object class.


  <schemaHandling>
        <objectType id="1">
            <intent>default</intent>
            <displayName>Default Account</displayName>
            <default>true</default>
            <objectClass>ri:inetOrgPerson</objectClass>
            <auxiliaryObjectClass>ri:posixAccount</auxiliaryObjectClass>
            <attribute id="3">
                <c:ref>ri:dn</c:ref>
                <displayName>Distinguished Name</displayName>
                <matchingRule xmlns:mr="http://prism.evolveum.com/xml/ns/public/matching-rule-3">mr:distinguishedName</matchingRule>

Is there anything else I should do?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20191213/433c21ad/attachment.htm>


More information about the midPoint mailing list