<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Alexej,<br>
<br>
it's fixed. Please build v3.2devel-867-g7396a69. It works (at
least in my environment + in tests).<br>
<br>
But you have to put the following attribute into your Exchange
resource configuration:<br>
<br>
<tt><schemaHandling></tt><tt><br>
</tt><tt> <objectType> (the object type for user account)</tt><tt><br>
</tt><tt> <font color="#cc0000"><volatility><b>unpredictable</b></volatility></font></tt><tt><br>
</tt>...<br>
<br>
Regards,<br>
Pavol<br>
<br>
</div>
<blockquote cite="mid:559D3B77.6070509@evolveum.com" type="cite">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<div class="moz-cite-prefix">Thank you.<br>
<br>
After reading your logs and doing some experiments locally I am
convinced this is a midPoint problem. Created a JIRA issue for
that:<a moz-do-not-send="true"
href="https://jira.evolveum.com/browse/MID-2436">
https://jira.evolveum.com/browse/MID-2436</a>.<br>
<br>
We'll fix it, hopefully in 3.2.<br>
<br>
Regards,<br>
Pavol<br>
<br>
</div>
<blockquote
cite="mid:23F96C83E30B7E4DA253EBD07C550836014DDB97@EX-MB2.solar.local"
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:"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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 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";
color:black;
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;}
pre
{mso-style-priority:99;
mso-style-link:"Стандартный HTML Знак";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTML
{mso-style-name:"Стандартный HTML Знак";
mso-style-priority:99;
mso-style-link:"Стандартный HTML";
font-family:Consolas;
color:black;
mso-fareast-language:EN-US;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:2.0cm 42.5pt 2.0cm 3.0cm;}
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 style="color:#1F497D" lang="EN-US">Attach
logs and resource configuration. Connector and midpoint
node works on one server but connector server print
timestamp in UTC, but Midpoint in Moscow time +3.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU">
midPoint [<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Wednesday, July 8, 2015 2:30 PM<br>
<b>To:</b> <a moz-do-not-send="true"
class="moz-txt-link-abbreviated"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<b>Subject:</b> Re: [midPoint] Get attribute value
from shadow after creating in Exchange<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Have you checked the idea of multiple
domain controllers?<br>
<br>
If you want, we can have a look at your problem. But I
need the following:<br>
- full model=TRACE & provisioning=TRACE log (of
midPoint)<br>
- ConnectorServer.log from the Windows server<br>
- your current configuration (i.e. the Resource object)<br>
<br>
The logs should cover the whole "user add" operation.<br>
<br>
Regards,<br>
Pavol<span
style="font-size:12.0pt;mso-fareast-language:RU"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">As I wrote yesterday I have the inbound
mapping, but it doesn’t work. And I can’t understand
why.</span><o:p></o:p></p>
<div style="border:none;border-bottom:double windowtext
2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">In logs I can see </span> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div style="border:none;border-bottom:double windowtext
2.25pt;padding:0cm 0cm 1.0pt 0cm">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">2015-07-08 09:20:51,466 TRACE: Skipping
inbound for {<a moz-do-not-send="true"
href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>}PrimarySmtpAddress
in Discr(account (default) on
8790e490-326a-46e9-ba35-9e0c1dcbb41d): Account a
priori delta exists, but doesn't have change for
processed property.</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">But this log is printed BEFORE connector
starts to work. And I have no logs after connector stop
to work</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU">
midPoint [<a moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Wednesday, July 8, 2015 12:00 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<b>Subject:</b> Re: [midPoint] Get attribute value
from shadow after creating in Exchange</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">I don't quite understand your
question.<br>
<br>
Result of connector's work (for CREATE) operation is the
UID. It is passed to Connector Framework and it then
passes it to midPoint.<br>
<br>
If you want to see the newly created object, you have to
fetch it explicitly. MidPoint does that as part of
inbound processing - well, at least I think so. Logs
would say.<br>
<br>
And I don't understand what you mean by "after that
mailbox doesn't pass to user".<br>
<br>
Pavol<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">Ok. </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">So how I can get the result of
connector’s work after it ends? </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">It seems I’ve change some preferences and
after that mailbox doesn’t pass to user</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU">
midPoint [<a moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Wednesday, July 8, 2015 11:40 AM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<b>Subject:</b> Re: [midPoint] Get attribute value
from shadow after creating in Exchange</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">It returns UID of newly created
object.<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">As I could understand connector doesn’t
return any data after operation Add. Is it right or
I’m wrong?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU">
midPoint [<a moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Tuesday, July 7, 2015 5:11 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
<b>Subject:</b> Re: [midPoint] Get attribute
value from shadow after creating in Exchange</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Well...
this is quite strange. Because the mailbox creation
is a synchronous operation, at least as far as I
know.<br>
<br>
One of the reasons could be that if you have more AD
domain controllers, and Exchange host writes the
information about the mailbox into one of them, but
AD/Exchange connector reads it from another one.<br>
<br>
Perhaps you could check if this is not the case.<br>
<br>
The solution you've proposed, i.e. introducing a
delay in connector processing, is possible.<br>
You could use custom scripts (see my yesterday's
mail to Anton on this list) to create an
after-create PowerShell script for
AccountObjectClass that would sleep for a few
seconds.<br>
This would, however, terribly slow down the creation
of accounts on your Exchange resource.<br>
I would suggest finding the reason of the weird
behavior of delayed mailbox creation.<br>
<br>
Best regards,<br>
Pavol<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">It seems that in moment where
connector is finish to work there is no mailbox.
But reconciliation the account in couple of
seconds return the email. Is it possible to create
any delay in connector’s process?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU"> midPoint [<a
moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
<b>On Behalf Of </b>Ващенков Алексей<br>
<b>Sent:</b> Tuesday, July 7, 2015 3:18 PM<br>
<b>To:</b> midPoint General Discussion<br>
<b>Subject:</b> Re: [midPoint] Get attribute
value from shadow after creating in Exchange</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US">Here my attribute mapping</span><o:p></o:p></p>
<p class="MsoNormal" style="background:#2B2B2B"><span
style="font-size:10.0pt" lang="EN-US"><attribute><br>
<c:ref>ri:PrimarySmtpAddress</c:ref><br>
<displayName></span><span
style="font-size:10.0pt">Адрес в</span><span
style="font-size:10.0pt" lang="EN-US">
Exchange</displayName><br>
<exclusiveStrong>false</exclusiveStrong><br>
<tolerant>false</tolerant><br>
<inbound><br>
<name>mail in Exchange</name><br>
<authoritative>true</authoritative><br>
<exclusive>false</exclusive><br>
<strength>normal</strength><br>
<target><br>
<c:path>$focus/emailAddress</c:path><br>
</target><br>
</inbound><br>
</attribute></span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"
lang="EN-US"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="color:windowtext;mso-fareast-language:RU"
lang="EN-US">From:</span></b><span
style="color:windowtext;mso-fareast-language:RU"
lang="EN-US"> midPoint [</span><span
style="color:windowtext;mso-fareast-language:RU"><a
moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com"><span
lang="EN-US">mailto:midpoint-bounces@lists.evolveum.com</span></a></span><span
style="color:windowtext;mso-fareast-language:RU" lang="EN-US">] <b>On
Behalf Of </b>Pavol Mederly<br>
<b>Sent:</b> Tuesday, July 7, 2015 3:11 PM<br>
<b>To:</b> </span><span
style="color:windowtext;mso-fareast-language:RU"><a
moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com"><span
lang="EN-US">midpoint@lists.evolveum.com</span></a></span><span
style="color:windowtext;mso-fareast-language:RU" lang="EN-US"><br>
<b>Subject:</b> Re: [midPoint] Get attribute
value from shadow after creating in Exchange</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Алексей,<br>
<br>
this is done via inbound expression attached to
the corresponding attribute - in this case, <b>PrimarySmtpAddress</b>
(in case of Exchange connector) or <b>mail</b>
(in case of AD connector).<br>
<br>
If you're sure your configuration is correct, just
post here your log with model=TRACE level.<br>
<br>
Best regards,<br>
Pavol<o:p></o:p></p>
</div>
<blockquote
style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span lang="EN-US">Hi.</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US">I have a
simple stupid question. Now we have process,
when user created in HR-application. After this
user in process of Live Synchronization is
imported to Midpoint. And after that account in
AD and Exchange are created for this user. And I
need to set email, which was created in
Exchange, to user in midpoint. How can I do
this? Yesterday it works, but not today.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:12.0pt"><br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:RU"><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>midPoint mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:RU"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
midPoint mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
</blockquote>
<br>
<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>