<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
p.title, li.title, div.title
        {mso-style-name:title;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Ok I reply myself, like sometime, RTFM… </span><span style="font-family:Wingdings;color:#1F497D">J</span><span style="color:#1F497D">
<span lang="EN-GB"><o:p></o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">So it’s work find if you import XML file (event if it’s exist), but not if you change existing file in Repository objects.<o:p></o:p></span></p>
<p class="title"><span lang="EN-GB">Reference search filter execution<o:p></o:p></span></p>
<p><span lang="EN-GB"> The search filter in the reference is executed only once: when the object is imported. Then a fixed OID is placed in the reference and such OID is used instead of the filter. This happens because of the performance but also as a consequence
 of midPoint architecture. All links between midPoint objects are based on OIDs, so they will remain valid if the objects are renamed or modified. This is usually what you want for most objects. But for the connectors there is an important consequence: if a
 connector is upgraded, new connector definition is created for the new connector version. This definition will have new OID.
</span><b><span lang="EN-GB" style="font-size:16.0pt">As the search filter in the reference is not executed for objects that are already stored in the repository</span></b><span lang="EN-GB"> the the </span><code><span lang="EN-GB" style="font-size:10.0pt">connectorRef</span></code><span lang="EN-GB">
 references in resource definitions need to be manually updated after connector upgrade.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR">Cordialement,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border:none;border-top:solid #00BBDF 3.0pt">
<tbody>
<tr>
<td width="708" valign="top" style="width:225.75pt;border:none;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#1F497D;mso-fareast-language:FR"><img width="174" height="22" id="_x0000_i1026" src="cid:image001.png@01D4A8EF.527EF890" alt="cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45"></span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><b><span style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D">Sylvaire-Kevin TIPA</span></b><i><span style="font-size:10.0pt;line-height:105%;color:#757B80">
<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><i><span style="font-size:10.0pt;line-height:105%;color:#767171">Thales Services / OIC / DevOps Automatisation Infrastructures<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#BFBFBF">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:9.0pt;line-height:105%;color:gray">THALES SERVICES SAS<br>
44 Quai Charles de Gaulle<br>
CS 20100<br>
69463 Lyon Cedex 06<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#BFBFBF">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#1F497D"><a href="http://www.thalesgroup.com/"><span style="font-size:8.5pt;line-height:105%;font-family:"Arial",sans-serif;color:gray">www.thalesgroup.com</span></a></span><span style="color:#BFBFBF"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:black;display:none;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="mso-fareast-language:FR">De :</span></b><span style="mso-fareast-language:FR"> Sylvaire kevin TIPA
<br>
<b>Envoyé :</b> jeudi 10 janvier 2019 11:23<br>
<b>À :</b> 'midPoint General Discussion' <midpoint@lists.evolveum.com><br>
<b>Objet :</b> Filter in ConnectorRef for AD<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hey guy,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">I don’t know if it’s a bug but I cannot use filter in connectorRef for Active Directory resource …. It work well for CSV resource, but for pmy AD resource MP can”t get OID …
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I have try on connectorType, connectorVersion, name, displayName field but noting …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR">Do you have any tips ?
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR">Nota:  In order of connector OID change when a new instance is create, I prefer to use filter for keep my xml file fully fonctional.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR">MP : 3.7.2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR">Sample :
<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">  <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">connectorRef</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">
</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#A6E22E;mso-fareast-language:FR">type</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">=</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#E6DB74;mso-fareast-language:FR">"c:ConnectorType"</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">   <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">filter</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">          <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:and</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">          <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:equal</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">             <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:path</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">>c:connectorType</</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:path</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">             <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">matching</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">>stringIgnoreCase</</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">matching</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">             <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:value</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">>com.evolveum.polygon.connector.ldap.ad.AdLdapConnector</</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:value</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">          </</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:equal</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">          <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:equal</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">               <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:path</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">>connectorVersion</</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:path</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">               <</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:value</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">>1.6</</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:value</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">            </</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:equal</span><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span lang="EN-GB" style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">           
</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR"></</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">q:and</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">       </</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">filter</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:12.0pt;background:#272822"><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">  </</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F92672;mso-fareast-language:FR">connectorRef</span><span style="font-size:9.0pt;font-family:"Courier New";color:#F8F8F2;mso-fareast-language:FR">><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR">Thx.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR">Cordialement,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="1" cellspacing="0" cellpadding="0" width="100%" style="width:100.0%;border:none;border-top:solid #00BBDF 3.0pt">
<tbody>
<tr>
<td width="708" valign="top" style="width:225.75pt;border:none;padding:0cm 0cm 0cm 0cm">
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="mso-fareast-language:FR"><img border="0" width="174" height="22" id="Image_x0020_1" src="cid:image001.png@01D4A8EF.527EF890" alt="cid:8e2f30c3-f5eb-4f4e-aefb-9d083f8a3b45"></span><span style="color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><b><span style="font-size:10.0pt;line-height:105%;font-family:"Arial",sans-serif;color:#1F497D">Sylvaire-Kevin TIPA</span></b><i><span style="font-size:10.0pt;line-height:105%;color:#757B80">
<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><i><span style="font-size:10.0pt;line-height:105%;color:#767171">Thales Services / OIC / DevOps Automatisation Infrastructures<o:p></o:p></span></i></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#BFBFBF">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="font-size:9.0pt;line-height:105%;color:gray">THALES SERVICES SAS<br>
44 Quai Charles de Gaulle<br>
CS 20100<br>
69463 Lyon Cedex 06<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#BFBFBF">…………………………………………………………………………………………<o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:#1F497D"><a href="http://www.thalesgroup.com/"><span style="font-size:8.5pt;line-height:105%;font-family:"Arial",sans-serif;color:gray">www.thalesgroup.com</span></a></span><span style="color:#BFBFBF"><o:p></o:p></span></p>
<p class="MsoNormal" style="line-height:105%"><span style="color:black"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:black;mso-fareast-language:FR"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p style="font-size:8pt; line-height:10pt; font-family: 'Cambria','times roman',serif;">
This message contains confidential information and is intended only for the individual(s) addressed in the message. If you are not the named addressee, you should not disseminate, distribute, or copy this e-mail. If you are not the intended recipient, you are
 notified that disclosing, distributing, or copying this e-mail is strictly prohibited.
</p>
</body>
</html>