<div dir="ltr">Hi Rod,<div><br></div><div>as Jason pointed out you should first import or reconcile your AD accounts. Does your problem happen when importing from or reconciling AD resource? If your correlation rule is ok, midpoint should find the corresponding identities and link the existing AD accounts.</div><div><br></div><div>Also reaction unmatched -> addFocus in your config seems to be wrong - you don't want to create identities from AD accounts but from HR accounts, right?</div><div><br></div><div>arnost</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">pá 15. 3. 2019 v 17:16 odesílatel Rod Holman <<a href="mailto:rholman@oaisd.org">rholman@oaisd.org</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_9018272342385268496WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Thanks for the quick response, but that didn’t work. In my previous post I stated we are adding the AD resource to the user via inducement. I meant projection.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">By the way, we are already successfully importing (in test) new HR users and they are being added to AD. That works great! It’s just this initial synchronization
of current users.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">--Rod<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.evolveum.com</a>>
<b>On Behalf Of </b>Gruber, Michael<br>
<b>Sent:</b> Friday, March 15, 2019 12:02 PM<br>
<b>To:</b> midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Subject:</b> Re: [midPoint] Link current HR account to existing AD account<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)">Maybe you have to add a matching rule<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><q:equal><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"> <q:matching><a href="http://prism.evolveum.com/xml/ns/public/matching-rule-3#polyStringNorm%3C/q:matching" target="_blank">http://prism.evolveum.com/xml/ns/public/matching-rule-3#polyStringNorm</q:matching</a>><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"> <q:path>c:name</q:path><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"> [..]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11pt;font-family:Arial,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(181,196,223);padding:3pt 0in 0in">
<p class="MsoNormal"><b><span lang="DE" style="font-size:10pt;font-family:Tahoma,sans-serif">Von:</span></b><span lang="DE" style="font-size:10pt;font-family:Tahoma,sans-serif"> midPoint [<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>Im Auftrag von </b>Rod Holman<br>
<b>Gesendet:</b> Freitag, 15. März 2019 16:33<br>
<b>An:</b> midPoint General Discussion<br>
<b>Betreff:</b> Re: [midPoint] Link current HR account to existing AD account<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="DE"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">We are only working with one user until successful then will add the rest. We imported the HR user into Midpoint and are now trying to sync by adding Medusa
Active Directory to that user via inducement. We do not have the AD resource set up for importing. The HR resource name value is the same as the samaccountname value for that user in AD.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">--Rod<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:Calibri,sans-serif">From:</span></b><span style="font-size:11pt;font-family:Calibri,sans-serif"> midPoint <<a href="mailto:midpoint-bounces@lists.evolveum.com" target="_blank">midpoint-bounces@lists.evolveum.com</a>>
<b>On Behalf Of </b>Jason Everling<br>
<b>Sent:</b> Friday, March 15, 2019 11:16 AM<br>
<b>To:</b> midPoint General Discussion <<a href="mailto:midpoint@lists.evolveum.com" target="_blank">midpoint@lists.evolveum.com</a>><br>
<b>Subject:</b> Re: [midPoint] Link current HR account to existing AD account<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">So you imported all your AD users into midpoint already and then trying to import/link the HR users? Or you imported the HR users and trying to import/link the AD users? What does the resource contain for name and/or dn ?<u></u><u></u></p>
<div>
<p class="MsoNormal"><br clear="all">
<u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Fri, Mar 15, 2019 at 8:52 AM Rod Holman <<a href="mailto:rholman@oaisd.org" target="_blank">rholman@oaisd.org</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin:5pt 0in 5pt 4.8pt">
<div>
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">For our initial implementation of Midpoint we want to link existing accounts from our HR input to their existing accounts in active directory. After they are synced we want to
have Midpoint add/sync users from HR to AD. As a test we are trying to link an existing HR account to an existing AD account. When we do this an attempt is made to add the account to AD no matter what we try causing an AlreadyExistsException error. Below
is our object synchronization for the account. Is it possible that the correlation is never matching the two accounts? We tried both $account and $shadow in the correlation path. We know that the “Name” attribute in the HR account is the same as sAMAccountName
in AD. Is there something we’re doing wrong here?<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><objectSynchronization><u></u><u></u></p>
<p class="MsoNormal"> <name>Account sync</name><u></u><u></u></p>
<p class="MsoNormal"> <objectClass>ri:user</objectClass><u></u><u></u></p>
<p class="MsoNormal"> <kind>account</kind><u></u><u></u></p>
<p class="MsoNormal"> <intent>default</intent><u></u><u></u></p>
<p class="MsoNormal"> <enabled>true</enabled><u></u><u></u></p>
<p class="MsoNormal"> <correlation><u></u><u></u></p>
<p class="MsoNormal"> <q:equal><u></u><u></u></p>
<p class="MsoNormal"> <q:path>c:name</q:path><u></u><u></u></p>
<p class="MsoNormal"> <expression xmlns=""><u></u><u></u></p>
<p class="MsoNormal"> <path>$account/attributes/ri:sAMAccountName</path><u></u><u></u></p>
<p class="MsoNormal"> </expression><u></u><u></u></p>
<p class="MsoNormal"> </q:equal><u></u><u></u></p>
<p class="MsoNormal"> </correlation><u></u><u></u></p>
<p class="MsoNormal"> <reconcile>false</reconcile><u></u><u></u></p>
<p class="MsoNormal"> <reaction><u></u><u></u></p>
<p class="MsoNormal"> <situation>linked</situation><u></u><u></u></p>
<p class="MsoNormal"> <synchronize>true</synchronize><u></u><u></u></p>
<p class="MsoNormal"> <reconcile>false</reconcile><u></u><u></u></p>
<p class="MsoNormal"> </reaction><u></u><u></u></p>
<p class="MsoNormal"> <reaction><u></u><u></u></p>
<p class="MsoNormal"> <situation>deleted</situation><u></u><u></u></p>
<p class="MsoNormal"> <action ref="<a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</a>"/><u></u><u></u></p>
<p class="MsoNormal"> </reaction><u></u><u></u></p>
<p class="MsoNormal"> <reaction><u></u><u></u></p>
<p class="MsoNormal"> <situation>unlinked</situation><u></u><u></u></p>
<p class="MsoNormal"> <reconcile>false</reconcile><u></u><u></u></p>
<p class="MsoNormal"> <action><u></u><u></u></p>
<p class="MsoNormal"> <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#link" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#link</a></handlerUri><u></u><u></u></p>
<p class="MsoNormal"> </action><u></u><u></u></p>
<p class="MsoNormal"> </reaction><u></u><u></u></p>
<p class="MsoNormal"> <reaction><u></u><u></u></p>
<p class="MsoNormal"> <situation>unmatched</situation><u></u><u></u></p>
<p class="MsoNormal"> <reconcile>false</reconcile><u></u><u></u></p>
<p class="MsoNormal"> <action><u></u><u></u></p>
<p class="MsoNormal"> <handlerUri><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus" target="_blank">http://midpoint.evolveum.com/xml/ns/public/model/action-3#addFocus</a></handlerUri><u></u><u></u></p>
<p class="MsoNormal"> </action><u></u><u></u></p>
<p class="MsoNormal"> </reaction><u></u><u></u></p>
<p class="MsoNormal"> </objectSynchronization><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thank You,<u></u><u></u></p>
<p class="MsoNormal">Rod Holman<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<p class="MsoNormal">_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal"><span lang="DE">WWK Lebensversicherung a. G., Vorstand: Jürgen Schrameier (V.), Rainer Gebhart (stv. V.), Dirk Fassott; Vorsitzender des Aufsichtsrats: Dr. Frank Schindelhauer, Sitz München, Registergericht München HR B 211; WWK Allgemeine
Versicherung AG, Vorstand: Jürgen Schrameier (V.), Rainer Gebhart (stv. V.), Dirk Fassott; Vorsitzender des Aufsichtsrats: Prof. Dr. Peter Reiff, Sitz München, Registergericht München HR B 5553; WWK Vermögensverwaltungs und Dienstleistungs GmbH, Geschäftsführer:
Karl Ruffing, Stefan Sedlmeir, Sitz München, Registergericht München HR B 76323; WWK Pensionsfonds AG, Vorstand: Ansgar Eckert, Karl Ruffing, Heinrich Schüppert; Vorsitzender des Aufsichtsrats: Dirk Fassott, Sitz München, Registergericht München HR B 146295;
Hausanschrift: Marsstraße 37, 80335 München; WWK Investment S.A., Verwaltungsrat: Karl Ruffing (V.), Ansgar Eckert, Stefan Schneider (Hauck & Aufhäuser), Handelsregister: R.C. Luxembourg Nr. B 81 270, Sitz der Gesellschaft: 1c, rue Gabriel Lippmann, L-5365
Munsbach <u></u><u></u></span></p>
</div>
</div>
_______________________________________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/mailman/listinfo/midpoint</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:13px"><p><strong>Arnošt Starosta</strong><br><span style="font-size:11px;color:rgb(128,128,128)">solution architect</span></p></div><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">gsm: [+420] 603 794 932<br>e‑mail: <a href="mailto:arnost.starosta@ami.cz" target="_blank">arnost.starosta@ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px"><strong>AMI Praha a.s.</strong><br>Pláničkova 11, 162 00 Praha 6</p><p style="color:rgb(0,0,0);font-family:Arial,sans-serif;font-size:11px">tel.: [+420] 274 783 239 | web: <a href="https://www.ami.cz" target="_blank">www.ami.cz</a></p><p style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin-top:20px"><img src="http://www.ami.cz/images/podpis/ami_logo.gif" alt="AMI Praha a.s." style="border: 0px;"></p><p style="font-family:Arial,sans-serif;font-size:11px;color:rgb(170,170,170)">Textem tohoto e‑mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s.<br>jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu.<br><span style="font-size:6px"> </span><br>Tento e‑mail je určen výhradně pro potřeby jeho adresáta/ů a může obsahovat důvěrné nebo osobní<br>informace. Nejste‑li zamýšleným příjemcem, je zakázáno jakékoliv zveřejňování, zprostředkování<br>nebo jiné použití těchto informací. Pokud jste obdrželi e‑mail neoprávněně, informujte o tom prosím<br>odesílatele a vymažte neprodleně všechny kopie tohoto e‑mailu včetně všech jeho příloh. Nakládáním<br>s neoprávněně získanými informacemi se vystavujete riziku právního postihu.</p></div></div></div></div>