<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hi,</p>
    <p>at first look it looks ok to me, so please post your resource
      (without password) and stack trace of the error - or share it
      somewhere and send the link please. I will try to look at it when
      I have some spare time.<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 04/20/2017 01:01 PM, Tommy Montegu
      wrote:<br>
    </div>
    <blockquote cite="mid:04c401d2b9c5$843ea6c0$8cbbf440$@exodata.fr"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@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]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US">Hello,<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Thanks for answering me.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I try what you say but
            it seems not work.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">I configure my
            synchronization task like that :<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        
            <correlation><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            <q:equal><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">              
            <q:path>c:fullName</q:path><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">              
            <expression><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">                 
            <path>$account/attributes/ri:cn</path><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">              
            </expression><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">           
            </q:equal><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        
            </correlation><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">        
            <reconcile>true</reconcile><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">So to me, this would
            search users in midPoint where fullName equals zimbra cn. I
            look with LDAP Browser, and the cn in Zimbra matching the
            fullName in midPoint.<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">But after that, I create
            a reconcile task, and I saw all my account in my resource,
            but with this error :<o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333;background:white"
            lang="EN-US">Failed to reconciliation: Error occurred during
            resource object shadow owner lookup, reason: Couldn't
            convert query.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:10.5pt;font-family:"Helvetica",sans-serif;color:#333333;background:white"
            lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Please, could you tell
            me where in my code (or my task) I made a mistake ? Why I
            get this error ? And all this account is in the “Unmatched”
            situation. </span></p>
      </div>
    </blockquote>
    <br>
    Unmatched situation is OK (expected), as the correlation failed for
    now.<br>
    <br>
    <blockquote cite="mid:04c401d2b9c5$843ea6c0$8cbbf440$@exodata.fr"
      type="cite">
      <div class="WordSection1">
        <p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span lang="EN-US">Moreover, I didn’t see
            the account appear in Projections tab for the user. Do I
            need to do something to add the projections, after creating
            the reconciliation task ?</span></p>
      </div>
    </blockquote>
    <br>
    No, if the reconciliation task finished and links the account, you
    will see the projections.<br>
    <br>
    Ivan<br>
    <pre class="moz-signature" cols="72">-- 
Ivan Noris
Senior Identity Engineer
evolveum.com
</pre>
  </body>
</html>