<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Florin,</p>
<p>midPoint uses case sensitive matching by default.<br>
</p>
<p>Try to use e.g. this:</p>
<p>...<br>
</p>
<p> <correlation><br>
<q:equal><br>
<b>
<q:matching>polyStringNorm</q:matching></b><b><br>
</b>
<q:path>c:name</q:path><br>
<expression><br>
<description>Matches
using sAMAccountName.</description><br>
<path><br>
declare namespace
ri=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>;<br>
$account/attributes/ri:sAMAccountName<br>
</path><br>
</expression><br>
</q:equal><br>
</correlation><br>
...<br>
</p>
For polyString attributes (such as user/name) use that; for string
attributes use <br>
<q:matching>stringIgnoreCase</q:matching><br>
<br>
Hope this helps.<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 07/22/2016 10:10 PM, Florin.
Stingaciu wrote:<br>
</div>
<blockquote
cite="mid:CAMQHPY2pwVurq8Nt_7ooR2ookx2esFG7gze8EmwFFPyF9F+S1Q@mail.gmail.com"
type="cite">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I'm running into this issue when importing accounts. I have
a user that already has an account and the import task should
find user and link it to the account. Instead an unmatched
situation is found and the object fails to be processed with
the following error:</div>
<div>
<p class=""><span class="">2016-07-22 19:47:44,429 []
[midPointScheduler_Worker-2] ERROR
(com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl):
SYNCHRONIZATION: Error in synchronization on
<a class="moz-txt-link-freetext" href="resource:7ac978b7-3eed-4fa8-8f24-2cf8e10f79ee(Corporate">resource:7ac978b7-3eed-4fa8-8f24-2cf8e10f79ee(Corporate</a>
Active Directory) for situation UNMATCHED:
ObjectAlreadyExistsException: Error processing
focus(user:null(aditya_kuppa)): constraint violation:
Found conflicting existing object with property name =
PP({.../common/common-3}name):[PPV(PolyString:user_name)]:
user:83e5be67-9e12-4bdf-a001-be88251a14c3(user_name).
Change was
ResourceObjectShadowChangeDescription(objectDelta=ObjectDelta(ShadowType:2975901f-e9de-4079-b2e2-f7a615684a12,ADD:
shadow:2975901f-e9de-4079-b2e2-f7a615684a12(CN=User
Name,OU=People,DC=SYMC,DC=EXAMPLE,DC=COM)),
currentShadow=shadow:2975901f-e9de-4079-b2e2-f7a615684a12(CN=User
Name,OU=People,DC=SYMC,DC=EXAMPLE,DC=COM), oldShadow=null,
sourceChannel=<a moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import">http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import</a>,
resource=<a class="moz-txt-link-freetext" href="resource:7ac978b7-3eed-4fa8-8f24-2cf8e10f79ee(Corporate">resource:7ac978b7-3eed-4fa8-8f24-2cf8e10f79ee(Corporate</a> Active
Directory))</span></p>
<p class=""><span class="">com.evolveum.midpoint.util.exception.ObjectAlreadyExistsException:
Error processing focus(user:null(user_name)): constraint
violation: Found conflicting existing object with property
name =
PP({.../common/common-3}name):[PPV(PolyString:user_name)]:
user:83e5be67-9e12-4bdf-a001-be88251a14c3(user_name)</span></p>
<p class="">I believe this is due to a case sensitivity issue.
Here's my entry for my ri:user attribute: <a
moz-do-not-send="true" href="http://pastebin.com/sBkddsZn">http://pastebin.com/sBkddsZn</a><br>
<br>
As you can tell, I convert everything to lower case on the
inbound rule and I believe the correlation attribute is case
sensitive. Is there any way to specify that the correlation
attribute should be case insensitive? </p>
<p class="">Here's my correlation entry: <a
moz-do-not-send="true" href="http://pastebin.com/NW0dgsiv">http://pastebin.com/NW0dgsiv</a> </p>
<p class="">Thanks, <br>
-F </p>
<p class=""><span class=""><br>
</span></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Ing. Ivan Noris
Senior Identity Management Engineer & IDM Architect
evolveum.com evolveum.com/blog/
___________________________________________________
"Semper ID(e)M Vix."
</pre>
</body>
</html>