<div dir="ltr">under the schema section like so, <div><br></div><div><div> <schema></div><div> <generationConstraints></div><div> <generateObjectClass>ri:inetOrgPerson</generateObjectClass></div><div> <generateObjectClass>ri:groupOfNames</generateObjectClass></div><div> <generateObjectClass>ri:groupOfUniqueNames</generateObjectClass><br></div><div> <generateObjectClass>ri:organizationalUnit</generateObjectClass></div><div> <generateObjectClass>ri:bshpCourse</generateObjectClass></div><div> <generateObjectClass>ri:bshpGroup</generateObjectClass></div><div> <generateObjectClass>ri:bshpPerson</generateObjectClass></div><div> <generateObjectClass>ri:eduPerson</generateObjectClass></div><div> <generateObjectClass>ri:extPerson</generateObjectClass></div><div> </generationConstraints></div><div>..</div><div>....</div><div>...</div><div>.....</div><div> </schema></div></div><div><br></div><div>then under schemaHandling for each objectType for example a group and a person,</div><div><br></div><div><div> <schemaHandling></div><div> <objectType></div><div> <kind>entitlement</kind></div><div> <intent>courseGroup</intent></div><div> <displayName>Course Registry Group</displayName></div><div> <default>true</default></div><div> <objectClass>ri:groupOfNames</objectClass></div><div><span style="white-space:pre"> </span> <auxiliaryObjectClass>ri:bshpCourse</auxiliaryObjectClass></div><div><span style="white-space:pre"> </span> <auxiliaryObjectClass>ri:bshpGroup</auxiliaryObjectClass></div><div>.....</div><div>.....</div><div> </objectType></div><div><span style="white-space:pre"> </span> <objectType></div><div> <displayName>Person Registry Account</displayName></div><div> <default>true</default></div><div> <objectClass>ri:inetOrgPerson</objectClass></div><div> <auxiliaryObjectClass>ri:bshpPerson</auxiliaryObjectClass></div><div> <auxiliaryObjectClass>ri:eduPerson</auxiliaryObjectClass></div><div> <auxiliaryObjectClass>ri:extPerson</auxiliaryObjectClass></div><div>.....</div><div>.....</div><div> </objectType></div><div> </schemaHandling></div></div><div><br></div><div>after you modify the resource xml you would need to reimport and over-write your current resource configuration, if not, remove the </div><div><br></div><div><div> <cachingMetadata></div><div> ..</div><div> </cachingMetadata></div></div><div><br></div><div>and </div><div><br></div><div> <definition></div><div> ...</div><div> ...</div><div> </definition></div><div><br></div><div>sections and generate the updated schema.</div><div><br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">JASON</div></div></div>
<br><div class="gmail_quote">On Tue, Dec 5, 2017 at 8:44 AM, Jeria, Esteban <span dir="ltr"><<a href="mailto:esteban.jeria@cgi.com" target="_blank">esteban.jeria@cgi.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="FR-CA" link="blue" vlink="purple">
<div class="m_-5798951299994058868WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">We have some custom classes in our LDAP with specific attributes that I would like to import/sync to midPoint.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I didn't find any example how to do it so I tried different approaches by creating multiples <objectType> on the <schemaHandling> section or by specifying an <auxiliaryObjectClass> but they are just ignored when I run
the sync or import task.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">So, how can I perform an import/sync of a LDAP resource when the source attributes are coming from different object classes?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri Light","sans-serif";color:blue;background:white">Esteban Jeria</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><a href="mailto:esteban.jeria@cgi.com" target="_blank"><span style="font-family:"Calibri Light","sans-serif";color:blue">esteban.jeria@cgi.com</span></a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:9.5pt;font-family:"Calibri Light","sans-serif";color:black;background:white">Sécurité - Gestion des Identités et des Accès / Security - Identity and Access Management<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="FR" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:blue;background:white"><u></u> <u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div>