<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><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;}
@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: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";
        color:black;
        mso-fareast-language:EN-US;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
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";
        color:black;
        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;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle24
        {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]--></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Thanks a lot Ivan for such a nice explanation. Now all the tasks are running fine but still DB table  to LDAP is not synchronizing.<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'>All users in DB[4 users got created in midpoint which were in DB] are getting reflected in Midpoint but only name field is getting populated all other fields[first name and last name]even though mapping is present is not getting mapped<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'>I have both resource xml files which I am using for DB table and LDAP.<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'>Can you please let me know if anything is wrong with the 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;mso-fareast-language:EN-GB'><img width=1296 height=353 id="_x0000_i1026" src="cid:image002.png@01CF54F9.3821E8D0"></span><span style='color:#1F497D'><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'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Nitin<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><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 lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:EN-GB'> midpoint-bounces@lists.evolveum.com [mailto:midpoint-bounces@lists.evolveum.com] <b>On Behalf Of </b>Ivan Noris<br><b>Sent:</b> 10 April 2014 19:34<br><b>To:</b> midpoint@lists.evolveum.com<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=MsoNormal style='margin-bottom:12.0pt'>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><br>                                                <target><br>                                                        <path>$user/name</path><br>                                                </target><br>                                        </inbound><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<o:p></o:p></p><div><p class=MsoNormal>On 04/10/2014 04:53 PM, Nitin G. Prabhu wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal><span style='color:#1F497D'>Hi ,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Resolved the below issue by changing the default password configuration.</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>But now getting below error .I am missing any configuration</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=1 cellpadding=0><tr><td style='padding:0cm .75pt .75pt .75pt'></td><td style='padding:0cm .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:12.0pt'>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</span><o:p></o:p></p></td></tr></table><p class=MsoNormal><span style='color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Regards,</span><o:p></o:p></p><p class=MsoNormal><span style='color:#1F497D'>Nitin</span><o:p></o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:EN-GB'> <a href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a> [<a 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</span><o:p></o:p></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 border=0 width=1324 height=325 id="Picture_x0020_1" src="cid:image001.png@01CF54F8.72C724B0"></span><o:p></o:p></p><p class=MsoPlainText> <o:p></o:p></p><p class=MsoPlainText><span lang=EN-US style='mso-fareast-language:EN-GB'>-----Original Message-----<br>From: <a href="mailto:midpoint-bounces@lists.evolveum.com">midpoint-bounces@lists.evolveum.com</a> [<a 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 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 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 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'> </span><o:p></o:p></p><table class=MsoNormalTable border=0 cellpadding=0 style='background:white'><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:12.0pt'>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>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p></td></tr></table><p class=MsoNormal><span style='font-size:12.0pt'> </span><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 border=0 cellpadding=0 style='background:white'><tr><td style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";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></table><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:EN-GB'><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 href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><o:p></o:p></pre><pre><a 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:EN-GB'><br><br><o:p></o:p></span></p><pre>-- <o:p></o:p></pre><pre>  Ing. Ivan Noris<o:p></o:p></pre><pre>  Senior Identity Management Engineer<o:p></o:p></pre><pre>  evolveum.com<o:p></o:p></pre><pre>  ___________________________________________<o:p></o:p></pre><pre>           "Idem per idem - semper idem Vix."<o:p></o:p></pre></div><br><br><table bgcolor=white style="color:black"><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></table></body></html>