[midPoint] - Issue assigning resource to user (Active Directory - LDAP)

Rodrigo Yanis ryanis at identicum.com
Tue Aug 23 22:07:30 CEST 2016


Hello everyone,

I'm currently having issues with assigning an Active Directory (LDAP)
resource to a user. The base resource implemented is the one exposed here:
https://github.com/Evolveum/midpoint/blob/master/samples/resources/ad-ldap/ad-ldap-medusa-medium.xml

It's been configured to our environment's parameters but we haven't
customized any of the example's code.

Error I'm getting is the following:

> 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))


The base DN is defined on the following pieces of code:
Child of schemaHandling/objectType:

> <attribute>
>             <c:ref>dn</c:ref>
>             <matchingRule xmlns:mr="
> http://prism.evolveum.com/xml/ns/public/matching-rule-3
> ">mr:stringIgnoreCase</matchingRule>
>             <outbound>
>                <source>
>                   <c:path>$focus/name</c:path>
>                </source>
>                <expression>
>                   <script>
>                      <code>
>                                 'CN=' + name +
> ',ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local'
>                             </code>
>                   </script>
>                </expression>
>             </outbound>
>          </attribute>


<attribute>
>             <c:ref>ri:dn</c:ref>
>             <displayName>Distinguished Name</displayName>
>             <matchingRule xmlns:mr="
> http://prism.evolveum.com/xml/ns/public/matching-rule-3
> ">mr:distinguishedName</matchingRule>
>             <outbound>
>                <source>
>                   <c:path>$user/name</c:path>
>                </source>
>                <expression>
>                   <script>
>                      <code>
> 'CN=' + name + ',ou=Funcionarios,ou=Uninorte,dc=uninorte,dc=local'
> </code>
>                   </script>
>                </expression>
>             </outbound>
>          </attribute>


Do you have any idea why I'm getting this error?

Thanks,

*Rodrigo Yanis.*
Identicum S.A.
Jorge Newbery 3226
Tel: +54 (11) 4824-9971
ryanis at identicum.com
www.identicum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160823/f1932514/attachment.htm>


More information about the midPoint mailing list