[midPoint] Configuring synchronisation of resource account to user
Tommy Montegu
tommy.montegu at exodata.fr
Fri Apr 21 13:54:44 CEST 2017
Hello,
I find where the problem was. I have no mapping for emailAddress in my
user in midPoint.
I map this, and now in my resource Zimbra, I saw that my account are
UNLINKED. (Some are unmatched because they doesnt exist in midpoint, and
some are disputed, because they have no mail)
When I try to reconcile (with a reconciliation task, configure with
objectClass zimbraAccount and in dry mode), I got errors and my account
stay unlinked.
Here what I have (for one account) in idm.log :
2017-04-21 15:47:41,001 [] [midPointScheduler_Worker-1] ERROR
(com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandle
r): Reconciliation of object
shadow:3f87aac6-69ed-440f-9f6f-bd50243696f2(uid=teddy.louis,ou=people,dc=e
xodata,dc=fr) from
resource:48231e70-d81c-4cad-a6da-c84aed4fe4c6(Zimbra_AD) failed: Error
occurred during resource object shadow owner lookup, reason: Couldn't
convert query.
com.evolveum.midpoint.util.exception.SystemException: Error occurred
during resource object shadow owner lookup, reason: Couldn't convert
query.
at
com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.determine
Situation(SynchronizationServiceImpl.java:558) ~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.notifyCha
nge(SynchronizationServiceImpl.java:253) ~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ChangeNotificationDispatcherImpl.n
otifyChange(ChangeNotificationDispatcherImpl.java:148)
~[provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.hand
leObjectInternal(SynchronizeAccountResultHandler.java:201)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.SynchronizeAccountResultHandler.hand
leObject(SynchronizeAccountResultHandler.java:126)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler
.processRequest(AbstractSearchIterativeResultHandler.java:326)
[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeResultHandler
.handle(AbstractSearchIterativeResultHandler.java:188)
[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl$2.handle(P
rovisioningServiceImpl.java:1200) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ShadowCache$1.handle(ShadowCache.j
ava:863) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter$3.handle(R
esourceObjectConverter.java:1098) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl$2.han
dle(ConnectorInstanceIcfImpl.java:2315) [provisioning-impl-3.5.jar:na]
at
org.identityconnectors.framework.impl.api.SearchResultsHandlerLoggingProxy
.handle(SearchResultsHandlerLoggingProxy.java:64)
[connector-framework-internal-1.4.2.18.jar:na]
at
org.identityconnectors.framework.impl.api.StreamHandlerUtil$ObjectStreamHa
ndlerAdapter.handle(StreamHandlerUtil.java:101)
[connector-framework-internal-1.4.2.18.jar:na]
at
org.identityconnectors.framework.impl.api.BufferedResultsProxy.invoke(Buff
eredResultsProxy.java:262) [connector-framework-internal-1.4.2.18.jar:na]
at
org.identityconnectors.framework.impl.api.DelegatingTimeoutProxy.invoke(De
legatingTimeoutProxy.java:94)
[connector-framework-internal-1.4.2.18.jar:na]
at com.sun.proxy.$Proxy182.search(Unknown Source) [na:na]
at sun.reflect.GeneratedMethodAccessor1229.invoke(Unknown Source)
~[na:na]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
pl.java:43) ~[na:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498)
~[na:1.8.0_121]
at
org.identityconnectors.framework.impl.api.LoggingProxy.invoke(LoggingProxy
.java:83) [connector-framework-internal-1.4.2.18.jar:na]
at com.sun.proxy.$Proxy182.search(Unknown Source) [na:na]
at
org.identityconnectors.framework.impl.api.AbstractConnectorFacade.search(A
bstractConnectorFacade.java:177)
[connector-framework-internal-1.4.2.18.jar:na]
at
com.evolveum.midpoint.provisioning.ucf.impl.ConnectorInstanceIcfImpl.searc
h(ConnectorInstanceIcfImpl.java:2411) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ResourceObjectConverter.searchReso
urceObjects(ResourceObjectConverter.java:1108)
[provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative
(ShadowCache.java:870) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative
(ShadowCache.java:795) [provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObje
ctsIterative(ProvisioningServiceImpl.java:1248)
[provisioning-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.ReconciliationTaskHandler.performRes
ourceReconciliation(ReconciliationTaskHandler.java:468)
[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.ReconciliationTaskHandler.runInterna
l(ReconciliationTaskHandler.java:263) [model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.ReconciliationTaskHandler.run(Reconc
iliationTaskHandler.java:146) [model-impl-3.5.jar:na]
at
com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeHandler
(JobExecutor.java:648) [task-quartz-impl-3.5.jar:na]
at
com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.executeSingleT
ask(JobExecutor.java:469) [task-quartz-impl-3.5.jar:na]
at
com.evolveum.midpoint.task.quartzimpl.execution.JobExecutor.execute(JobExe
cutor.java:173) [task-quartz-impl-3.5.jar:na]
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
[quartz-2.2.3.jar:na]
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:5
73) [quartz-2.2.3.jar:na]
Caused by:
com.evolveum.midpoint.util.exception.ExpressionEvaluationException:
Couldn't convert query.
at
com.evolveum.midpoint.model.impl.sync.CorrelationConfirmationEvaluator.fin
dUsersByCorrelationRule(CorrelationConfirmationEvaluator.java:213)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.CorrelationConfirmationEvaluator.fin
dFocusesByCorrelationRule(CorrelationConfirmationEvaluator.java:97)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.determine
SituationWithCorrelation(SynchronizationServiceImpl.java:646)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.SynchronizationServiceImpl.determine
Situation(SynchronizationServiceImpl.java:552) ~[model-impl-3.5.jar:na]
... 34 common frames omitted
Caused by:
com.evolveum.midpoint.util.exception.ExpressionEvaluationException:
Couldn't evaluate
expressioncom.evolveum.midpoint.xml.ns._public.common.common_3.ExpressionT
ype at 75836534[description=<null>,extension=<null>,trace=<null>,stringFilter
=<null>,variable=<null>,returnMultiplicity=<null>,allowEmptyValues=<null>,
queryInterpretationOfNoValue=<null>,expressionEvaluator=[javax.xml.bind.JA
XBElement at 2cc5594]]: Expression returned more than one value (2) in
Correlation expression
at
com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateFilte
rExpressionsInternal(ExpressionUtil.java:619) ~[model-common-3.5.jar:na]
at
com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateQuery
Expressions(ExpressionUtil.java:457) ~[model-common-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.CorrelationConfirmationEvaluator.eva
luateQueryExpressions(CorrelationConfirmationEvaluator.java:375)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.CorrelationConfirmationEvaluator.upd
ateFilterWithAccountValues(CorrelationConfirmationEvaluator.java:369)
~[model-impl-3.5.jar:na]
at
com.evolveum.midpoint.model.impl.sync.CorrelationConfirmationEvaluator.fin
dUsersByCorrelationRule(CorrelationConfirmationEvaluator.java:193)
~[model-impl-3.5.jar:na]
... 37 common frames omitted
Caused by:
com.evolveum.midpoint.util.exception.ExpressionEvaluationException:
Expression returned more than one value (2) in Correlation expression
at
com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateExpre
ssion(ExpressionUtil.java:728) ~[model-common-3.5.jar:na]
at
com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateExpre
ssion(ExpressionUtil.java:697) ~[model-common-3.5.jar:na]
at
com.evolveum.midpoint.model.common.expression.ExpressionUtil.evaluateFilte
rExpressionsInternal(ExpressionUtil.java:577) ~[model-common-3.5.jar:na]
... 41 common frames omitted
Could you debug this please ? And telle why the link doesnt work ?
I joined you my resource configuration file to you understand how I have
configure this.
Thanks to helping me.
I hope to hearing from you soon.
Best regards
Tommy Montégu Technicien Support, Exodata
<https://s3.amazonaws.com/webapp.wisestamp.com/Rc4a7BkzTqaiA9hJykP4_Screen
%20Shot%202014-05-14%20at%2016.07.12.png>
Standard : <callto:02%2062%20977%20955> 02 62 977 955
Email : <mailto:tommy.montegu at exodata.fr> tommy.montegu at exodata.fr
Website :
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Fwww.exodata.fr%2F&si=5018836136886272&pi=57234
252-d6e6-4462-cce5-05a8cd271064> www.exodata.fr
Adresse : 4, rue Émile Hugot - 97490 Sainte-Clotilde
<http://facebook.com/exodata>
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Ftwitter.com%2Fexodatagroup&si=5018836136886272
&pi=57234252-d6e6-4462-cce5-05a8cd271064>
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fexodata&si=501883
6136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064>
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Fplus.google.com%2Fb%2F112099146097934583192%2F
112099146097934583192%2Fabout&si=5018836136886272&pi=57234252-d6e6-4462-cc
e5-05a8cd271064>
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Fwww.slideshare.net%2Fexodata&si=50188361368862
72&pi=57234252-d6e6-4462-cce5-05a8cd271064>
<http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7d
K_MMdBzM2-04?t=http%3A%2F%2Fgoo.gl%2Fmaps%2F0RNBG&si=5018836136886272&pi=5
7234252-d6e6-4462-cce5-05a8cd271064>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170421/69fb37f8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Ressource_AD_Zimbra.xml
Type: text/xml
Size: 10062 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170421/69fb37f8/attachment.xml>
More information about the midPoint
mailing list