<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi Robert,</span></div>
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br>
</span></div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
please check the dead shadow retention period setting: <a href="https://docs.evolveum.com/midpoint/reference/resources/shadow/dead/" id="LPNoLPOWALinkPreview">https://docs.evolveum.com/midpoint/reference/resources/shadow/dead/</a>. I think it can happen when
the retention period is set to 0 and the shadow is deleted before the link can be removed.</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div class="elementToProof ContentPasted0" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
Hope it helps.</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1"></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Kind regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
Fabian</div>
<div class="elementToProof">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<p style="color:rgb(32, 31, 30);text-align:start;background-color:rgb(255, 255, 255);font-size:11pt;font-family:Calibri, sans-serif;margin:0px">
<b><span style="font-size:10pt;font-family:Verdana, sans-serif;margin:0px;color:black">Fabian Noll-Dukiewicz</span></b><b><span style="font-family:Verdana, sans-serif;margin:0px;color:black"></span></b></p>
<p style="color:rgb(32, 31, 30);text-align:start;background-color:rgb(255, 255, 255);font-size:11pt;font-family:Calibri, sans-serif;margin:0px">
<i><span style="font-size:10pt;font-family:Verdana, sans-serif;margin:0px;color:black">Spezialist Identity & Access Management | Geschäftsführer</span></i></p>
<p style="color:rgb(32, 31, 30);text-align:start;background-color:rgb(255, 255, 255);font-size:11pt;font-family:Calibri, sans-serif;margin:0px">
<span lang="en-US" style="font-size:10pt;font-family:Verdana, sans-serif;margin:0px;color:black">Tel.: +49 152 244 63 211</span></p>
<p style="color:rgb(32, 31, 30);text-align:start;background-color:rgb(255, 255, 255);font-size:11pt;font-family:Calibri, sans-serif;margin:0px">
<span lang="en-US" style="font-size:10pt;font-family:Verdana, sans-serif;margin:0px;color:black">Email:<span style="margin:0px"> fabian.noll-dukiewicz@veryfy.gmbh</span></span></p>
<p style="color:rgb(32, 31, 30);text-align:start;background-color:rgb(255, 255, 255);font-size:11pt;font-family:Calibri, sans-serif;margin:0px">
<span style="font-size:10pt;font-family:Verdana, sans-serif;margin:0px;color:black">Web:<span style="margin:0px"> <a href="https://veryfy.gmbh"><span style="color: rgb(0, 0, 0);">https://veryfy.gmbh</span></a></span><span style="margin: 0px; color: rgb(0, 0, 0);"> </span></span></p>
</div>
</div>
</div>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> midPoint <midpoint-bounces@lists.evolveum.com> im Auftrag von Robert Segall via midPoint <midpoint@lists.evolveum.com><br>
<b>Gesendet:</b> Mittwoch, 4. Januar 2023 15:11<br>
<b>An:</b> midpoint@lists.evolveum.com <midpoint@lists.evolveum.com><br>
<b>Cc:</b> Robert Segall <robert.segall@itconcepts.ch><br>
<b>Betreff:</b> [midPoint] Shadow deleted</font>
<div> </div>
</div>
<style>
<!--
@font-face
{font-family:Helvetica}
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
@font-face
{font-family:Verdana}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif}
a:link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
{}
-->
</style>
<div link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span lang="DE-CH">Hallo everybody</span></p>
<p class="x_MsoNormal"><span lang="DE-CH"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">We seem to have an issue with deletion.</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">In the “Synchronisation” section of the resource we have</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">…</span></p>
<p class="x_MsoNormal" style="background:white"><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF"><</span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">reaction</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"><</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">situation</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">deleted<span style="background:#EFEFEF"></</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">situation</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"><</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">synchronize</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">true<span style="background:#EFEFEF"></</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">synchronize</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"><</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">reconcile</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black">true<span style="background:#EFEFEF"></</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">reconcile</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"><</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">action</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"><</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">handlerUri</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><a href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink</handlerUri">http://midpoint.evolveum.com/xml/ns/public/model/action-3#unlink<span style="background:#EFEFEF"></<b>handlerUri</b></span></a><span style="background:#EFEFEF">></span><br>
<span style="background:#EFEFEF"></</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">action</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"><br>
<span style="background:#EFEFEF"></</span></span><b><span style="font-size:10.0pt; font-family:"Courier New"; color:navy; background:#EFEFEF">reaction</span></b><span style="font-size:10.0pt; font-family:"Courier New"; color:black; background:#EFEFEF">></span><span style="font-size:10.0pt; font-family:"Courier New"; color:black"></span></p>
<p class="x_MsoNormal"><span lang="EN-GB">…</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">But after the record is deleted (it is a ScriptedSQL resource) the
<b>shadow</b> is deleted but the <b>user</b> keeps a linkRef with a pointer to the no longer extant shadow and the wrong link count!</span></p>
<p class="x_MsoNormal"><span lang="EN-GB"> </span></p>
<p class="x_MsoNormal"><span lang="EN-GB">Anybody seen this before or has any ideas what could be done about it?</span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal" style=""><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#1F497D">Mit freundlichen Grüssen / Best regards,</span></p>
<table class="x_MsoTableGrid" border="0" cellspacing="0" cellpadding="0" width="584" style="width:437.7pt; border-collapse:collapse; border:none">
<tbody>
<tr>
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt">
<p class="x_MsoNormal"><b><span lang="EN-GB" style="font-family:"Verdana",sans-serif; color:black">Robert Segall</span></b><span lang="EN-GB" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#878787"><br>
Senior Consultant</span></p>
</td>
<td width="184" valign="top" style="width:137.7pt; padding:0cm 5.4pt 0cm 5.4pt">
<p class="x_MsoNormal" align="right" style="text-align:right"><span lang="DE-CH"><a href="https://www.itconcepts.ch/" target="_blank"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#337AB7; text-decoration:none"><img border="0" width="150" height="40" id="x_Grafik_x0020_4" alt="itc-logo" style="width:1.5625in; height:.4166in" data-outlook-trace="F:1|T:1" src="cid:image001.png@01D9204E.F6EE2380"></span></a></span><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"></span></p>
</td>
</tr>
<tr>
<td width="584" colspan="2" valign="top" style="width:437.7pt; padding:0cm 5.4pt 0cm 5.4pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"> </span></p>
</td>
</tr>
<tr style="height:1.05pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:1.05pt">
<p class="x_MsoNormal"><b><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040">ITConcepts Professional GmbH</span></b><b><span lang="DE-CH" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#2C2C2C"></span></b></p>
</td>
<td width="184" rowspan="5" valign="top" style="width:137.7pt; padding:0cm 5.4pt 0cm 5.4pt; height:1.05pt">
<p class="x_MsoNormal" align="right" style="text-align:right"><span lang="DE-CH"><a href="https://www.kununu.com/ch/itconcepts-bsm-schweiz"><span style="color:windowtext; text-decoration:none"><img border="0" width="74" height="99" id="x_Grafik_x0020_5" style="width:.7708in; height:1.0312in" data-outlook-trace="F:1|T:1" src="cid:image002.png@01D9204E.F6EE2380"></span></a></span><b><span lang="DE-CH" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#2C2C2C"></span></b></p>
</td>
</tr>
<tr style="height:11.95pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:11.95pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040">Grundstrasse 10</span><span lang="DE-CH" style="font-size:10.0pt; font-family:"Arial",sans-serif; color:#2C2C2C"></span></p>
</td>
</tr>
<tr style="height:1.05pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:1.05pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040">6343 Rotkreuz<b></b></span></p>
</td>
</tr>
<tr style="height:1.05pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:1.05pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040">t: +41 (0)41 790 33 33</span><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040"></span></p>
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#4B4040">m: +41 (0)78 794 59 55</span><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif; color:#2C2C2C"></span></p>
</td>
</tr>
<tr style="height:1.05pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:1.05pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:10.0pt; font-family:"Verdana",sans-serif"><a href="mailto:robert.segall@itconcepts.ch"><span style="color:#0563C1">r</span><span style="font-size:11.0pt; font-family:"Calibri",sans-serif; color:#0563C1">obert.segall</span><span style="color:#0563C1">@itconcepts.ch</span></a><b><span style="color:#4B4040"></span></b></span></p>
</td>
</tr>
<tr>
<td width="584" colspan="2" valign="top" style="width:437.7pt; padding:0cm 5.4pt 0cm 5.4pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"> </span></p>
</td>
</tr>
<tr style="height:11.25pt">
<td width="400" valign="top" style="width:300.0pt; padding:0cm 5.4pt 0cm 5.4pt; height:11.25pt">
<p class="x_MsoNormal"><span lang="DE-CH"><a href="https://www.itconcepts.ch/" target="_blank"><b><span style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#E32121">https://www.itconcepts.ch/</span></b></a></span><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#E32121"></span></b></p>
</td>
<td width="184" valign="top" style="width:137.7pt; padding:0cm 5.4pt 0cm 5.4pt; height:11.25pt">
<p class="x_MsoNormal" align="right" style="text-align:right"><span lang="DE-CH"><a href="https://www.facebook.com/itconcepts.ch/" target="_blank"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#337AB7; text-decoration:none"><img border="0" width="15" height="15" id="x_Grafik_x0020_3" style="width:.1562in; height:.1562in" data-outlook-trace="F:1|T:1" src="cid:image003.png@01D9204E.F6EE2380"></span></a></span><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"> </span><span lang="DE-CH"><a href="https://www.linkedin.com/company/itconcepts-bsm/" target="_blank"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#337AB7; text-decoration:none"><img border="0" width="15" height="15" id="x_Grafik_x0020_2" style="width:.1562in; height:.1562in" data-outlook-trace="F:1|T:1" src="cid:image004.png@01D9204E.F6EE2380"></span></a></span><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"> </span><span lang="DE-CH"><a href="https://twitter.com/itconceptsch?lang=de" target="_blank"><span style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#337AB7; text-decoration:none"><img border="0" width="15" height="15" id="x_Grafik_x0020_1" style="width:.1562in; height:.1562in" data-outlook-trace="F:1|T:1" src="cid:image005.png@01D9204E.F6EE2380"></span></a></span><span lang="DE-CH" style="font-size:9.0pt; font-family:"Arial",sans-serif; color:#444444"> </span></p>
</td>
</tr>
<tr style="height:11.25pt">
<td width="584" colspan="2" valign="top" style="width:437.7pt; padding:0cm 5.4pt 0cm 5.4pt; height:11.25pt">
<p class="x_MsoNormal"><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#337AB7"> </span></p>
<p class="x_MsoNormal"><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:black">Kennen Sie bereits unseren
</span></b><span lang="DE-CH"><a href="https://www.youtube.com/channel/UCkwk9_n_WYPlZCgLjUdb0EA"><b><span style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#0563C1">Youtube Kanal</span></b></a></span><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:black">?</span></b><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:black"></span></b></p>
<p class="x_MsoNormal"><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:black"> </span></b></p>
<p class="x_MsoNormal"><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#222222">20 Jahre ITConcepts
</span></b><span lang="DE-CH"><a href="https://youtu.be/KdjKp9mVxrs" target="_blank"><span style="font-size:9.0pt; font-family:"Verdana",sans-serif; color:#E32121">Zum Video</span></a></span><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Helvetica",sans-serif; color:#222222">
</span></b><b><span lang="DE-CH" style="font-size:9.0pt; font-family:"Verdana",sans-serif"></span></b></p>
</td>
</tr>
</tbody>
</table>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"> </p>
</div>
</div>
</body>
</html>