<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
On 08/19/2016 04:26 PM, Mencel, Matt wrote:<br>
</div>
<blockquote
cite="mid:CABpVbHLkoVQ27Ye=EH+_7Tribc-Y2z4ijuDCRi38cVd5030ZoQ@mail.gmail.com"
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 class=""
style="border-spacing:0px;border-collapse:collapse;width:1301px;max-width:100%;margin-bottom:0px;color:rgb(51,51,51);font-family:"Source
Sans Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:20px">
<tbody style="">
<tr style="">
</tr>
<tr style="">
<td class=""
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 style="">There
are multiple schema handling definitions for
kind/intent: ACCOUNT/person.</span></blockquote>
</td>
</tr>
<tr style="">
<td class=""
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>
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>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; white-space: pre-wrap;"> <schemaHandling>
<objectType>
<kind>account</kind>
<displayName>Normal Account</displayName>
<default>true</default>
<objectClass>ri:inetOrgPerson</objectClass>
<auxiliaryObjectClass>ri:posixAccount</auxiliaryObjectClass>
<auxiliaryObjectClass>ri:foo</auxiliaryObjectClass>
<auxiliaryObjectClass>ri:bar</auxiliaryObjectClass>
...
</pre>
<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
</body>
</html>