<div dir="ltr">Thanks Radovan,<div><br></div><div>That helps. Do I declare the auxiliary's attributes in the same place as the default objectClass then? I'm getting this error in the UI...</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There is no attribute named '{<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}wiuId">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}wiuId</a>' in object class '{<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}person">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}person</a>' (defined in schema handling for 'User Account (kind: ACCOUNT, intent: person)').</blockquote><div><br></div><div> <a href="https://gist.github.com/MattMencel/2a3208371a1b0ce422e0b4923df413f7">https://gist.github.com/MattMencel/2a3208371a1b0ce422e0b4923df413f7</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 19, 2016 at 9:54 AM, Radovan Semancik <span dir="ltr"><<a href="mailto:radovan.semancik@evolveum.com" target="_blank">radovan.semancik@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<span class=""><br>
<br>
On 08/19/2016 04:26 PM, Mencel, Matt wrote:<br>
</span></div><span class="">
<blockquote type="cite">
<div dir="ltr">I have multiple LDAP objectclasses that contain all
the attributes that make up a person's identity. I've
associated multiple OCs with the same kind/intent in midpoint
and am getting a warning in the UI.
<div>
<table>
<tbody>
<tr>
</tr>
<tr>
<td style="padding:3px;line-height:1.42857;vertical-align:top;border-top:1px solid rgb(244,244,244)">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>There
are multiple schema handling definitions for
kind/intent: ACCOUNT/person.</span></blockquote>
</td>
</tr>
<tr>
<td style="padding:3px;line-height:1.42857;vertical-align:top;border-top:1px solid rgb(244,244,244)" width="1px">Should I be doing
this another way?<br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
<br></span>
Yes. Just one of the objectclasses is structural (primary). Other
object classes are auxiliary. MidPoint fully supports auxiliary
object classes, but you need to use a slightly different approach.
Use something like this:<br>
<br>
<pre style="color:rgb(0,0,0);font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;word-wrap:break-word;white-space:pre-wrap"> <schemaHandling>
<objectType>
<kind>account</kind>
<displayName>Normal Account</displayName>
<default>true</default>
<objectClass>ri:inetOrgPerson<<wbr>/objectClass>
<auxiliaryObjectClass>ri:<wbr>posixAccount</<wbr>auxiliaryObjectClass>
<auxiliaryObjectClass>ri:foo</<wbr>auxiliaryObjectClass>
<auxiliaryObjectClass>ri:bar</<wbr>auxiliaryObjectClass>
...
</pre><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Radovan Semancik
Software Architect
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
</font></span></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>