[midPoint] Synchronizing same user with different resources (ObjectAlreadyExistsException)

Ерошенко Антон aeroshenko at frte.ru
Tue May 31 15:57:55 CEST 2016


Hello!
I’m trying to import accounts from AD resource. These accounts were already imported (LINKED) from another resource configured with same AD . So, users are the same, ADs are the same, resources configurations only differ.  I would like to get midpoint user linked to two projections (accounts).
Midpoint sync process set UNLINKED status for accounts, but then fails them and shows ObjectAlreadyExistsException instead of link the account to midpoint user.
Does it mean that its impossible to have two similar accounts for the same midpoint user? Or something wrong?

Resource config http://pastebin.com/XX6KrcQB

Exception class com.evolveum.midpoint.util.exception.SystemException thrown by object change listener model synchronization service: com.evolveum.midpoint.util.exception.ObjectAlreadyExistsException: Too many iterations (6) for account(ID {.../resource/instance-3}objectGUID = [ 2d42b6f0b3554a4cbe75fb9a8f0a1141 ], type 'default', resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3eaed(Active Directory Advanced Sync 1)): cannot determine values that satisfy constraints: Found more than one object with attribute {.../resource/instance-3}dn = [ CN=Vilk,DC=igp,DC=local]
com.evolveum.midpoint.util.exception.SystemException: com.evolveum.midpoint.util.exception.ObjectAlreadyExistsException: Too many iterations (6) for account(ID {.../resource/instance-3}objectGUID = [ 2d42b6f0b3554a4cbe75fb9a8f0a1141 ], type 'default', resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3eaed(Active Directory Advanced Sync 1)): cannot determine values that satisfy constraints: Found more than one object with attribute {.../resource/instance-3}dn = [ CN=Vilk,DC=igp,DC=local ]
                at com.evolveum.midpoint.model.impl.sync.SynchronizationService.notifyChange_aroundBody0(SynchronizationService.java:298) ~[model-impl-3.3.1.jar:na]
                at com.evolveum.midpoint.model.impl.sync.SynchronizationService$AjcClosure1.run(SynchronizationService.java:1) ~[model-impl-3.3.1.jar:na]

Thanks for any suggestions.
Anton.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20160531/ec6e3ee3/attachment.htm>


More information about the midPoint mailing list