<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Nitin,<br>
<br>
I believe this error is caused by a missing user/name property after
your user is synchronized and should be created in midPoint. This
property is null.<br>
<br>
If there is no user/name (i.e. name attribute of the new user) the
synchronization cannot create user.<br>
<br>
I don't know what resource object are you using, but this is <u>typically</u>
because you're missing <inbound> on resource attribute that
has <target>user/name</target>.<br>
<br>
Typically this is the unique attribute of the source resource that
is to become the user/name in midPoint.<br>
<br>
<attribute><br>
<ref>icfs:name</ref><br>
<!-- Readable name for
the attribute. This will be used in GUI --><br>
<displayName>Name</displayName><br>
<limitations><br>
<minOccurs>0</minOccurs><br>
<access><br>
<create>true</create><br>
<read>true</read><br>
<update>true</update><br>
</access><br>
</limitations><br>
<b> <inbound></b><b><br>
</b><b>
<target></b><b><br>
</b><b>
<path>$user/name</path></b><b><br>
</b><b>
</target></b><b><br>
</b><b> </inbound></b><b><br>
</b> </attribute><br>
<br>
<br>
... this is from our sample localhost-dbtable-advanced-sync.xml -
I'm sure you have seen it before. The icfs:name (corresponding to
dbtable attribute configured as keyColumn) will be synced to
user/name attribute.<br>
<br>
To make it short, and useful for other in similar situation:<br>
<br>
The synchronization must succeed in the following steps to create
new user from resource account:<br>
1. synchronization must be configured (<synchronization>
section)<br>
2. for livesync, LiveSync task must be running<br>
3. correlation rule must be in resource <synchronization>
section<br>
4. reaction for "unmatched" situation must be set to "addUser"<br>
5. at least user/name attribute must be filled during
synchronization by inbound expression (see above).<br>
6. password must be generated for new midPoint user during
synchronization by inbound expression (<generate/> - as
answered earlier today)<br>
<br>
Hope this helps.<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="moz-cite-prefix">On 04/10/2014 04:53 PM, Nitin G. Prabhu
wrote:<br>
</div>
<blockquote
cite="mid:305192DBBFDF8F41AF7879DE170FDEB004F30F6497@IND-MHP1MCL001.mastek.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:"Calibri","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle21
{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:72.0pt 72.0pt 72.0pt 72.0pt;}
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">Hi ,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Resolved the
below issue by changing the default password configuration.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">But now getting
below error .I am missing any configuration<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<table class="MsoNormalTable" border="0" cellpadding="0"
cellspacing="1">
<tbody>
<tr>
<td style="padding:0cm .75pt .75pt .75pt"><br>
</td>
<td style="padding:0cm .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:EN-GB">Internal
Error: Synchronization error:
com.evolveum.midpoint.util.exception.SystemException:
Synchronization action failed, reason: Focus
UserType:null(null) does not have a name after
inbound and user policy<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Nitin<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a>
[<a class="moz-txt-link-freetext" href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>] <b>On
Behalf Of </b>Nitin G. Prabhu<br>
<b>Sent:</b> 10 April 2014 15:04<br>
<b>To:</b> midPoint General Discussion<br>
<b>Subject:</b> Re: [midPoint] Error while
Synchronization<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoPlainText">Thanks Ivan,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">That issue is resolved now but now I am
getting below error.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-GB"><img
id="Picture_x0020_1"
src="cid:part1.06080407.06000307@evolveum.com"
height="325" width="1324"></span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText"><span style="mso-fareast-language:EN-GB"
lang="EN-US">-----Original Message-----<br>
From: <a moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a>
[<a moz-do-not-send="true"
href="mailto:midpoint-bounces@lists.evolveum.com">mailto:midpoint-bounces@lists.evolveum.com</a>]
On Behalf Of Ivan Noris<br>
Sent: 10 April 2014 14:37<br>
To: <a moz-do-not-send="true"
href="mailto:midpoint@lists.evolveum.com">midpoint@lists.evolveum.com</a><br>
Subject: [midPoint] Error while Synchronization</span><o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi Nitin,<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">you get "Found more than one account
with the identifier..." error because livesync thinks there
are multiple accounts with to-be-unique attribute "uid".<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">If this is DB Table: Please check the
"keyColumn" configuration parameter in your db table resource.
It seems you have configured this incorrectly...<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regarding your problem with "timestamp"
type, can you please post how your database table was
constructed so that we can replicate this?<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Ivan<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText"> Ing. Ivan Noris<o:p></o:p></p>
<p class="MsoPlainText"> IT Architect<o:p></o:p></p>
<p class="MsoPlainText"> nLight, s.r.o.<o:p></o:p></p>
<p class="MsoPlainText">
___________________________________________________<o:p></o:p></p>
<p class="MsoPlainText"> "Semper cautus - semper paratus -
semper idem Vix."<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">midPoint mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="mailto:midPoint@lists.evolveum.com"><span
style="color:windowtext;text-decoration:none">midPoint@lists.evolveum.com</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a moz-do-not-send="true"
href="http://lists.evolveum.com/mailman/listinfo/midpoint"><span
style="color:windowtext;text-decoration:none">http://lists.evolveum.com/mailman/listinfo/midpoint</span></a><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<table class="MsoNormalTable" style="background:white"
border="0" cellpadding="0">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:black;mso-fareast-language:EN-GB">MASTEK
LTD.<br>
In the US, we're called MAJESCOMASTEK<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Opinions expressed in this e-mail are those of the
individual and not that of Mastek Limited, unless
specifically indicated to that effect. Mastek
Limited does not accept any responsibility or
liability for it. This e-mail and attachments (if
any) transmitted with it are confidential and/or
privileged and solely for the use of the intended
person or entity to which it is addressed. Any
review, re-transmission, dissemination or other use
of or taking of any action in reliance upon this
information by persons or entities other than the
intended recipient is prohibited. This e-mail and
its attachments have been scanned for the presence
of computer viruses. It is the responsibility of the
recipient to run the virus check on e-mails and
attachments before opening them. If you have
received this e-mail in error, kindly delete this
e-mail from desktop and server.<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
</div>
<br>
<br>
<table style="color:black" bgcolor="white">
<tbody>
<tr>
<td>MASTEK LTD.<br>
In the US, we're called MAJESCOMASTEK<br>
<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
Opinions expressed in this e-mail are those of the
individual and not that of Mastek Limited, unless
specifically indicated to that effect. Mastek Limited does
not accept any responsibility or liability for it. This
e-mail and attachments (if any) transmitted with it are
confidential and/or privileged and solely for the use of
the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of
or taking of any action in reliance upon this information
by persons or entities other than the intended recipient
is prohibited. This e-mail and its attachments have been
scanned for the presence of computer viruses. It is the
responsibility of the recipient to run the virus check on
e-mails and attachments before opening them. If you have
received this e-mail in error, kindly delete this e-mail
from desktop and server.<br>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
</td>
</tr>
</tbody>
</table>
<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
evolveum.com
___________________________________________
"Idem per idem - semper idem Vix."
</pre>
</body>
</html>