<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Rodrigo,<br>
<br>
Actually, I do not see any base DN specification. What you specify
there is a DN for new entries. It is not base DN. Base DN is used by
LDAP searches as a starting point for the search: a node in the DIT
tree to search from. However, I do not think that your problem is
related to base DN. It looks like a plain and simple error
indicating that the LDAP connector haven't found an entry that it
was looking for. This may be caused by a number of things. Maybe
midPoint haven't created the entry. Maybe it was created and later
deleted. It is almost impossible to tell from that single error
message.<br>
<br>
What you should do is try to troubleshoot the operation. I have just
expanded our troubleshooting guide. That should lead you through the
troubleshooting process that we usually use:<br>
<br>
<a class="moz-txt-link-freetext" href="https://wiki.evolveum.com/display/midPoint/Troubleshooting+Mappings">https://wiki.evolveum.com/display/midPoint/Troubleshooting+Mappings</a><br>
<br>
Look especially at the "Provisioning Branch" section. I suspect that
you will find your issue there.<br>
<br>
<pre class="moz-signature" cols="72">--
Radovan Semancik
Software Architect
evolveum.com
</pre>
<br>
<br>
<div class="moz-cite-prefix">On 08/23/2016 10:07 PM, Rodrigo Yanis
wrote:<br>
</div>
<blockquote
cite="mid:CADu-59HuwwUb-c4Kb4K=LfxYFbmwaTP08ugHeim_gCAWN_C7AA@mail.gmail.com"
type="cite">
<div dir="ltr">Hello everyone,
<div><br>
</div>
<div>I'm currently having issues with assigning an Active
Directory (LDAP) resource to a user. The base resource
implemented is the one exposed here: <a moz-do-not-send="true"
href="https://github.com/Evolveum/midpoint/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml">https://github.com/Evolveum/midpoint/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml</a></div>
<div><br>
</div>
<div>It's been configured to our environment's parameters but we
haven't customized any of the example's code.</div>
<div><br>
</div>
<div>Error I'm getting is the following: </div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><span
style="color:rgb(51,51,51);font-family:"Source Sans
Pro","Helvetica
Neue",Helvetica,Arial,sans-serif;line-height:20px"><font
size="1">org.identityconnectors.framework.common.exceptions.UnknownUidException(LDAP
error during search in
CN=testUser06,ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local:
noSuchObject: 0000208D: NameErr: DSID-03100238, problem
2001 (NO_OBJECT), data 0, best match
of:??'OU=Funcionarios,OU=Uninorte,DC=uninorte,DC=local'??
(32)):
org.identityconnectors.framework.common.exceptions.UnknownUidException(LDAP
error during search in
CN=testUser06,ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local:
noSuchObject: 0000208D: NameErr: DSID-03100238, problem
2001 (NO_OBJECT), data 0, best match
of:??'OU=Funcionarios,OU=Uninorte,DC=uninorte,DC=local'??
(32)):
org.identityconnectors.framework.common.exceptions.UnknownUidException(LDAP
error during search in
CN=testUser06,ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local:
noSuchObject: 0000208D: NameErr: DSID-03100238, problem
2001 (NO_OBJECT), data 0, best match
of:??'OU=Funcionarios,OU=Uninorte,DC=uninorte,DC=local'??
(32)):
org.identityconnectors.framework.common.exceptions.UnknownUidException(LDAP
error during search in
CN=testUser06,ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local:
noSuchObject: 0000208D: NameErr: DSID-03100238, problem
2001 (NO_OBJECT), data 0, best match
of:??'OU=Funcionarios,OU=Uninorte,DC=uninorte,DC=local'??
(32))</font></span></blockquote>
<div><br>
</div>
<div>The base DN is defined on the following pieces of code:</div>
<div>Child of schemaHandling/objectType:</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><font size="1"><attribute><br>
<c:ref>dn</c:ref><br>
<matchingRule xmlns:mr="<a
moz-do-not-send="true"
href="http://prism.evolveum.com/xml/ns/public/matching-rule-3">http://prism.evolveum.com/xml/ns/public/matching-rule-3</a>">mr:stringIgnoreCase</matchingRule><br>
<outbound><br>
<source><br>
<c:path>$focus/name</c:path><br>
</source><br>
<expression><br>
<script><br>
<code><br>
'CN=' + name +
',ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local'<br>
</code><br>
</script><br>
</expression><br>
</outbound><br>
</attribute></font></blockquote>
</div>
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><font size="1"><attribute><br>
<c:ref>ri:dn</c:ref><br>
<displayName>Distinguished
Name</displayName><br>
<matchingRule xmlns:mr="<a
moz-do-not-send="true"
href="http://prism.evolveum.com/xml/ns/public/matching-rule-3">http://prism.evolveum.com/xml/ns/public/matching-rule-3</a>">mr:distinguishedName</matchingRule><br>
<outbound><br>
<source><br>
<c:path>$user/name</c:path><br>
</source><br>
<expression><br>
<script><br>
<code><br>
<span class="" style="white-space:pre"> </span>'CN='
+ name +
',ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local'<br>
<span class="" style="white-space:pre"> </span></code><br>
</script><br>
</expression><br>
</outbound><br>
</attribute></font></blockquote>
</div>
<div>
<div class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><br>
</div>
<div>Do you have any idea why I'm getting
this error?</div>
<div><br>
</div>
<div>Thanks,</div>
<div dir="ltr"><br>
</div>
<div dir="ltr"><font face="arial,
helvetica, sans-serif"><b>Rodrigo
Yanis.</b><br>
<img moz-do-not-send="true"
src="http://www.identicum.com/img/favicon.ico">Identicum
S.A.<br>
</font>Jorge Newbery 3226<br>
Tel: +54 (11) 4824-9971<font
face="arial, helvetica, sans-serif"><br>
<a moz-do-not-send="true"
href="mailto:ryanis@identicum.com"
target="_blank"><font
color="#0b5394">ryanis@identicum.com</font></a><br>
<a moz-do-not-send="true"
href="http://www.identicum.com/"
target="_blank"><font
color="#0b5394">www.identicum.com</font></a></font></div>
</div>
</div>
</div>
</div>
</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>