<div dir="ltr">Hi Ivan, <div><br></div><div>I will reply all of your questions, but it is clear that I want to create users from midpoint to AD.</div><div>I don't know how to do this, I only created users from HR db to midpoint successfully, and then try to add new resource for AD.</div><div><br></div><div>1. I supposed that this reaction goes to AD and it will create user on AD with #addUser</div><div><br></div><div>2. I didn't add inbounds becaus I don't want to create users in midpoint with this connector. I have another connector scripttedsql and I'm creating users with it.</div><div><br></div><div>3. Which object template? </div><div><br></div><div>I am running task to create users from midpoint to AD by setting schema handling outbounds. </div><div><br></div><div>Thank you for your reply, I think I am confused too, and I don't know how to do this sync.<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 14, 2017 at 9:10 PM, Ivan Noris <span dir="ltr"><<a href="mailto:ivan.noris@evolveum.com" target="_blank">ivan.noris@evolveum.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>Hi,</p>
I'm confused.<br>
You say you create users in AD from midpoint. For that you only need
outbound mappings, which you seem to have.<br>
But the screenshot is from "ADSynchronization" task, which is
clearly synchronization task. And the task is complaining, because:<br>
<br>
1. you have this in the synchronization for accounts:<br>
<reaction><br>
<situation>unmatched</<wbr>situation><br>
<synchronize>true</<wbr>synchronize><br>
<action><br>
<handlerUri><a class="m_641292739869619595moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/model/action-3#addUser" target="_blank">http://midpoint.<wbr>evolveum.com/xml/ns/public/<wbr>model/action-3#addUser</a></<wbr>handlerUri><br>
</action><br>
</reaction><br>
<br>
So midpoint tries to create new USER from account.<br>
<br>
2. there are no inbounds<br>
So midpoint cannot create user.<br>
<br>
3. object template does not have any rule how to generate user/name
attribute.<br>
Poor midpoint does not have anything to do.<br>
<br>
The question is, why are you running the task with no inbounds but
#addUser reaction for unmatched...?<br>
<br>
Regards,<br>
Ivan<br>
<br>
<div class="m_641292739869619595moz-cite-prefix">On 03/14/2017 04:27 PM, Dilek Gider
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi All,
<div><br>
</div>
<div>I want to create users in AD from Midpoint. I have trusted
resource in HR DB, I can take users to Midpoint. I want to
send these users to AD. So, I have created new Resource,
attached as attachment. I am working on it for two weeks, and
couldn't succeded.</div>
<div><br>
</div>
<div>Now, I can take all AD users to midpoint with correlation,
but it gives error like below and no users created on AD. I
only set outbound attributes in SchemaHandling.</div>
<div><br>
</div>
<div><img src="cid:part1.C19758C8.C7A71998@evolveum.com" alt="Inline image 1" style="margin-right:0px" height="242" width="414"><br>
</div>
<div><i><font size="1"><br>
</font></i></div>
<div>
<div id="m_641292739869619595gmail_kxlmdy4ni0iz" style="display:inline-block">
<div><i><font size="1">SystemException: No name in new
object null as produced by template null in iteration
0, we cannot process an object without a name</font></i></div>
<div><br>
</div>
</div>
</div>
<div><br>
</div>
<div>I'm afraid of if there is no syncronization from midpoint
to AD?</div>
<div><br>
</div>
<div>Thank you...</div>
<div><br>
</div>
<div>Dilek.</div>
</div>
<br>
<fieldset class="m_641292739869619595mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>_________________
midPoint mailing list
<a class="m_641292739869619595moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com" target="_blank">midPoint@lists.evolveum.com</a>
<a class="m_641292739869619595moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre class="m_641292739869619595moz-signature" cols="72">--
Ivan Noris
Senior Identity Engineer
<a href="http://evolveum.com" target="_blank">evolveum.com</a>
</pre>
</font></span></div>
<br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br></div></div></div>