<div dir="ltr">Hi Jan,<div><br></div><div>try to use maxOccurs=1, like:</div><div><div><span style="white-space:pre">                        </span><attribute></div><div><span style="white-space:pre">                             </span><c:ref>ri:description</c:ref></div><div><span style="white-space:pre">                             </span><displayName>Description</displayName></div><div><span style="white-space:pre">                            </span><!-- in AD schema defined as multi value, but in realistic single --></div><div><span style="white-space:pre">                           </span><limitations></div><div><span style="white-space:pre">                                   </span><minOccurs>0</minOccurs></div><div><span style="white-space:pre">                                  </span><maxOccurs>1</maxOccurs></div><div><span style="white-space:pre">                          </span></limitations></div><div><span style="white-space:pre">                          </span><outbound></div><div><span style="white-space:pre">                                      </span>.....</div><div><span style="white-space:pre">                         </span></outbound></div><div><span style="white-space:pre">                     </span></attribute></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-12-29 18:19 GMT+01:00 Jan Kaspar <span dir="ltr"><<a href="mailto:Caspi@seznam.cz" target="_blank">Caspi@seznam.cz</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Hi all,<div><br></div><div>I have latest midpoint 3.7 version and I am expiriencing an error with syncing description on user and group object ou to AD.</div><div><span style="background-color:transparent">When object in AD has null value of description attribute it works. I can easily add description and suffix " - managed by MidPoint"</span><br></div><div><span style="background-color:transparent">Problem is when i change the value to difedrent one, or in ad there is already some value.</span><br></div><div><br></div><div>then i got and error:</div><div><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Operation</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><span style="box-sizing:border-box;font-weight:700">Add attribute values (Icf)</span></dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Message</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Invalid attribute: org.identityconnectors.<wbr>framework.common.exceptions.<wbr>InvalidAttributeValueException<wbr>(Error modifying LDAP entry CN=Blanca.Parker,OU=Users,OU=<wbr>CZ,DC=HELL,DC=LOCAL: [add:description: pepina1 - Managed by MidPoint,]: attributeOrValueExists: 00002081: AtrErr: DSID-030F181A, #1:??0: 00002081: DSID-030F181A, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att d (description)?? (20))</dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Parameters</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><table style="box-sizing:border-box;border-spacing:0px;border-collapse:collapse;background-color:transparent;border:0px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><th style="box-sizing:border-box;padding:0px;text-align:left;vertical-align:top">uid</th><td style="box-sizing:border-box;padding:0px 20px 0px 5px;white-space:pre-wrap;word-break:break-all">[e61d0dc3-33dc-4ba1-a623-<wbr>a243edbdfa52]</td></tr><tr style="box-sizing:border-box"><th style="box-sizing:border-box;padding:0px;text-align:left;vertical-align:top">objectClass</th><td style="box-sizing:border-box;padding:0px 20px 0px 5px;white-space:pre-wrap;word-break:break-all">[crOCD ({<a href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3%7Duser" target="_blank">http://midpoint.evolveum.<wbr>com/xml/ns/public/resource/<wbr>instance-3}user</a>)]</td></tr><tr style="box-sizing:border-box"><th style="box-sizing:border-box;padding:0px;text-align:left;vertical-align:top">options</th><td style="box-sizing:border-box;padding:0px 20px 0px 5px;white-space:pre-wrap;word-break:break-all">[OperationOptions: {}]</td></tr><tr style="box-sizing:border-box"><th style="box-sizing:border-box;padding:0px;text-align:left;vertical-align:top">attributes</th><td style="box-sizing:border-box;padding:0px 20px 0px 5px;white-space:pre-wrap;word-break:break-all">[[Attribute: {Name=description, Value=[pepina1 - Managed by MidPoint]}]]</td></tr></tbody></table></dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Context</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><table style="box-sizing:border-box;border-spacing:0px;border-collapse:collapse;background-color:transparent;border:0px"><tbody style="box-sizing:border-box"><tr style="box-sizing:border-box"><th style="box-sizing:border-box;padding:0px;text-align:left;vertical-align:top">connector</th><td style="box-sizing:border-box;padding:0px 20px 0px 5px;white-space:pre-wrap;word-break:break-all">[class org.identityconnectors.<wbr>framework.impl.api.local.<wbr>LocalConnectorFacadeImpl]</td></tr></tbody></table></dd><dt style="box-sizing:border-box;line-height:1.42857;font-weight:700;float:left;width:100px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Error</dt><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px">Invalid attribute: org.identityconnectors.<wbr>framework.common.exceptions.<wbr>InvalidAttributeValueException<wbr>(Error modifying LDAP entry CN=Blanca.Parker,OU=Users,OU=<wbr>CZ,DC=HELL,DC=LOCAL: [add:description: pepina1 - Managed by MidPoint,]: attributeOrValueExists: 00002081: AtrErr: DSID-030F181A, #1:??0: 00002081: DSID-030F181A, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att d (description)?? (20))</dd><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;word-break:break-word;color:rgb(51,51,51);font-family:'Source Sans Pro','Helvetica Neue',Helvetica,Arial,sans-serif;font-size:14px"><a style="box-sizing:border-box;background-color:transparent;color:rgb(60,141,188);text-decoration-line:none">show</a></dd><dd style="box-sizing:border-box;line-height:1.42857;margin-left:130px;font-family:monospace;white-space:pre-wrap;font-size:11px;word-break:break-word;color:rgb(51,51,51)">com.evolveum.midpoint.util.<wbr>exception.SchemaException: Invalid attribute: org.identityconnectors.<wbr>framework.common.exceptions.<wbr>InvalidAttributeValueException<wbr>(Error modifying LDAP entry CN=Blanca.Parker,OU=Users,OU=<wbr>CZ,DC=HELL,DC=LOCAL: [add:description: pepina1 - Managed by MidPoint,]: attributeOrValueExists: 00002081: AtrErr: DSID-030F181A, #1:??0: 00002081: DSID-030F181A, problem 1006 (ATT_OR_VALUE_EXISTS), data 0, Att d (description)?? (20))
        at com.evolveum.midpoint.<wbr>provisioning.ucf.impl.connid.<wbr>ConnIdUtil.lookForKnownCause(<wbr>ConnIdUtil.java:352)
        at com.evolveum.midpoint.<wbr>provisioning.ucf.impl.connid.<wbr>ConnIdUtil.<wbr>processConnIdException(<wbr>ConnIdUtil.java:215)
        at com.evolveum.midpoint.<wbr>provisioning.ucf.impl.connid.<wbr>ConnectorInstanceConnIdImpl.<wbr>modifyObject(<wbr>ConnectorInstanceConnIdImpl.<wbr>java:1715)
        at com.evolveum.midpoint.<wbr>provisioning.impl.<wbr>ResourceObjectConverter.<wbr>executeModify(<wbr>ResourceObjectConverter.java:<wbr>769)
        at com.evolveum.midpoint.<wbr>provisioning.impl.<wbr>ResourceObjectConverter.<wbr>modifyResourceObject(<wbr>ResourceObjectConverter.java:<wbr>571)
        at com.evolveum.midpoint.<wbr>provisioning.impl.ShadowCache.<wbr>modifyShadow(ShadowCache.java:<wbr>745)
        at com.evolveum.midpoint.<wbr>provisioning.impl.<wbr>ProvisioningServiceImpl.<wbr>modifyObject(<wbr>ProvisioningServiceImpl.java:<wbr>671)
        at com.evolveum.midpoint.model.<wbr>impl.lens.ChangeExecutor.<wbr>modifyProvisioningObject(<wbr>ChangeExecutor.java:1495)
        at com.evolveum.midpoint.model.<wbr>impl.lens.ChangeExecutor.<wbr>executeModification(<wbr>ChangeExecutor.java:1369)
        at com.evolveum.midpoint.model.<wbr>impl.lens.ChangeExecutor.<wbr>executeDelta(ChangeExecutor.<wbr>java:909)
        at com.evolveum.midpoint.model.<wbr>impl.lens.ChangeExecutor.<wbr>executeChanges(ChangeExecutor.<wbr>java:318)
        at com.evolveum.midpoint.model.<wbr>impl.lens.Clockwork.lambda$<wbr>processSecondary$0(Clockwork.<wbr>java:635)
        at com.evolveum.midpoint.model.<wbr>impl.lens.LensUtil.<wbr>partialExecute(LensUtil.java:<wbr>947)
        at com.evolveum.midpoint.model.<wbr>impl.lens.LensUtil.<wbr>partialExecute(LensUtil.java:<wbr>934)
        at com.evolveum.midpoint.model.<wbr>impl.lens.Clockwork.<wbr>processSecondary(Clockwork.<wbr>java:633)
        at com.evolveum.midpoint.model.<wbr>impl.lens.Clockwork.click(<wbr>Clockwork.java:479)
        at com.evolveum.midpoint.model.<wbr>impl.lens.Clockwork.run(<wbr>Clockwork.java:202)
        at com.evolveum.midpoint.model.<wbr>impl.controller.<wbr>ModelController.<wbr>executeChanges(<wbr>ModelController.java:538)
        at com.evolveum.midpoint.web.<wbr>component.progress.<wbr>ProgressPanel$14.<wbr>callWithContextPrepared(<wbr>ProgressPanel.java:605)
        at com.evolveum.midpoint.web.<wbr>component.progress.<wbr>ProgressPanel$14.<wbr>callWithContextPrepared(<wbr>ProgressPanel.java:591)
        at com.evolveum.midpoint.web.<wbr>component.<wbr>SecurityContextAwareCallable.<wbr>call(<wbr>SecurityContextAwareCallable.<wbr>java:59)
        at java.util.concurrent.<wbr>FutureTask.run(Unknown Source)
        at java.util.concurrent.<wbr>ThreadPoolExecutor.runWorker(<wbr>Unknown Source)
        at java.util.concurrent.<wbr>ThreadPoolExecutor$Worker.run(<wbr>Unknown Source)
        at java.lang.Thread.run(Unknown Source)</dd></div><div><br></div><div>Thanks Jan</div><div><br></div></div><br>______________________________<wbr>_________________<br>
midPoint mailing list<br>
<a href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a><br>
<a href="http://lists.evolveum.com/mailman/listinfo/midpoint" rel="noreferrer" target="_blank">http://lists.evolveum.com/<wbr>mailman/listinfo/midpoint</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Gustáv Pálos</div><div>Identity Engineer</div><a href="http://evolveum.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">evolveum.com</a><br></div></div>
</div>