<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Georgijs,</p>
<p>I assume you are using Resource Wizard; and that you are using it
on midPoint 3.4.</p>
<p>I see two issues in your code:</p>
<ol>
<li>The <correlation> element shouldn't be there. <br>
</li>
<li><path>uid</path> is not correct, as "uid" is not a
property of midPoint user. Maybe you meant "name" here (this
serves as user's identifier in midPoint).<br>
</li>
</ol>
<p>So your rule should perhaps look like this:</p>
<p><equal><br>
<path>name</path><br>
<expression><br>
<path>$account/attributes/ri:uid</path><br>
</expression><br>
</equal></p>
Best regards,<br>
--
<pre class="moz-signature" cols="72">Pavol Mederly
Software developer
evolveum.com
</pre>
<div class="moz-cite-prefix">On 03.08.2016 15:46, Georgijs Radovs
wrote:<br>
</div>
<blockquote
cite="mid:CAA7aPsbTtEONivBBu4Nv0pX_ppDn9_hSSQHe0TkuL2Qoz2xujw@mail.gmail.com"
type="cite">
<div dir="ltr">Hi!
<div><br>
</div>
<div>This is my setup:</div>
<div>midPoint instance with LDAP connector to 389 Directory
Server instance</div>
<div>configured midPoint resource with posixAccount objectClass
with attribute mappings, pointed to 389 DS instance</div>
<div>389 DS instance</div>
<div><br>
</div>
<div>The general idea of my setup is this:</div>
<div><br>
</div>
<div>Administrator creates a new user in midPoint instance,
assigns him resource projection for 389 DS, this user is
created in 389 DS, and all subsequent changes of user
information are done in midPoint and synchronized to 389 DS
instance.</div>
<div>User Synchronization should be one-way: user creation and
configuration in midPoint -> synchronization to 389 DS. </div>
<div><br>
</div>
<div>I'm having a problem with synchronization and correlation
expressions.</div>
<div>I'm trying to setup an expression based on this
information:</div>
<div><a moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/Correlation+and+Confirmation+Expressions">https://wiki.evolveum.com/display/midPoint/Correlation+and+Confirmation+Expressions</a><br>
but when I try to update clause, I get this error:<br>
Could not create MaxXNode from provided XML filterClause.
Please enter correct expression. Reason: {0} <br>
<br>
This is my expression:<br>
<div><br>
</div>
<div><correlation></div>
<div> <q:equal></div>
<div> <q:path>uid</q:path></div>
<div> <expression></div>
<div> <path></div>
<div> $account/attributes/ri:uid</div>
<div> </path></div>
<div> </expression></div>
<div> </q:equal></div>
<div></correlation></div>
</div>
<div><br>
</div>
<div>Help, anyone?</div>
<div><br>
</div>
<div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<table
style="color:rgb(0,0,0);font-family:"times
new roman";font-size:medium" height="60"
border="0" cellpadding="0" cellspacing="0"
width="300">
<tbody>
<tr>
<td style="width:70px;vertical-align:bottom"
valign="bottom"><br>
<br>
<img moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/portraits/Georgijs_Radovs.gif"
style="vertical-align: bottom;"
height="58" align="bottom" border="0"
width="58"></td>
<td style="vertical-align:bottom"
valign="bottom">
<div
style="height:11px;font-size:12px;line-height:12px"><span
style="font-family:arial,helvetica,sans-serif;color:rgb(149,149,149)">Georgijs
Radovs</span></div>
<div
style="height:14px;padding-top:4px;font-size:13px;line-height:13px"><span
style="color:rgb(207,12,12);font-family:arial,helvetica,sans-serif">Junior
Systems Administrator</span></div>
<div
style="height:14px;padding-top:4px;line-height:13px;font-size:13px">
<table height="13" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="padding-right:8px"><a
moz-do-not-send="true"
href="http://www.scandiweb.com/"
target="_blank"><img
moz-do-not-send="true"
alt="Scandiweb.com"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/www_h.gif"
style="display: block;"
height="13" align="top"
border="0" width="33"></a></td>
<td style="padding-right:8px"><a
moz-do-not-send="true"
href="https://www.linkedin.com/company/scandiweb"
target="_blank"><img
moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/in_h.gif"
alt="LinkedIn" style="display:
block;" height="13"
align="top" border="0"
width="15"></a></td>
<td style="padding-right:7px"><a
moz-do-not-send="true"
href="https://www.facebook.com/scandiweb"
target="_blank"><img
moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/f_h.gif"
alt="Facebook" style="display:
block;" height="13"
align="top" border="0"
width="6"></a></td>
<td style="padding-right:7px"><a
moz-do-not-send="true"
href="https://twitter.com/scandiweb"
target="_blank"><img
moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/t_h.gif"
alt="Twitter" style="display:
block;" height="13"
align="top" border="0"
width="18"></a></td>
<td style="padding-right:8px"><a
moz-do-not-send="true"
href="https://www.flickr.com/photos/126968098@N04/"
target="_blank"><img
moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/fl_h.gif"
alt="Dropbox" style="display:
block;" height="13"
align="top" border="0"
width="26"></a></td>
<td><a moz-do-not-send="true"
href="https://www.youtube.com/channel/UCQKucH_fDghjSM43QBX0itg/videos"
target="_blank"><img
moz-do-not-send="true"
src="https://d3szvo6oju4cp5.cloudfront.net/icons/y_h.gif"
alt="Youtube" style="display:
block;" height="13"
align="top" border="0"
width="18"></a></td>
</tr>
</tbody>
</table>
</div>
</td>
</tr>
</tbody>
</table>
<br>
<div><a moz-do-not-send="true"
href="http://scandiweb.com/services/247-magento-support?utm_source=signature&utm_medium=banner&utm_campaign=support"
target="_blank"><img moz-do-not-send="true"
src="https://s3-eu-west-1.amazonaws.com/scandiweb-assets/mail/762640d2-3fbb-41df-955b-a540663f835a.jpg"></a><br>
</div>
</div>
</div>
</div>
</div>
</div>
</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>
</body>
</html>