[midPoint] (no subject)

Davy Priem davy.priem at vives.be
Mon Dec 11 13:14:02 CET 2023


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...
[cid:image001.png at 01DA2C32.2734F560]

<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<http://midpoint.evolveum.com/xml/ns/public/expression/language#Groovy%3C/language>>
                            <code>
                               'CN='+ name +',CN=Users,DC=OPS,DC=local'
                            </code>
                        </script>
                    </expression>
                </outbound>
            </attribute>

[cid:image003.png at 01DA2C32.2734F560]<https://www.crosstech.su/>

Виктория Камардина

Ведущий аналитик

+7 (999) 636-22-56<tel:%20+79996362256>
________________________________
+7 (495) 741-88-64 | crosstech.su<https://www.crosstech.su/>


Понедельник, 11 декабря 2023, 13:40 +03:00 от Davy Priem <davy.priem at vives.be<mailto: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</compose?To=kamardina.v at esapro.ru>>
Verzonden: Monday, 11 December 2023 11:21
Aan: Davy Priem <davy.priem at vives.be</compose?To=davy.priem at vives.be>>
CC: ondar.r at esapro.ru<mailto:ondar.r at esapro.ru>; midPoint General Discussion <midpoint at lists.evolveum.com</compose?To=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.

[cid:image004.png at 01DA2C32.2734F560]

[cid:image003.png at 01DA2C32.2734F560]<https://www.crosstech.su/>



Виктория Камардина



Ведущий аналитик



+7 (999) 636-22-56<tel:%20+79996362256>

________________________________

+7 (495) 741-88-64 | crosstech.su<https://www.crosstech.su/>





Понедельник, 11 декабря 2023, 13:00 +03:00 от Davy Priem <davy.priem at vives.be<http://e.mail.ru/compose/?mailto=mailto%3adavy.priem@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<mailto:midpoint-bounces at lists.evolveum.com>> Namens ????????? ???????? via midPoint
Verzonden: Monday, 11 December 2023 10:55
Aan: midpoint at lists.evolveum.com<mailto:midpoint at lists.evolveum.com>
CC: Камардина Виктория <kamardina.v at esapro.ru<mailto:kamardina.v at esapro.ru>>; ondar.r at esapro.ru<mailto: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







[cid:image003.png at 01DA2C32.2734F560]<https://www.crosstech.su/>



Виктория Камардина



Ведущий аналитик



+7 (999) 636-22-56<tel:%20+79996362256>

________________________________

+7 (495) 741-88-64 | crosstech.su<https://www.crosstech.su/>













-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231211/e7ff51f5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 183667 bytes
Desc: image001.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231211/e7ff51f5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 5509 bytes
Desc: image003.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231211/e7ff51f5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 12528 bytes
Desc: image004.png
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20231211/e7ff51f5/attachment-0005.png>


More information about the midPoint mailing list