[midPoint] (no subject)

Камардина Виктория kamardina.v at esapro.ru
Tue Dec 12 10:11:09 CET 2023


Hi!
 
I changed the "name" field to "fullname" in the dn and in the Groovy script. Now many errors appear. This may be due to a space in the "fullname" field. I removed the space, but it is not removed.
 
 
Errors:
Groovy Evaluation Failed: No such property: fullname for class: instance-3}dn_in_resource_aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active_Directory)(null (focus, user)=user:776a28f2-92ae-4359-8fe4-f2e335ecf40f(clon); resource=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); configuration=systemConfiguration:00000000-0000-0000-0000-000000000001(SystemConfiguration); fullName=PPV(PolyString:clon clon); source=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); iterationToken=; containingObject=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); actor=user:00000000-0000-0000-0000-000000000002(administrator); assignmentPath=null; legal=true; iteration=0; assigned=true; projection (shadow, account)=shadow:null(null); thisObject=null; operation=add; ) in expression in mapping in outbound mapping for attribute {.../resource/instance-3}dn in resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory)
Error
Groovy Evaluation Failed: No such property: fullname for class: instance-3}dn_in_resource_aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active_Directory)(null (focus, user)=user:776a28f2-92ae-4359-8fe4-f2e335ecf40f(clon); resource=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); configuration=systemConfiguration:00000000-0000-0000-0000-000000000001(SystemConfiguration); fullName=PPV(PolyString:clon clon); source=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); iterationToken=; containingObject=resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory); actor=user:00000000-0000-0000-0000-000000000002(administrator); assignmentPath=null; legal=true; iteration=0; assigned=true; projection (shadow, account)=shadow:null(null); thisObject=null; operation=add; ) in expression in mapping in outbound mapping for attribute {.../resource/instance-3}dn in resource:aabbcf1c-4987-4d74-bc88-bc332a861c6d(Active Directory)
[ SHOW ERROR STACK ]
 
 
  Виктория Камардина
  Ведущий аналитик
  +7 (999) 636-22-56
----------------------------------------------------------------------
+7 (495) 741-88-64   |   crosstech.su
 
  
>Понедельник, 11 декабря 2023, 15:14 +03:00 от Davy Priem <davy.priem at vives.be>:
> 
>Hi,
> 
>In your mapping you have ‘fullname’ as CN whereas you use ‘name’ in the DN. 
> 
>Van: Камардина Виктория < kamardina.v at esapro.ru >
>Verzonden: Monday, 11 December 2023 11:56
>Aan: Davy Priem < davy.priem at vives.be >
>CC: ondar.r at esapro.ru; midPoint General Discussion < midpoint at lists.evolveum.com >
>Onderwerp: Re: [midPoint] (no subject)
> 
>I installed version 4.6 of docker, but the application says that version 4.9 is used…
> 
><attribute id="23">
>                <ref>ri:dn</ref>
>                <outbound>
>                    <source>
>                        <path>$focus/name</path>
>                    </source>
>                    <expression>
>                        <script>
>                            <language> http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy</language >
>                            <code>
>                               'CN='+ name +',CN=Users,DC=OPS,DC=local'
>                            </code>
>                        </script>
>                    </expression>
>                </outbound>
>            </attribute>
> 
> 
>Виктория Камардина
> 
>Ведущий аналитик
> 
>+7 (999) 636-22-56
>----------------------------------------------------------------------
>+7 (495) 741-88-64  |  crosstech.su
> 
> 
>>Понедельник, 11 декабря 2023, 13:40 +03:00 от Davy Priem < davy.priem at vives.be >:
>> 
>>Hi,
>> 
>>Sorry, my error. Can you share your resource config (outgoing for DN)?
>> 
>>PS : Is there a specific reason why you use 4.9? Latest release is 4.8.
>> 
>>Van: Камардина Виктория < kamardina.v at esapro.ru >
>>Verzonden: Monday, 11 December 2023 11:21
>>Aan: Davy Priem < davy.priem at vives.be >
>>CC: ondar.r at esapro.ru ; midPoint General Discussion < midpoint at lists.evolveum.com >
>>Onderwerp: Re: [midPoint] (no subject)
>> 
>>Thank you!
>>But I looked in the active directory when choosing dn. I can also create users from the Midpoint account in the Active directory itself. This means that the Midpoint user has sufficient rights.
>> 
>>Виктория Камардина
>> 
>>Ведущий аналитик
>> 
>>+7 (999) 636-22-56
>>----------------------------------------------------------------------
>>+7 (495) 741-88-64  |  crosstech.su
>> 
>> 
>>>Понедельник, 11 декабря 2023, 13:00 +03:00 от Davy Priem < davy.priem at vives.be >:
>>> 
>>>Hi,
>>> 
>>>I think you made an error :  'CN='+ name +',CN=Users,DC=OPS,DC=local' => CN=Users should be OU=Users
>>> 
>>>Best regards
>>>Davy Priem
>>> 
>>> 
>>>Van: midPoint < midpoint-bounces at lists.evolveum.com >  Namens  ????????? ???????? via midPoint
>>>Verzonden: Monday, 11 December 2023 10:55
>>>Aan: midpoint at lists.evolveum.com
>>>CC: Камардина Виктория < kamardina.v at esapro.ru >;  ondar.r at esapro.ru
>>>Onderwerp: [midPoint] (no subject)
>>> 
>>> 
>>>Hello,
>>> 
>>>I can get a list of users from Active Directory. But I also need to add users to Active Directory.
>>> 
>>>Figure 1 shows the mapping for sending a user to Active Directory. My script for outbound mapping:
>>>'CN='+ name +',CN=Users,DC=OPS,DC=local'
>>> 
>>>Picture 2 shows the process of adding a user to an Active Directory resource
>>> 
>>>When adding a user to an Active Directory resource, the following error occurs (Picture 3): Error adding LDAP entry CN=clon,CN=Users,DC=OPS,DC=local: validDNSyntax: 00002081: NameErr: DSID-03050EB3, problem 2003 (BAD_ATT_SYNTAX) . , data 0, best match:??'CN=clon,CN=Users,DC=OPS,DC=local'?? (34)
>>> 
>>>Tell me, please, how this can be solved?
>>>
>>>Thanks
>>> 
>>>Midpoint version : 4. 9
>>>Java version: 17.0.8.1
>>> 
>>> 
>>> 
>>> 
>>>Виктория Камардина
>>> 
>>>Ведущий аналитик
>>> 
>>>+7 (999) 636-22-56
>>>----------------------------------------------------------------------
>>>+7 (495) 741-88-64  |  crosstech.su
>>> 
>>> 
>>> 
>>> 
>>> 
>> 
> 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 183667 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5509 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 12528 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 203736 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 25553 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 153032 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 118817 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailrusigimg_DULghu2V.png
Type: image/png
Size: 5509 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231212/366f4a93/attachment-0015.png>


More information about the midPoint mailing list