From Caspi at seznam.cz Mon Jan 1 20:20:59 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Mon, 01 Jan 2018 20:20:59 +0100 (CET) Subject: [midPoint] ValidFrom and ValidTo Message-ID: <4nl.vHb.5tJBw5nKOCX.1QIeeR@seznam.cz> Hi All, need help with importing date times in MidPoint from CSV. In CSV there is date time in format:  "12/31/2000 11:00:00 AM"  In resource i have enabled activation capability and I tryed to map value as showwn in config bellow:                       ri:StartDate             true             false                            true                false                normal                                                                                     $focus/activation/validFrom                                       But it doesnt work to me. I am getting error messages like here: 1001: java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" in expression in mapping in inbound expression for {http://midpoint. evolveum.com/xml/ns/public/resource/instance-3}StartDate in resource:900dd 939-02da-48f2-a7b9-683de6b8d486(HR Feed)({.../common/common-3}input=12/31/ 2000 11:00:00 AM; ) in expression in mapping in inbound expression for {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}StartDate in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) Operation Save (GUI) Message java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" in expression in mapping in inbound expression for {http://midpoint.evolveum. com/xml/ns/public/resource/instance-3}StartDate in resource:900dd939-02da-48 f2-a7b9-683de6b8d486(HR Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in expression in mapping in inbound expression for {http://midpoint. evolveum.com/xml/ns/public/resource/instance-3}StartDate in resource:900dd 939-02da-48f2-a7b9-683de6b8d486(HR Feed) Error java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" in expression in mapping in inbound expression for {http://midpoint.evolveum. com/xml/ns/public/resource/instance-3}StartDate in resource:900dd939-02da-48 f2-a7b9-683de6b8d486(HR Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in expression in mapping in inbound expression for {http://midpoint. evolveum.com/xml/ns/public/resource/instance-3}StartDate in resource:900dd 939-02da-48f2-a7b9-683de6b8d486(HR Feed) show com.evolveum.midpoint.util.exception.ExpressionEvaluationException: java. text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" in expression in mapping in inbound expression for {http://midpoint.evolveum. com/xml/ns/public/resource/instance-3}StartDate in resource:900dd939-02da-48 f2-a7b9-683de6b8d486(HR Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in expression in mapping in inbound expression for {http://midpoint. evolveum.com/xml/ns/public/resource/instance-3}StartDate in resource:900dd 939-02da-48f2-a7b9-683de6b8d486(HR Feed) at com.evolveum.midpoint.model. common.expression.evaluator.AbstractValueTransformationExpressionEvaluator. lambda$evaluateRelativeExpression$0 (AbstractValueTransformationExpressionEvaluator.java:433) at com.evolveum. midpoint.util.MiscUtil.carthesian(MiscUtil.java:370) at com.evolveum. midpoint.util.MiscUtil.carthesian(MiscUtil.java:360) at com.evolveum. midpoint.model.common.expression.evaluator. AbstractValueTransformationExpressionEvaluator.evaluateRelativeExpression (AbstractValueTransformationExpressionEvaluator.java:457) at com.evolveum. midpoint.model.common.expression.evaluator. AbstractValueTransformationExpressionEvaluator.evaluate (AbstractValueTransformationExpressionEvaluator.java:118) at com.evolveum. midpoint.repo.common.expression.Expression.evaluateExpressionEvaluators (Expression.java:213) at com.evolveum.midpoint.repo.common.expression. Expression.evaluate(Expression.java:149) at com.evolveum.midpoint.model. common.mapping.Mapping.evaluateExpression(Mapping.java:1055) at com. evolveum.midpoint.model.common.mapping.Mapping.evaluateBody(Mapping.java: 446) at com.evolveum.midpoint.model.common.mapping.Mapping.evaluate(Mapping. java:372) at com.evolveum.midpoint.model.impl.lens.projector. MappingEvaluator.evaluateMapping(MappingEvaluator.java:140) at com.evolveum. midpoint.model.impl.lens.projector.focus.InboundProcessor. evaluateInboundMapping(InboundProcessor.java:836) at com.evolveum.midpoint. model.impl.lens.projector.focus.InboundProcessor. processInboundMappingsForProjection(InboundProcessor.java:293) at com. evolveum.midpoint.model.impl.lens.projector.focus.InboundProcessor. processInboundFocal(InboundProcessor.java:223) at com.evolveum.midpoint. model.impl.lens.projector.focus.InboundProcessor.processInbound (InboundProcessor.java:165) at com.evolveum.midpoint.model.impl.lens. projector.focus.FocusProcessor.lambda$processFocusFocus$0(FocusProcessor. java:210) at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute (LensUtil.java:947) at com.evolveum.midpoint.model.impl.lens.LensUtil. partialExecute(LensUtil.java:934) at com.evolveum.midpoint.model.impl.lens. projector.focus.FocusProcessor.processFocusFocus(FocusProcessor.java:207) at com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor. processFocus(FocusProcessor.java:140) at com.evolveum.midpoint.model.impl. lens.projector.Projector.lambda$projectInternal$1(Projector.java:229) at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java: 947) at com.evolveum.midpoint.model.impl.lens.projector.Projector. projectInternal(Projector.java:227) at com.evolveum.midpoint.model.impl. lens.projector.Projector.project(Projector.java:116) at com.evolveum. midpoint.model.impl.lens.Clockwork.click(Clockwork.java:445) at com. evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:202) at com. evolveum.midpoint.model.impl.controller.ModelController.executeChanges (ModelController.java:538) at com.evolveum.midpoint.web.component.progress. ProgressPanel$14.callWithContextPrepared(ProgressPanel.java:605) at com. evolveum.midpoint.web.component.progress.ProgressPanel$14. callWithContextPrepared(ProgressPanel.java:591) at com.evolveum.midpoint. web.component.SecurityContextAwareCallable.call (SecurityContextAwareCallable.java:59) at java.util.concurrent.FutureTask. run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run (Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: com. evolveum.midpoint.util.exception.ExpressionEvaluationException: java.text. ParseException: Unparseable date: "12/31/2000 11:00:00 AM" in expression in mapping in inbound expression for {http://midpoint.evolveum.com/xml/ns/ public/resource/instance-3}StartDate in resource:900dd939-02da-48f2-a7b9-683 de6b8d486(HR Feed) at com.evolveum.midpoint.model.common.expression.script. jsr223.Jsr223ScriptEvaluator.evaluate(Jsr223ScriptEvaluator.java:120) at com.evolveum.midpoint.model.common.expression.script.ScriptExpression. evaluate(ScriptExpression.java:107) at com.evolveum.midpoint.model.common. expression.script.ScriptExpressionEvaluator.transformSingleValue (ScriptExpressionEvaluator.java:63) at com.evolveum.midpoint.model.common. expression.evaluator.AbstractValueTransformationExpressionEvaluator.lambda$ evaluateRelativeExpression$0(AbstractValueTransformationExpressionEvaluator. java:425) ... 33 more Caused by: javax.script.ScriptException: java.text. ParseException: Unparseable date: "12/31/2000 11:00:00 AM" at org.codehaus. groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:347) at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval (GroovyCompiledScript.java:41) at javax.script.CompiledScript.eval(Unknown Source) at com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr 223ScriptEvaluator.evaluate(Jsr223ScriptEvaluator.java:116) ... 36 more Caused by: java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" at java.text.DateFormat.parse(Unknown Source) at java_text_DateFormat$ parse.call(Unknown Source) at Script41.run(Script41.groovy:8) at org. codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl. java:344) ... 39 more Can someone help me with that? Thanks Jan (http://192.168.2.102:8080/admin/task2/03b67e2f-4b00-420e-a13e-fa897e93586d?635-1.ILinkListener-mainPanel-mainForm-tabPanel-panel-showResult) -------------- next part -------------- An HTML attachment was scrubbed... URL: From valtri at civ.zcu.cz Mon Jan 1 22:38:59 2018 From: valtri at civ.zcu.cz (=?UTF-8?Q?Franti=C5=A1ek_Dvo=C5=99=C3=A1k?=) Date: Mon, 01 Jan 2018 22:38:59 +0100 Subject: [midPoint] ValidFrom and ValidTo In-Reply-To: <4nl.vHb.5tJBw5nKOCX.1QIeeR@seznam.cz> References: <4nl.vHb.5tJBw5nKOCX.1QIeeR@seznam.cz> Message-ID: <1514842739.13683.1.camel@civ.zcu.cz> Hello, just a hint - the problem here is with the locale-dependent SimpleDateFormat in the groovy script - the "AM" string. František Jan Kaspar píše v Po 01. 01. 2018 v 20:20 +0100: > Hi All, > > need help with importing date times in MidPoint from CSV. > > In CSV there is date time in format:  "12/31/2000 11:00:00 AM"  > > In resource i have enabled activation capability and I tryed to map > value as showwn in config bellow: > >           >             ri:StartDate >             true >             false >             >                true >                false >                normal >                 >                   >                 >                 >                   $focus/activation/validFrom >                 >             >           > > But it doesnt work to me. I am getting error messages like here: > > 1001: java.text.ParseException: Unparseable date: "12/31/2000 > 11:00:00 AM" in expression in mapping in inbound expression for {http > ://midpoint.evolveum.com/xml/ns/public/resource/instance-3}StartDate > in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR > Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in > expression in mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance- > 3}StartDate in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) > Operation > Save (GUI) > Message > java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" > in expression in mapping in inbound expression for {http://midpoint.e > volveum.com/xml/ns/public/resource/instance-3}StartDate in > resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR > Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in > expression in mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance- > 3}StartDate in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) > Error > java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" > in expression in mapping in inbound expression for {http://midpoint.e > volveum.com/xml/ns/public/resource/instance-3}StartDate in > resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR > Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in > expression in mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance- > 3}StartDate in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) > show > com.evolveum.midpoint.util.exception.ExpressionEvaluationException: > java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" > in expression in mapping in inbound expression for {http://midpoint.e > volveum.com/xml/ns/public/resource/instance-3}StartDate in > resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR > Feed)({.../common/common-3}input=12/31/2000 11:00:00 AM; ) in > expression in mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance- > 3}StartDate in resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) > at > com.evolveum.midpoint.model.common.expression.evaluator.AbstractValue > TransformationExpressionEvaluator.lambda$evaluateRelativeExpression$0 > (AbstractValueTransformationExpressionEvaluator.java:433) > at > com.evolveum.midpoint.util.MiscUtil.carthesian(MiscUtil.java:370) > at > com.evolveum.midpoint.util.MiscUtil.carthesian(MiscUtil.java:360) > at > com.evolveum.midpoint.model.common.expression.evaluator.AbstractValue > TransformationExpressionEvaluator.evaluateRelativeExpression(Abstract > ValueTransformationExpressionEvaluator.java:457) > at > com.evolveum.midpoint.model.common.expression.evaluator.AbstractValue > TransformationExpressionEvaluator.evaluate(AbstractValueTransformatio > nExpressionEvaluator.java:118) > at > com.evolveum.midpoint.repo.common.expression.Expression.evaluateExpre > ssionEvaluators(Expression.java:213) > at > com.evolveum.midpoint.repo.common.expression.Expression.evaluate(Expr > ession.java:149) > at > com.evolveum.midpoint.model.common.mapping.Mapping.evaluateExpression > (Mapping.java:1055) > at > com.evolveum.midpoint.model.common.mapping.Mapping.evaluateBody(Mappi > ng.java:446) > at > com.evolveum.midpoint.model.common.mapping.Mapping.evaluate(Mapping.j > ava:372) > at > com.evolveum.midpoint.model.impl.lens.projector.MappingEvaluator.eval > uateMapping(MappingEvaluator.java:140) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.InboundProcesso > r.evaluateInboundMapping(InboundProcessor.java:836) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.InboundProcesso > r.processInboundMappingsForProjection(InboundProcessor.java:293) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.InboundProcesso > r.processInboundFocal(InboundProcessor.java:223) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.InboundProcesso > r.processInbound(InboundProcessor.java:165) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor. > lambda$processFocusFocus$0(FocusProcessor.java:210) > at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUti > l.java:947) > at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUti > l.java:934) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor. > processFocusFocus(FocusProcessor.java:207) > at > com.evolveum.midpoint.model.impl.lens.projector.focus.FocusProcessor. > processFocus(FocusProcessor.java:140) > at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$proj > ectInternal$1(Projector.java:229) > at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUti > l.java:947) > at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInte > rnal(Projector.java:227) > at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Pro > jector.java:116) > at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java: > 445) > at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:20 > 2) > at > com.evolveum.midpoint.model.impl.controller.ModelController.executeCh > anges(ModelController.java:538) > at > com.evolveum.midpoint.web.component.progress.ProgressPanel$14.callWit > hContextPrepared(ProgressPanel.java:605) > at > com.evolveum.midpoint.web.component.progress.ProgressPanel$14.callWit > hContextPrepared(ProgressPanel.java:591) > at > com.evolveum.midpoint.web.component.SecurityContextAwareCallable.call > (SecurityContextAwareCallable.java:59) > at java.util.concurrent.FutureTask.run(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) > at java.lang.Thread.run(Unknown Source) > Caused by: > com.evolveum.midpoint.util.exception.ExpressionEvaluationException: > java.text.ParseException: Unparseable date: "12/31/2000 11:00:00 AM" > in expression in mapping in inbound expression for {http://midpoint.e > volveum.com/xml/ns/public/resource/instance-3}StartDate in > resource:900dd939-02da-48f2-a7b9-683de6b8d486(HR Feed) > at > com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr223Scr > iptEvaluator.evaluate(Jsr223ScriptEvaluator.java:120) > at > com.evolveum.midpoint.model.common.expression.script.ScriptExpression > .evaluate(ScriptExpression.java:107) > at > com.evolveum.midpoint.model.common.expression.script.ScriptExpression > Evaluator.transformSingleValue(ScriptExpressionEvaluator.java:63) > at > com.evolveum.midpoint.model.common.expression.evaluator.AbstractValue > TransformationExpressionEvaluator.lambda$evaluateRelativeExpression$0 > (AbstractValueTransformationExpressionEvaluator.java:425) > ... 33 more > Caused by: javax.script.ScriptException: java.text.ParseException: > Unparseable date: "12/31/2000 11:00:00 AM" > at > org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEn > gineImpl.java:347) > at > org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledSc > ript.java:41) > at javax.script.CompiledScript.eval(Unknown Source) > at > com.evolveum.midpoint.model.common.expression.script.jsr223.Jsr223Scr > iptEvaluator.evaluate(Jsr223ScriptEvaluator.java:116) > ... 36 more > Caused by: java.text.ParseException: Unparseable date: "12/31/2000 > 11:00:00 AM" > at java.text.DateFormat.parse(Unknown Source) > at java_text_DateFormat$parse.call(Unknown Source) > at Script41.run(Script41.groovy:8) > at > org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEn > gineImpl.java:344) > ... 39 more > > Can someone help me with that? > > Thanks Jan > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From o.nekriach at dynatech.lv Tue Jan 2 08:16:35 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Tue, 2 Jan 2018 09:16:35 +0200 Subject: [midPoint] How to set AD password from Midpoint? In-Reply-To: References: Message-ID: Happy new year! Hi Alcides, Do you use secure communication for AD connection (ldaps) or not? Some AD settings does not allow to manage password via open communications. I had similar issue few years ago with Oracle connector ;) Regards, Oleksandr On 28 December 2017 at 21:30, Alcides Carlos de Moraes Neto wrote: > Hello list, > > I'm trying to create AD users from Midpoint. I'm getting the 53 > WILL_NOT_PERFORM error, which it seems to be related to the password policy. > The AD I'm using does have a password policy. > > So I'm trying to set some literal, strong password as a placeholder, but I > don't think my mapping is working. How should I configure it? I cannot find > any examples. Below are the error I get and the password outbound mapping. > > com.evolveum.midpoint.util.exception.SystemException: Got unexpected > exception: > org.identityconnectors.framework.common.exceptions.PermissionDeniedException: > Error adding LDAP entry CN=JOHN DOE,OU=Users,DC=midpoint,DC=local: > unwillingToPerform: 0000052D: SvcErr: DSID-031A12D2, problem 5003 > (WILL_NOT_PERFORM), data 0?? (53) > > > ri:userPassword > true > false > explicit > > true > false > normal > > Midpoint2018* > > > > > > Thanks and happy new year to all =) > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From wojciech.staszewski at diagnostyka.pl Tue Jan 2 12:07:11 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Tue, 2 Jan 2018 12:07:11 +0100 Subject: [midPoint] Importing entitlements to roles for multiple account intents In-Reply-To: <5f856eb7-eaa3-8b0d-12b7-b7d76edb9d75@diagnostyka.pl> References: <5f856eb7-eaa3-8b0d-12b7-b7d76edb9d75@diagnostyka.pl> Message-ID: <6421a397-5bb4-f060-8cfe-bc320c9320b0@diagnostyka.pl> Hello! First: Of course the account intent is specified in the association from link inducement, order 2, not in the first order inducement as I wrote before. Sorry for the mistake. Second: After few days of testing, the workaround with multiple ObjectClasses for entitlements is working correctly. I suppose this is not a right way how it should be done according to the midPoint philosophy, but at the moment I have no other idea how to achieve the goal, which is independently given entitlements for each account intent when user has two or more accounts in one resource and use the synchronization flavors of the entitlements for avoiding manual roles editing. Of course I keep my mind open for other soultions. Best regards! WS W dniu 30.12.2017 o 13:36, Wojciech Staszewski pisze: > Hi! > > Yes, but if the user have 2 or more accounts on this resource, all accounts will receive the entitlement. I have to avoid this. > The entitlements must be given indepedently for each account. > > I see some workarounds: > > 1) Manually create the roles for account intents other than default and update them when needed. > -disadvantages: A lot of roles and a lot of changes. There is 100 resources of this kind, some of them contains more than 1 account intent (1,5 average) and 3 entitlement types, every type contains 20 entitlements average. This makes 100 x 1,5 x 3 x 20 =  9000 roles for manual handling. Terrifying... > > That's why I want to use synchronization tasks for importing and updating the roles automatically. > > 2) Create another resource pointing to the same database for another intent, so each account intent is handled by separate (fake) resource. > In this case I can set synchronization tasks for importing and updating the same entitlements for every account intent. > - disadvantages: User changes laboratory, so the account changes intent. It happens. On the resource side this is a simple task: edit user, pick lab from drop-down list, save. How midPoint will see this? The user disappears from one resource and appears on another. With full enforcement policy midPoint will try to fix this situation and create an account for him in old intent. On the second resource new account will be deleted. > Ok, so let's do it on midPoint side: Assign account and entitlements on the second resource and unassign the first one. MidPoint will delete an account on the first and create new one on the second, as for midPoint there are 2 independent resources. This is wrong way. > > 3) This is ScriptedSQL resource. So in the Groovy scripts I can make multiple ObjectClasses for the entitlements pointing to the same database objects. In midPoint I will see the same entitlements multiple times, each with different ObjectClass. So I can use it to import and synchronize roles for different account intents. When the entitlement in resource database is changed, synchronization wil work for every objectClass. > - disadvantages: I have to think a little bit, as I invented it just a moment ago. > > Best regards! > Wojciech Staszewski > > W dniu 29.12.2017 o 19:36, Alcides Carlos de Moraes Neto pisze: >> If you assign a Role that gives Entitlement X to User Y with weak strength, only the existing account(s) for User Y will receive the entitlement. >> Having multiple weak inducements will work I think. >> >> I have a similar setup, but it's the other way around - multiple intents for entitlements induced from Org, only one for account intent associated to User. >> I have multiple inducements in a Meta-role that I assign to Orgs. >> >> You can also using Condition expression to further filter them. >> >> 2017-12-29 13:40 GMT-02:00 Wojciech Staszewski >: >> >> Hi! >> >> I thought about adding multiple first order inducements for each account intent with weak strength to the "associationFromLink" metarole, >> but what if the accounts (of one user in multiple intents) must have different privileges (entilements)? >> When I assign a role that gives entitlement X, it will be applied to every user account on this resource, i think. >> >> Another way I tried is to assign the "associationFromLink" metarole to the role that provisions account creation, >> and the role with linkRef pointing to the entitlement shadow as separate user assignment, but it don't work. >> I think (but I don't know exactly) that "associationFromLink" is limited to one assignment chain so the linkRef and associationFromLink >> must be in the same chain. But maybe I'm wrong...? >> >> I'm stuck here and see no good solution for now. >> >> Best regards! >> WS >> >> >> W dniu 29.12.2017 o 15:08, Alcides Carlos de Moraes Neto pisze: >>> Hi WS, >>> >>> In your role template, have you tried adding multiple inducements with an association for each entitlement? I don't see why that wouldn't work. >>> >>> 2017-12-28 13:54 GMT-02:00 Wojciech Staszewski >: >>> >>> Hello! >>> >>> I'm looking for correct way how to correctly import resource entitlements into midPoint roles. >>> >>> For now I'm doing this as follows: >>> 1) create schema handling for entitlement. >>> 2) create synchronization. >>> 3) At the "unmatched->addFocus" synchronization step I connect a role template. The template assigns metaroles to the imported roles for: >>>   a) association from link (as the imported roles are just linkRef only), >>>   b) approval schema, >>>   c) and assigns correct OrgUnit in the role catalog, based on resource, role type and other "things". >>> >>> That works just perfect, but for one account intent only. The account intent is statically specified in "association from link" metarole in the first order inducement. >>> If is not, the metarole works for "default" account intent. >>> But I have 8 account intents in this resource, and every account must be associated with the entitlements regardless of the intent. >>> >>> I tried to make more than one "unmatched->addFocus" synchronization reaction with different role templates >>> with hope for importing 8 roles from one entitlement for different account intents but midPoint warns me: "Duplicated reactions [...]". >>> I cannot just add multiple "actions" to one reaction because I can apply only one template to one reaction. >>> >>> And I don't know how to do it. >>> Any ideas? >>> Beer is on me for the help! >>> >>> Happy NY! >>> WS >>> _______________________________________________ >>> midPoint mailing list >>> midPoint at lists.evolveum.com >>> http://lists.evolveum.com/mailman/listinfo/midpoint >>> >>> >>> >>> >>> _______________________________________________ >>> midPoint mailing list >>> midPoint at lists.evolveum.com >>> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> -- >> Wojciech Staszewski >> Administrator Systemów Sieciowych >> tel. kom: 663 680 236 >> www.diagnostyka.pl >> Diagnostyka Sp. z o. o. >> ul. Prof. M. Życzkowskiego 16, 31-864 Kraków >> Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS) >> NIP: 675-12-65-009; REGON: 356366975 >> Kapitał zakładowy: 33 756 500 zł. >> >> Pomyśl o środowisku zanim wydrukujesz ten e-mail. >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -- Wojciech Staszewski Administrator Systemów Sieciowych tel. kom: 663 680 236 www.diagnostyka.pl Diagnostyka Sp. z o. o. ul. Prof. M. Życzkowskiego 16, 31-864 Kraków Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS) NIP: 675-12-65-009; REGON: 356366975 Kapitał zakładowy: 33 756 500 zł. Pomyśl o środowisku zanim wydrukujesz ten e-mail. From Caspi at seznam.cz Tue Jan 2 14:37:17 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Tue, 02 Jan 2018 14:37:17 +0100 (CET) Subject: [midPoint] ValidFrom and ValidTo Message-ID: Hi again, So now conversion is not giving me an error anymore. But I am still not able to populate validFrom and validTo in midpoint. Used CSV is in attachment. So for me important attributes are validFrom (StartDate), validTo (EndDate), and AdministartiveStatus (Status). In resource configuration i tryed to add following definition in schema handling:                        ri:StartDate             true             false                            true                false                normal                                                                                     $focus/activation/validFrom                                       Bud it doesnt work, How it shoudl be defined? Can some help me? Regards Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: users1.csv Type: application/vnd.ms-excel Size: 495 bytes Desc: not available URL: From martin.lizner at ami.cz Tue Jan 2 15:47:24 2018 From: martin.lizner at ami.cz (=?UTF-8?Q?Martin_L=C3=ADzner_=2D_AMI_Praha_a=2Es=2E?=) Date: Tue, 2 Jan 2018 15:47:24 +0100 Subject: [midPoint] memory leak issue In-Reply-To: References: Message-ID: Hi, Im having OOM problems on 3.7. Which version are you on? There is Jira for it already and I think it has high priority: https://jira.evolveum.com/browse/MID-4349 M. Martin Lízner solution architect gsm: [+420] 737 745 571 e-mail: martin.lizner at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2017-12-28 21:26 GMT+01:00 Juan Manuel Catá : > Greetings > > Im writing in reference to a memory leak issue with my instance of > MidPoint. > > When I try to run MidPoint on my VM (4 cpus, 8gb RAM, 40gb HD) I got > alerts in relation to "critical memory usage". In relation to this, I found > that memory is not managed correctly, and is never released until the > kernel kill the MidPoint process; another problem that i found is that I'm > running out of availables Inodes. ¿Could this be related to some > missconfiguration on my MidPoint instance? Have you noticed these kind of > issues before? > > Any kind of help will be appreciated > > Regards > > -- > *Juan Manuel Catá* > Application Security > Juana Manso 999 - piso 2° - C.A.B.A. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Tue Jan 2 16:27:37 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Tue, 2 Jan 2018 16:27:37 +0100 Subject: [midPoint] Entitlements reconciliation errors (v3.7) In-Reply-To: <78f8a50a-60b4-746a-2b20-b699383e46f8@diagnostyka.pl> References: <78f8a50a-60b4-746a-2b20-b699383e46f8@diagnostyka.pl> Message-ID: <91f844f4-08b3-633b-7739-065d73be2e2f@diagnostyka.pl> Hello! The issue update: This error appears not only in the reconciliation tasks. If I enter the resource and browse entitlements (on Resource), midPoint also gives me Null Pointer Exception on non-default-intent entitlements. If I go to the SchemaHandling config and switch default button on the entitlement that previously was causing error, the list is showing correctly and the other ones show error. Most funny thing is that sometimes it works OK without touching anything. But next day, or after tomcat restart, the NPE errors return. Can it be a bug? I don't know if I should make a Jira ticket or not... Regards, WS W dniu 21.12.2017 o 23:18, Wojciech Staszewski pisze: > Hello All! > > I have a problem and I don't know what is causing it: > > I have 3 different types of entitlements in my resource (ScriptedSQL). > > So I configured 3 different objectClasses in the connector scripts: > - CustomRolesObjectClass, > - CustomWorkplacesObjectClass, > - CustomRoomsObjectClass > > and 3 intents in midPoint schema handling: > - role, > - workplace, > - room > > I can mark "default" intent of only one entitlement in schema handling > Wizard step,  though the entitlements have different objectClasses. > > and 3 reconciliation tasks. > > And only one task is running good - the task that referencing the intent > marked as default. > So if I check "role" intent as default, reconciliation of roles goes ok > and the other two end with error, > when I check "workplace" intent as default  - the reconciliation of > workplaces goes ok, and the other two end with error and so on. > > The error log is attached. > > What am I doing wrong? > Thanks for any help. > > WS > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > From Caspi at seznam.cz Tue Jan 2 20:37:00 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Tue, 02 Jan 2018 20:37:00 +0100 (CET) Subject: [midPoint] ValidFrom and ValidTo Message-ID: <6ZM.vGH.tOnDyoPWKR.1QIzzS@seznam.cz> Hi all, solved by editation of schema. I missed that. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From christopher.hoskin at gmail.com Wed Jan 3 00:02:55 2018 From: christopher.hoskin at gmail.com (Christopher Hoskin) Date: Tue, 2 Jan 2018 23:02:55 +0000 Subject: [midPoint] connector-ldap and SASL-GSSAPI Message-ID: According to the documentation [1], the LDAP Connector should support SASL-GSSAPI as an authentication type. I was wondering if this has actually been implemented? Looking at the code [2],[3], it's not obvious to me that setting authenticationType to SASL-GSSAPI actually has any affect. From a quick scan of [4], I was expecting to find a call to bindSaslGssApi or bindSasl. Is the use of this authenticationType documented anywhere? Thanks. [1] https://wiki.evolveum.com/display/midPoint/LDAP+Connector+Migration [2] https://github.com/Evolveum/connector-ldap/search?l=Java&q=sasl [3] https://github.com/Evolveum/connector-ldap/search?l=Java&q=authenticationType [4] http://directory.apache.org/api/user-guide/5.3-sasl-bind.html Christopher Hoskin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Wed Jan 3 08:43:11 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Wed, 03 Jan 2018 08:43:11 +0100 (CET) Subject: [midPoint] Database maintenance Message-ID: Hello, i have a questino about database maintenance. I am using MP 3.7 on windows right now. There is a DB file midpoint.mv.db and curently after one week of tests it has 37GB. How is performed maintenance? Testing was made with few groups and ten users and only two resources. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From radovan.semancik at evolveum.com Wed Jan 3 12:37:37 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 3 Jan 2018 12:37:37 +0100 Subject: [midPoint] connector-ldap and SASL-GSSAPI In-Reply-To: References: Message-ID: <8113d8ca-3f59-0109-304c-926858c919d4@evolveum.com> Hi, SASL-GSSAPI support is mostly a matter of Apache Directory API. That is the LDAP API that the connector is using. I'm not entirely sure whether the API supports SASL-GSSAPI. What I can tell for sure is that I'm not aware of any midPoint deployment that is using that. Anyway, even if it is supported by the directory API it was never tested with midPoint LDAP connector. Therefore it is likely that some connector code changes will be needed. And from my experience there is a slight chance that even Apache Directory API changes might be needed to fully support your use-case. We will gladly accept pull request in case you have the capacity to make the code changes. Otherwise I can recommend to purchase midPoint platform subscription which is designed to address such issues. -- Radovan Semancik Software Architect evolveum.com On 01/03/2018 12:02 AM, Christopher Hoskin wrote: > According to the documentation [1], the LDAP Connector should support > SASL-GSSAPI as an authentication type. > > I was wondering if this has actually been implemented? Looking at the > code [2],[3], it's not obvious to me that setting authenticationType > to SASL-GSSAPI actually has any affect. From a quick scan of [4], I > was expecting to find a call to bindSaslGssApi or bindSasl. > > Is the use of this authenticationType documented anywhere? > > Thanks. > > [1] https://wiki.evolveum.com/display/midPoint/LDAP+Connector+Migration > [2] https://github.com/Evolveum/connector-ldap/search?l=Java&q=sasl > [3] > https://github.com/Evolveum/connector-ldap/search?l=Java&q=authenticationType > [4] http://directory.apache.org/api/user-guide/5.3-sasl-bind.html > > Christopher Hoskin > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From radovan.semancik at evolveum.com Wed Jan 3 12:42:25 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 3 Jan 2018 12:42:25 +0100 Subject: [midPoint] Database maintenance In-Reply-To: References: Message-ID: Hi, MidPoint deployment with embedded H2 database is not supported for production use. It is intended only for learning, laboratory use, demonstrations and similar non-production use. Therefore there are no mechanism to ensure that it is sustainable for a long-term usage. The best thing you can do is to migrate your deployment to a real database. -- Radovan Semancik Software Architect evolveum.com On 01/03/2018 08:43 AM, Jan Kaspar wrote: > Hello, > > i have a questino about database maintenance. I am using MP 3.7 on > windows right now. > > There is a DB file midpoint.mv.db and curently after one week of tests > it has 37GB. > > How is performed maintenance? Testing was made with few groups and ten > users and only two resources. > > Jan > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From srpenn at us.ibm.com Wed Jan 3 22:54:32 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Wed, 3 Jan 2018 16:54:32 -0500 Subject: [midPoint] How to Filter HR Input Message-ID: Hi, I'm working on a Midpoint proof of concept for my company. One requirement we have is that a Midpoint user must exist in our HR directory. Employees deleted from HR must disable or delete the Midpoint user within 24 hours. On the surface, sounds easy enough. Here is where I'm having difficulties. The HR directory contains approximately 380,000 employees and other accounts. Our estimated use case for Midpoint for production is currently 5000 users. We have absolutely no authority to update any record in the HR directory. The HR directory has enforced limitations on query sizes (in other words we can't just do a (uid=*)). I need to double-check, but I believe the maximum object query return is 10,000. Because there are thousands of apps that query our HR directory, the limit is there to keep the directory servers from getting bogged down. Currently, when I run a Reconcile task, Midpoint processes about 1000-1200 users or so and then it just hangs. No errors are recorded and the GUI appears as though the task is still running, but it is not updating. Also, it seems rather pointless to have 380,000 shadow objects if we will only have 5000 Midpoint users. Is there a way to filter, limit, or change the logic, so that we only pull (or create shadow objects) from the HR directory for those employees who already have a Midpoint user? (Hope I'm making sense here). If so, how? Let me know if you need more info from me. Thanks! ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Thu Jan 4 01:00:02 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Wed, 3 Jan 2018 22:00:02 -0200 Subject: [midPoint] How to set AD password from Midpoint? In-Reply-To: References: Message-ID: Hello, Yes, I'm using ldaps. 2018-01-02 5:16 GMT-02:00 Oleksandr Nekriach : > Happy new year! > Hi Alcides, > Do you use secure communication for AD connection (ldaps) or not? > Some AD settings does not allow to manage password via open communications. > I had similar issue few years ago with Oracle connector ;) > > Regards, Oleksandr > > > On 28 December 2017 at 21:30, Alcides Carlos de Moraes Neto > wrote: > > Hello list, > > > > I'm trying to create AD users from Midpoint. I'm getting the 53 > > WILL_NOT_PERFORM error, which it seems to be related to the password > policy. > > The AD I'm using does have a password policy. > > > > So I'm trying to set some literal, strong password as a placeholder, but > I > > don't think my mapping is working. How should I configure it? I cannot > find > > any examples. Below are the error I get and the password outbound > mapping. > > > > com.evolveum.midpoint.util.exception.SystemException: Got unexpected > > exception: > > org.identityconnectors.framework.common.exceptions. > PermissionDeniedException: > > Error adding LDAP entry CN=JOHN DOE,OU=Users,DC=midpoint,DC=local: > > unwillingToPerform: 0000052D: SvcErr: DSID-031A12D2, problem 5003 > > (WILL_NOT_PERFORM), data 0?? (53) > > > > > > ri:userPassword > > true > > false > > explicit > > > > true > > false > > normal > > > > Midpoint2018* > > > > > > > > > > > > Thanks and happy new year to all =) > > > > _______________________________________________ > > midPoint mailing list > > midPoint at lists.evolveum.com > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Thu Jan 4 08:39:42 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Thu, 4 Jan 2018 09:39:42 +0200 Subject: [midPoint] How to set AD password from Midpoint? In-Reply-To: References: Message-ID: Hello, It is strange I was sure that problem is in SSL. See Known Causes - This is caused when you don't use SSL in your LDAP connection and AD enforces SSL connection. - There are password policies in the AD environment In my Midpoint instance I don't use "direct" outbound mapping for userPassword. Instead, I use On 4 January 2018 at 02:00, Alcides Carlos de Moraes Neto wrote: > Hello, > > Yes, I'm using ldaps. > > 2018-01-02 5:16 GMT-02:00 Oleksandr Nekriach : >> >> Happy new year! >> Hi Alcides, >> Do you use secure communication for AD connection (ldaps) or not? >> Some AD settings does not allow to manage password via open >> communications. >> I had similar issue few years ago with Oracle connector ;) >> >> Regards, Oleksandr >> >> >> On 28 December 2017 at 21:30, Alcides Carlos de Moraes Neto >> wrote: >> > Hello list, >> > >> > I'm trying to create AD users from Midpoint. I'm getting the 53 >> > WILL_NOT_PERFORM error, which it seems to be related to the password >> > policy. >> > The AD I'm using does have a password policy. >> > >> > So I'm trying to set some literal, strong password as a placeholder, but >> > I >> > don't think my mapping is working. How should I configure it? I cannot >> > find >> > any examples. Below are the error I get and the password outbound >> > mapping. >> > >> > com.evolveum.midpoint.util.exception.SystemException: Got unexpected >> > exception: >> > >> > org.identityconnectors.framework.common.exceptions.PermissionDeniedException: >> > Error adding LDAP entry CN=JOHN DOE,OU=Users,DC=midpoint,DC=local: >> > unwillingToPerform: 0000052D: SvcErr: DSID-031A12D2, problem 5003 >> > (WILL_NOT_PERFORM), data 0?? (53) >> > >> > >> > ri:userPassword >> > true >> > false >> > explicit >> > >> > true >> > false >> > normal >> > >> > Midpoint2018* >> > >> > >> > >> > >> > >> > Thanks and happy new year to all =) >> > >> > _______________________________________________ >> > midPoint mailing list >> > midPoint at lists.evolveum.com >> > http://lists.evolveum.com/mailman/listinfo/midpoint >> > >> >> >> >> -- >> Best regards, >> >> Oleksandr Nekriach | Identity and access management engineer >> >> Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia >> >> +37125314685 >> , >> o.nekriach at dynatech.lv >> | >> www.dynatech.lv >> >> >> >> >> Stay connected: >> >> >> Confidentiality Notice: This message contains confidential information >> and is intended only for the named recipient(s). If you are not the >> addressee you may not copy, distribute or perform any other activities >> with this information. If you have received this transmission in >> error, please notify us by e-mail immediately. E-mail transmission >> cannot be guaranteed to be secure or error-free as information could >> be intercepted, corrupted, lost, destroyed, arrive late or incomplete, >> or contain viruses. >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From petr.gasparik at ami.cz Thu Jan 4 09:11:44 2018 From: petr.gasparik at ami.cz (=?UTF-8?B?UGV0ciBHYcWhcGFyw61rIC0gQU1JIFByYWhhIGEucy4=?=) Date: Thu, 4 Jan 2018 09:11:44 +0100 Subject: [midPoint] How to set AD password from Midpoint? In-Reply-To: References: Message-ID: Hi, as Oleksandr says, AD disallows manipulating with userPassword directly. Instead, credential tag is used. Also, SSL is a must. in general. WILL_NOT_PERFORM is almost always wrongly set password - in our cases mostly policy violation (weak or no/bad set password) Petr -- s pozdravem Petr Gašparík solution architect gsm: [+420] 603 523 860 e-mail: petr.gasparik at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-04 8:39 GMT+01:00 Oleksandr Nekriach : > Hello, > It is strange I was sure that problem is in SSL. > See > Known Causes > - This is caused when you don't use SSL in your LDAP connection and AD > enforces SSL connection. > - There are password policies in the AD environment > > In my Midpoint instance I don't use "direct" outbound mapping for > userPassword. > Instead, I use > > > > > > > > > > > > On 4 January 2018 at 02:00, Alcides Carlos de Moraes Neto > wrote: > > Hello, > > > > Yes, I'm using ldaps. > > > > 2018-01-02 5:16 GMT-02:00 Oleksandr Nekriach : > >> > >> Happy new year! > >> Hi Alcides, > >> Do you use secure communication for AD connection (ldaps) or not? > >> Some AD settings does not allow to manage password via open > >> communications. > >> I had similar issue few years ago with Oracle connector ;) > >> > >> Regards, Oleksandr > >> > >> > >> On 28 December 2017 at 21:30, Alcides Carlos de Moraes Neto > >> wrote: > >> > Hello list, > >> > > >> > I'm trying to create AD users from Midpoint. I'm getting the 53 > >> > WILL_NOT_PERFORM error, which it seems to be related to the password > >> > policy. > >> > The AD I'm using does have a password policy. > >> > > >> > So I'm trying to set some literal, strong password as a placeholder, > but > >> > I > >> > don't think my mapping is working. How should I configure it? I cannot > >> > find > >> > any examples. Below are the error I get and the password outbound > >> > mapping. > >> > > >> > com.evolveum.midpoint.util.exception.SystemException: Got unexpected > >> > exception: > >> > > >> > org.identityconnectors.framework.common.exceptions. > PermissionDeniedException: > >> > Error adding LDAP entry CN=JOHN DOE,OU=Users,DC=midpoint,DC=local: > >> > unwillingToPerform: 0000052D: SvcErr: DSID-031A12D2, problem 5003 > >> > (WILL_NOT_PERFORM), data 0?? (53) > >> > > >> > > >> > ri:userPassword > >> > true > >> > false > >> > explicit > >> > > >> > true > >> > false > >> > normal > >> > > >> > Midpoint2018* > >> > > >> > > >> > > >> > > >> > > >> > Thanks and happy new year to all =) > >> > > >> > _______________________________________________ > >> > midPoint mailing list > >> > midPoint at lists.evolveum.com > >> > http://lists.evolveum.com/mailman/listinfo/midpoint > >> > > >> > >> > >> > >> -- > >> Best regards, > >> > >> Oleksandr Nekriach | Identity and access management engineer > >> > >> Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > >> > >> +37125314685 > >> , > >> o.nekriach at dynatech.lv > >> | > >> www.dynatech.lv > >> > >> > >> > >> > >> Stay connected: > >> > >> > >> Confidentiality Notice: This message contains confidential information > >> and is intended only for the named recipient(s). If you are not the > >> addressee you may not copy, distribute or perform any other activities > >> with this information. If you have received this transmission in > >> error, please notify us by e-mail immediately. E-mail transmission > >> cannot be guaranteed to be secure or error-free as information could > >> be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > >> or contain viruses. > >> _______________________________________________ > >> midPoint mailing list > >> midPoint at lists.evolveum.com > >> http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > > > _______________________________________________ > > midPoint mailing list > > midPoint at lists.evolveum.com > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Thu Jan 4 20:27:48 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 04 Jan 2018 20:27:48 +0100 (CET) Subject: [midPoint] Protected Message-ID: Hi all, I have a question about protected objects. I need to exclude multiple OU's in AD. I tryed to do that by adding:                                                         stringIgnoreCase                   declare namespace icfs='http://midpoint.evolveum. com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name                   ou=Global,dc=hell,dc=local                   true                                                                                               stringIgnoreCase                   declare namespace icfs='http://midpoint.evolveum. com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name                   ou=CZ,dc=hell,dc=local                   true                                                                                               stringIgnoreCase                   declare namespace icfs='http://midpoint.evolveum. com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name                   cz=Users,dc=hell,dc=local                   true                                       But it doesnt work. I am not able to see account in repository and resource. If htere is only one protected OU then it works. Where is an error? Thanks  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From roman.pudil at ami.cz Thu Jan 4 21:01:52 2018 From: roman.pudil at ami.cz (Roman Pudil - AMI Praha a.s.) Date: Thu, 04 Jan 2018 20:01:52 +0000 Subject: [midPoint] Protected In-Reply-To: References: Message-ID: Hi Jan, try this modified filter: stringIgnoreCase declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name ou=Global,dc=hell,dc=local true stringIgnoreCase declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name ou=CZ,dc=hell,dc=local true stringIgnoreCase declare namespace icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; attributes/icfs:name cz=Users,dc=hell,dc=local true Regards Roman Pudil solution architect gsm: [+420] 775 663 666 e-mail: roman.pudil at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel./fax: [+420] 274 783 239 web: www.ami.cz Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. ------ Původní zpráva ------ Od: "Jan Kaspar" Komu: midpoint at lists.evolveum.com Odesláno: 4.1.2018 20:27:48 Předmět: [midPoint] Protected >Hi all, > >I have a question about protected objects. I need to exclude multiple >OU's in AD. > >I tryed to do that by adding: > > > > > stringIgnoreCase > declare namespace >icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; >attributes/icfs:name > ou=Global,dc=hell,dc=local > true > > > > > > > stringIgnoreCase > declare namespace >icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; >attributes/icfs:name > ou=CZ,dc=hell,dc=local > true > > > > > > > stringIgnoreCase > declare namespace >icfs='http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3'; >attributes/icfs:name > cz=Users,dc=hell,dc=local > true > > > > >But it doesnt work. I am not able to see account in repository and >resource. If htere is only one protected OU then it works. >Where is an error? > >Thanks > >Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Thu Jan 4 21:56:42 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 04 Jan 2018 21:56:42 +0100 (CET) Subject: [midPoint] Protected Message-ID: Hi Roman, I tryed this but still same. bellow is the error. Jan operation.com.evolveum.midpoint.web.component.data. SelectableBeanObjectDataProvider.searchObjects Message Couldn't list objects. Error com.evolveum.midpoint.util.exception.SchemaException: Could not find definition for item attributes/name show com.evolveum.midpoint.util.exception.SystemException: com.evolveum.midpoint. util.exception.SchemaException: Could not find definition for item attributes/name at com.evolveum.midpoint.provisioning.impl.ShadowCache. lambda$searchObjectsIterativeRepository$5(ShadowCache.java:1534) at com. evolveum.midpoint.repo.cache.RepositoryCache$1.handle(RepositoryCache.java: 227) at com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever. searchObjectsIterativeAttempt(ObjectRetriever.java:704) at com.evolveum. midpoint.repo.sql.SqlRepositoryServiceImpl. searchObjectsIterativeBySingleTransaction(SqlRepositoryServiceImpl.java:843) at com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl. searchObjectsIterative(SqlRepositoryServiceImpl.java:817) at com.evolveum. midpoint.repo.cache.RepositoryCache.searchObjectsIterative(RepositoryCache. java:230) at com.evolveum.midpoint.provisioning.impl.ShadowManager. searchObjectsIterativeRepository(ShadowManager.java:690) at com.evolveum. midpoint.provisioning.impl.ShadowCache.searchObjectsIterativeRepository (ShadowCache.java:1538) at com.evolveum.midpoint.provisioning.impl. ShadowCache.searchObjectsIterative(ShadowCache.java:1288) at com.evolveum. midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache. java:1276) at com.evolveum.midpoint.provisioning.impl. ProvisioningServiceImpl.searchObjectsIterative(ProvisioningServiceImpl.java: 1036) at com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl. searchObjects(ProvisioningServiceImpl.java:483) at com.evolveum.midpoint. model.impl.controller.ModelController.searchObjects(ModelController.java: 781) at com.evolveum.midpoint.web.component.data. SelectableBeanObjectDataProvider.internalIterator (SelectableBeanObjectDataProvider.java:177) at com.evolveum.midpoint.web. component.data.BaseSortableDataProvider.iterator(BaseSortableDataProvider. java:225) at org.apache.wicket.markup.repeater.data.DataViewBase$ ModelIterator.(DataViewBase.java:107) at org.apache.wicket.markup. repeater.data.DataViewBase.getItemModels(DataViewBase.java:74) at org. apache.wicket.markup.repeater.AbstractPageableView.getItemModels (AbstractPageableView.java:101) at org.apache.wicket.markup.repeater. RefreshingView.onPopulate(RefreshingView.java:93) at org.apache.wicket. markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124) at org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender (AbstractPageableView.java:115) at org.apache.wicket.Component. internalBeforeRender(Component.java:950) at org.apache.wicket.Component. beforeRender(Component.java:1018) at org.apache.wicket.MarkupContainer. onBeforeRenderChildren(MarkupContainer.java:1825) at org.apache.wicket. Component.onBeforeRender(Component.java:3916) at org.apache.wicket. Component.internalBeforeRender(Component.java:950) at org.apache.wicket. Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.markup.html.form.Form.onBeforeRender(Form.java:1810) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.markup.html.form.Form.onBeforeRender(Form.java:1810) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at org.apache. wicket.Component.internalBeforeRender(Component.java:950) at org.apache. wicket.Component.beforeRender(Component.java:1018) at org.apache.wicket. MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) at org. apache.wicket.Component.onBeforeRender(Component.java:3916) at com.evolveum. midpoint.web.component.TabbedPanel.onBeforeRender(TabbedPanel.java:255) at org.apache.wicket.Component.internalBeforeRender(Component.java:950) at org. apache.wicket.Component.beforeRender(Component.java:1018) at org.apache. wicket.Component.internalPrepareForRender(Component.java:2236) at org. apache.wicket.Component.prepareForRender(Component.java:2275) at org.apache. wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java: 98) at org.apache.wicket.page.PartialPageUpdate.writeComponents (PartialPageUpdate.java:248) at org.apache.wicket.page.PartialPageUpdate. writeTo(PartialPageUpdate.java:161) at org.apache.wicket.ajax. AjaxRequestHandler.respond(AjaxRequestHandler.java:358) at org.apache. wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java: 895) at org.apache.wicket.request.RequestHandlerStack.execute (RequestHandlerStack.java:64) at org.apache.wicket.request. RequestHandlerStack.execute(RequestHandlerStack.java:97) at org.apache. wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) at org. apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java: 222) at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach (RequestCycle.java:293) at org.apache.wicket.protocol.http.WicketFilter. processRequestCycle(WicketFilter.java:261) at org.apache.wicket.protocol. http.WicketFilter.processRequest(WicketFilter.java:203) at org.apache. wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) at org. apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) at org.apache.catalina.core. ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com. evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter (MidPointProfilingServletFilter.java:86) at org.apache.catalina.core. ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter (ApplicationFilterChain.java:166) at org.springframework.security.web. FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor. invoke(FilterSecurityInterceptor.java:127) at org.springframework.security. web.access.intercept.FilterSecurityInterceptor.doFilter (FilterSecurityInterceptor.java:91) at org.springframework.security.web. FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter (ExceptionTranslationFilter.java:114) at org.springframework.security.web. FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.session.SessionManagementFilter.doFilter (SessionManagementFilter.java:137) at org.springframework.security.web. FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.authentication. AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java: 111) at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org. springframework.security.web.servletapi. SecurityContextHolderAwareRequestFilter.doFilter (SecurityContextHolderAwareRequestFilter.java:170) at org.springframework. security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy. java:331) at org.springframework.security.web.savedrequest. RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) at org. springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:331) at org.springframework.security.web.session. ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:155) at org. springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:331) at org.springframework.security.web. authentication.AbstractAuthenticationProcessingFilter.doFilter (AbstractAuthenticationProcessingFilter.java:200) at org.springframework. security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy. java:331) at org.springframework.security.web.authentication.logout. LogoutFilter.doFilter(LogoutFilter.java:116) at org.springframework. security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy. java:331) at org.springframework.security.web.csrf.CsrfFilter. doFilterInternal(CsrfFilter.java:100) at org.springframework.web.filter. OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org. springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:331) at org.springframework.security.web.context. SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter. java:105) at org.springframework.security.web.FilterChainProxy$ VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org. springframework.security.web.context.request.async. WebAsyncManagerIntegrationFilter.doFilterInternal (WebAsyncManagerIntegrationFilter.java:56) at org.springframework.web. filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org. springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter (FilterChainProxy.java:331) at org.springframework.security.web. FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) at org. springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy. java:177) at org.springframework.web.filter.DelegatingFilterProxy. invokeDelegate(DelegatingFilterProxy.java:347) at org.springframework.web. filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) at org.apache.catalina.core. ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org. springframework.web.filter.RequestContextFilter.doFilterInternal (RequestContextFilter.java:99) at org.springframework.web.filter. OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache. catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) at org.apache.catalina.core. ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org. springframework.web.filter.HttpPutFormContentFilter.doFilterInternal (HttpPutFormContentFilter.java:108) at org.springframework.web.filter. OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache. catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) at org.apache.catalina.core. ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org. springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal (HiddenHttpMethodFilter.java:81) at org.springframework.web.filter. OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.apache. catalina.core.ApplicationFilterChain.internalDoFilter (ApplicationFilterChain.java:193) at org.apache.catalina.core. ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org. apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 199) at org.apache.catalina.core.StandardContextValve.invoke (StandardContextValve.java:96) at org.apache.catalina.authenticator. AuthenticatorBase.invoke(AuthenticatorBase.java:478) at org.apache.catalina. core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache. catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org. apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: 342) at org.apache.coyote.http11.Http11Processor.service(Http11Processor. java:803) at org.apache.coyote.AbstractProcessorLight.process (AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat. util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org. apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at org. apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java: 61) at java.lang.Thread.run(Unknown Source) Caused by: com.evolveum. midpoint.util.exception.SchemaException: Could not find definition for item attributes/name at com.evolveum.midpoint.prism.query.ValueFilter. getFilterItem(ValueFilter.java:278) at com.evolveum.midpoint.prism.query. SubstringFilter.match(SubstringFilter.java:91) at com.evolveum.midpoint. prism.query.OrFilter.match(OrFilter.java:63) at com.evolveum.midpoint.prism. query.ObjectQuery.match(ObjectQuery.java:98) at com.evolveum.midpoint. common.ResourceObjectPattern.matches(ResourceObjectPattern.java:76) at com. evolveum.midpoint.common.ResourceObjectPattern.matches (ResourceObjectPattern.java:66) at com.evolveum.midpoint.provisioning.util. ProvisioningUtil.isProtectedShadow(ProvisioningUtil.java:336) at com. evolveum.midpoint.provisioning.util.ProvisioningUtil.setProtectedFlag (ProvisioningUtil.java:345) at com.evolveum.midpoint.provisioning.impl. ShadowCache.lambda$searchObjectsIterativeRepository$5(ShadowCache.java:1506) ... 151 more -------------- next part -------------- An HTML attachment was scrubbed... URL: From roman.pudil at ami.cz Thu Jan 4 22:06:09 2018 From: roman.pudil at ami.cz (Roman Pudil - AMI Praha a.s.) Date: Thu, 04 Jan 2018 21:06:09 +0000 Subject: [midPoint] Protected In-Reply-To: References: Message-ID: Hi Jan, try to change attributes/icfs:name to attributes/ri:dn Regards Roman Pudil solution architect gsm: [+420] 775 663 666 e-mail: roman.pudil at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel./fax: [+420] 274 783 239 web: www.ami.cz Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. ------ Původní zpráva ------ Od: "Jan Kaspar" Komu: midpoint at lists.evolveum.com Odesláno: 4.1.2018 21:56:42 Předmět: [midPoint] Protected >Hi Roman, > >I tryed this but still same. bellow is the error. > >Jan > >operation.com.evolveum.midpoint.web.component.data.SelectableBeanObjectDataProvider.searchObjectsMessageCouldn't >list objects.Errorcom.evolveum.midpoint.util.exception.SchemaException: >Could not find definition for item >attributes/nameshowcom.evolveum.midpoint.util.exception.SystemException: >com.evolveum.midpoint.util.exception.SchemaException: Could not find >definition for item attributes/name at >com.evolveum.midpoint.provisioning.impl.ShadowCache.lambda$searchObjectsIterativeRepository$5(ShadowCache.java:1534) > at >com.evolveum.midpoint.repo.cache.RepositoryCache$1.handle(RepositoryCache.java:227) > at >com.evolveum.midpoint.repo.sql.helpers.ObjectRetriever.searchObjectsIterativeAttempt(ObjectRetriever.java:704) > at >com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterativeBySingleTransaction(SqlRepositoryServiceImpl.java:843) > at >com.evolveum.midpoint.repo.sql.SqlRepositoryServiceImpl.searchObjectsIterative(SqlRepositoryServiceImpl.java:817) > at >com.evolveum.midpoint.repo.cache.RepositoryCache.searchObjectsIterative(RepositoryCache.java:230) > at >com.evolveum.midpoint.provisioning.impl.ShadowManager.searchObjectsIterativeRepository(ShadowManager.java:690) > at >com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterativeRepository(ShadowCache.java:1538) > at >com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1288) > at >com.evolveum.midpoint.provisioning.impl.ShadowCache.searchObjectsIterative(ShadowCache.java:1276) > at >com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObjectsIterative(ProvisioningServiceImpl.java:1036) > at >com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl.searchObjects(ProvisioningServiceImpl.java:483) > at >com.evolveum.midpoint.model.impl.controller.ModelController.searchObjects(ModelController.java:781) > at >com.evolveum.midpoint.web.component.data.SelectableBeanObjectDataProvider.internalIterator(SelectableBeanObjectDataProvider.java:177) > at >com.evolveum.midpoint.web.component.data.BaseSortableDataProvider.iterator(BaseSortableDataProvider.java:225) > at >org.apache.wicket.markup.repeater.data.DataViewBase$ModelIterator.(DataViewBase.java:107) > at >org.apache.wicket.markup.repeater.data.DataViewBase.getItemModels(DataViewBase.java:74) > at >org.apache.wicket.markup.repeater.AbstractPageableView.getItemModels(AbstractPageableView.java:101) > at >org.apache.wicket.markup.repeater.RefreshingView.onPopulate(RefreshingView.java:93) > at >org.apache.wicket.markup.repeater.AbstractRepeater.onBeforeRender(AbstractRepeater.java:124) > at >org.apache.wicket.markup.repeater.AbstractPageableView.onBeforeRender(AbstractPageableView.java:115) > at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1810) > at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.markup.html.form.Form.onBeforeRender(Form.java:1810) > at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1825) > at org.apache.wicket.Component.onBeforeRender(Component.java:3916) at >com.evolveum.midpoint.web.component.TabbedPanel.onBeforeRender(TabbedPanel.java:255) > at >org.apache.wicket.Component.internalBeforeRender(Component.java:950) > at org.apache.wicket.Component.beforeRender(Component.java:1018) at >org.apache.wicket.Component.internalPrepareForRender(Component.java:2236) > at org.apache.wicket.Component.prepareForRender(Component.java:2275) > at >org.apache.wicket.page.XmlPartialPageUpdate.writeComponent(XmlPartialPageUpdate.java:98) > at >org.apache.wicket.page.PartialPageUpdate.writeComponents(PartialPageUpdate.java:248) > at >org.apache.wicket.page.PartialPageUpdate.writeTo(PartialPageUpdate.java:161) > at >org.apache.wicket.ajax.AjaxRequestHandler.respond(AjaxRequestHandler.java:358) > at >org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895) > at >org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) > at >org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:97) > at >org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265) > at >org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222) > at >org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293) > at >org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261) > at >org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203) > at >org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:284) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >com.evolveum.midpoint.web.util.MidPointProfilingServletFilter.doFilter(MidPointProfilingServletFilter.java:86) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) > at >org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) > at >org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.session.ConcurrentSessionFilter.doFilter(ConcurrentSessionFilter.java:155) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.csrf.CsrfFilter.doFilterInternal(CsrfFilter.java:100) > at >org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56) > at >org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) > at >org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) > at >org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) > at >org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) > at >org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347) > at >org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99) > at >org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108) > at >org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81) > at >org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) > at >org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) > at >org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) > at >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) > at >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) > at >org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) > at >org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803) > at >org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) > at >org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) > at >org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) > at >org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) > at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at >org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) > at java.lang.Thread.run(Unknown Source) Caused by: >com.evolveum.midpoint.util.exception.SchemaException: Could not find >definition for item attributes/name at >com.evolveum.midpoint.prism.query.ValueFilter.getFilterItem(ValueFilter.java:278) > at >com.evolveum.midpoint.prism.query.SubstringFilter.match(SubstringFilter.java:91) > at com.evolveum.midpoint.prism.query.OrFilter.match(OrFilter.java:63) > at >com.evolveum.midpoint.prism.query.ObjectQuery.match(ObjectQuery.java:98) > at >com.evolveum.midpoint.common.ResourceObjectPattern.matches(ResourceObjectPattern.java:76) > at >com.evolveum.midpoint.common.ResourceObjectPattern.matches(ResourceObjectPattern.java:66) > at >com.evolveum.midpoint.provisioning.util.ProvisioningUtil.isProtectedShadow(ProvisioningUtil.java:336) > at >com.evolveum.midpoint.provisioning.util.ProvisioningUtil.setProtectedFlag(ProvisioningUtil.java:345) > at >com.evolveum.midpoint.provisioning.impl.ShadowCache.lambda$searchObjectsIterativeRepository$5(ShadowCache.java:1506) > ... 151 more -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Fri Jan 5 06:45:17 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Fri, 05 Jan 2018 06:45:17 +0100 (CET) Subject: [midPoint] Protected Message-ID: Hi Roman, thanks, that was the problem Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From vilo.repan at evolveum.com Sat Jan 6 00:00:45 2018 From: vilo.repan at evolveum.com (Viliam Repan) Date: Sat, 6 Jan 2018 00:00:45 +0100 Subject: [midPoint] MidPoint DB changes Message-ID: Hi all, I”ve just merged some changes related to hibernate 5 upgrade to MidPoint master branch. These changes will improve write speed of audit records, mainly in cases when there are many records in audit tables. More performance improvements are on the way as well. Current changes unfortunately means some DB changes as well. Simplest solution is to drop and recreate tables: m_audit_ref_value m_audit_prop_value m_audit_item m_audit_delta m_audit_event I’ve also created DB upgrade scripts, which do more intelligent version of upgrade as only “id” column has changed. Now it’s marked as auto_increment/identity column. Pull requests with improvements for SQL scripts are more than welcomed. Best regards, viliam From Caspi at seznam.cz Sat Jan 6 19:59:41 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 06 Jan 2018 19:59:41 +0100 (CET) Subject: [midPoint] Bulk Password change Message-ID: Hello, I would like to ask for help with creating filter for bulk password change for users. goal is to generate new password in all systems for batch of user based on attribute (employeeType) value. I found that script but filters doesnt work for me. What is correct filter? to filter all user with: employeeType == 'Internal'                           ObjectType                                                   b87eb285-b4ae-43c0-9e4c-7ba651de81fa                        469fd663-4492-4c24-8ce3-3907df7ac7ec                        f9be8006-fd58-43f9-99ff-311935d9d3d3                        b2a3f4ad-ad7b-4691-83d9-34d5ebb50a04                        60dd9e6b-7403-4075-bcfa-d4566a552d41                                                                generate-value                              items                                                                                            credentials/password/value                                                  true                                                                                         name             credentials/password/value                            true      Thanks Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Sat Jan 6 20:35:22 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Sat, 6 Jan 2018 20:35:22 +0100 Subject: [midPoint] Bulk Password change In-Reply-To: References: Message-ID: <28cb36aa-fa90-744a-f762-895b1374f53c@evolveum.com> Hello Jan, writing from memory but this should work:     employeeType     XYZ but take care to use UserType instead of ObjectType as it is in your sample. Best regards, Pavol Mederly Software developer evolveum.com On 06.01.2018 19:59, Jan Kaspar wrote: > Hello, > I would like to ask for help with creating filter for bulk password > change for users. > > goal is to generate new password in all systems for batch of user > based on attribute (employeeType) value. > > I found that script but filters doesnt work for me. > > What is correct filter? to filter all user with: employeeType == > 'Internal' > > |<||s:executeScript| > |xmlns:s||=||"http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" > | > |||xmlns:c||=||"http://midpoint.evolveum.com/xml/ns/public/common/common-3" > | > |||xmlns:xsi||=||"http://www.w3.org/2001/XMLSchema-instance" > | > |||xmlns:api||=||"http://midpoint.evolveum.com/xml/ns/public/common/api-types-3" > ||>| > |||<||s:pipeline||>| > |||<||s:search||>| > |||<||s:type||>ObjectType| > |||<||s:searchFilter||>| > |||<||q:inOid| > |xmlns:q||=||"http://prism.evolveum.com/xml/ns/public/query-3" > ||>| > |||<||q:value||>b87eb285-b4ae-43c0-9e4c-7ba651de81fa > ||| > |||<||q:value||>469fd663-4492-4c24-8ce3-3907df7ac7ec > ||| > |||<||q:value||>f9be8006-fd58-43f9-99ff-311935d9d3d3 > ||| > |||<||q:value||>b2a3f4ad-ad7b-4691-83d9-34d5ebb50a04 > ||| > |||<||q:value||>60dd9e6b-7403-4075-bcfa-d4566a552d41 > ||| > |||| > |||| > |||| > |||<||s:action||>| > |||<||s:type||>generate-value| > |||<||s:parameter||>| > |||<||s:name||>items| > |||<||c:value| |xsi:type||=||"api:PolicyItemsDefinitionType"||>| > |||<||api:policyItemDefinition||>| > |||<||api:target||>| > |||<||api:path||>credentials/password/value| > |||| > |||<||api:execute||>true| > |||| > |||| > |||| > ||| | > |||<||s:filterContent||>| > |||<||s:keep||>name| > |||<||s:keep||>credentials/password/value| > |||| > |||| > |||<||s:options||>| > |||<||s:continueOnAnyError||>true| > |||| > || > | > | > |Thanks Jan| > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 6 21:12:35 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 06 Jan 2018 21:12:35 +0100 (CET) Subject: [midPoint] Bulk Password change (Pavol Mederly) Message-ID: Hi Pavol, thanks for reply. I also try that but i got error:  Couldn't parse bulk action object   (http://192.168.4.104:8080/admin/config/bulk?270-1.ILinkListener-feedbackContainer-feedback-list-4-message-detailsBox-downloadXml)   Operation operation.performBulkAction Message Couldn't parse bulk action object Error Error parsing XML document The prefix "q" for element "q:equal" is not bound. show java.lang.IllegalStateException: Error parsing XML document The prefix "q" for element "q:equal" is not bound. at com.evolveum.midpoint.util.DOMUtil. parse(DOMUtil.java:255) at com.evolveum.midpoint.prism.lex.dom. DomLexicalProcessor.read(DomLexicalProcessor.java:84) at com.evolveum. midpoint.prism.marshaller.PrismParserImpl.doParseRealValue(PrismParserImpl. java:157) at com.evolveum.midpoint.prism.marshaller.PrismParserImpl. doParseRealValue(PrismParserImpl.java:163) at com.evolveum.midpoint.prism. marshaller.PrismParserImplNoIO.parseRealValue(PrismParserImplNoIO.java:146) at com.evolveum.midpoint.web.page.admin.configuration.PageBulkAction. startPerformed(PageBulkAction.java:117)                 UserType                             name             jack                                                 generate-value                             items                                                                                         credentials/password/value                                                 true                                                                                     name             credentials/password/value                         true     Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 6 21:16:28 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 06 Jan 2018 21:16:28 +0100 (CET) Subject: [midPoint] Bulk Password change Message-ID: Hi again, got it. rmeove Q: and P: solved my problem.  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sun Jan 7 14:31:39 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sun, 07 Jan 2018 14:31:39 +0100 (CET) Subject: [midPoint] Condition for role assignement Message-ID: Hi, I am trying to create condition for Org assignement. Basicaly user type have to be a Contractor and must be enabled. Problem with this cone is an AND operator (&&). with this i cannot save the code. I am missing point. In other mappings i am using OR and it works. See code bellow:            My Object Template: test assign orgs       false       strong                employeeType                      activation/effectiveStatus                                                                  assignment                                 Thanks for Help Jan  -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Mon Jan 8 08:38:49 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Mon, 8 Jan 2018 09:38:49 +0200 Subject: [midPoint] Condition for role assignement In-Reply-To: References: Message-ID: Hello Jan, You should use $amp; instead of & character Best regards, Oleksandr On 7 January 2018 at 15:31, Jan Kaspar wrote: > Hi, > > I am trying to create condition for Org assignement. Basicaly user type have > to be a Contractor and must be enabled. > Problem with this cone is an AND operator (&&). with this i cannot save the > code. I am missing point. In other mappings i am using OR and it works. > > See code bellow: > > > My Object Template: test assign orgs > false > strong > > employeeType > > > activation/effectiveStatus > > > > type="OrgType"/> > > > > assignment > > > > > > > Thanks for Help > > Jan > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From o.nekriach at dynatech.lv Mon Jan 8 08:40:12 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Mon, 8 Jan 2018 09:40:12 +0200 Subject: [midPoint] Condition for role assignement In-Reply-To: References: Message-ID: Sorry thi one is correct & On 8 January 2018 at 09:38, Oleksandr Nekriach wrote: > Hello Jan, > You should use $amp; instead of & character > > Best regards, Oleksandr > > On 7 January 2018 at 15:31, Jan Kaspar wrote: >> Hi, >> >> I am trying to create condition for Org assignement. Basicaly user type have >> to be a Contractor and must be enabled. >> Problem with this cone is an AND operator (&&). with this i cannot save the >> code. I am missing point. In other mappings i am using OR and it works. >> >> See code bellow: >> >> >> My Object Template: test assign orgs >> false >> strong >> >> employeeType >> >> >> activation/effectiveStatus >> >> >> >> > type="OrgType"/> >> >> >> >> assignment >> >> >> >> >> >> >> Thanks for Help >> >> Jan >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From o.nekriach at dynatech.lv Mon Jan 8 15:49:58 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Mon, 8 Jan 2018 16:49:58 +0200 Subject: [midPoint] Principle of Relativity Message-ID: Hi guys, Please answer me whether there is a way to recalculate all the attributes and assignments that are assigned to users according to its ObjectTemplate. Or the principle of Relativity can not be bypassed. Example: We have ObjectTemplate wich is applied during reconciliation. This ObjectTemplate assigns roles to the users. But after some time I have found that the IDM administrators (Help Desk guys) made some changes. And I'm not sure whether all users have those assignments that were automatically calculated according to ObjectTemplates or there is something superfluous. And I would like to remove this unnecessary assignments automatically. -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From Caspi at seznam.cz Tue Jan 9 15:18:25 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Tue, 09 Jan 2018 15:18:25 +0100 (CET) Subject: [midPoint] AD Attributes Message-ID: Hi, I need to be able to edit more attributes in Active Directory. Attrributes are extensionAttribute1-10 for example.  We are using them for other applications.  How to do that? For now I am using ri:user and ri:group.  Thanks  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Tue Jan 9 17:14:32 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Tue, 9 Jan 2018 17:14:32 +0100 Subject: [midPoint] AD Attributes In-Reply-To: References: Message-ID: <5d595881-cae9-2ff9-35a6-648a36155b2f@evolveum.com> Hi Jan, if these attributes are not returned by the AD/connector, one possible way is to configure them as operational attribute(s) in your AD/LDAP resource configuration. E.g. this is from one of my projects:   . . .   extensionAttribute15 . . . Best regards, Ivan On 09.01.2018 15:18, Jan Kaspar wrote: > Hi, > > I need to be able to edit more attributes in Active Directory. > Attrributes are extensionAttribute1-10 for example.  > > We are using them for other applications.  > How to do that? For now I am using ri:user and ri:group.  > > Thanks  > > Jan > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Tue Jan 9 22:23:48 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Tue, 9 Jan 2018 22:23:48 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef Message-ID: Hi All! In the new version 3.7 the approverRef and ownerRef are marked by exclamation mark in the role detail GUI as if they were deprecated. But he new tab appeared: "Governance", where I can assign approvers, managers and owners. I assigned an approver to a role, but I cannot find this in the role xml. I can see this only in the user xml in "targetRef/relation=org:approver" section. I want to make a role template where the approver is directly assigned to the imported roles, without using metarole. How should I do it? Thanks! WS -------------- next part -------------- An HTML attachment was scrubbed... URL: From petr.gasparik at ami.cz Tue Jan 9 22:54:39 2018 From: petr.gasparik at ami.cz (=?UTF-8?B?UGV0ciBHYcWhcGFyw61rIC0gQU1JIFByYWhhIGEucy4=?=) Date: Tue, 9 Jan 2018 22:54:39 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef In-Reply-To: References: Message-ID: Hi Wojciech, I believe this was replaced by assignment type manager, approver, owner, ... See old example: https://wiki.evolveum.com/pages/viewpage.action?pageId=4882466 with link to new example: https://wiki.evolveum.com/display/midPoint/Approval+sample+scenario+1%3A+Multi-level%2C+metarole-driven+approvals -- s pozdravem Petr Gašparík solution architect gsm: [+420] 603 523 860 e-mail: petr.gasparik at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-09 22:23 GMT+01:00 Wojciech Staszewski < wojciech.staszewski at diagnostyka.pl>: > Hi All! > > In the new version 3.7 the approverRef and ownerRef are marked by exclamation > mark in the role detail GUI as if they were deprecated. > But he new tab appeared: "Governance", where I can assign approvers, > managers and owners. > > I assigned an approver to a role, but I cannot find this in the role xml. > I can see this only in the user xml in "targetRef/relation=org:approver" > section. > > I want to make a role template where the approver is directly assigned to > the imported roles, without using metarole. > How should I do it? > Thanks! > WS > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Wed Jan 10 10:27:02 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Wed, 10 Jan 2018 10:27:02 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef In-Reply-To: References: Message-ID: Sorry but I don't get it. All of these examples use metaroles for approval and I want to assign approver explicitly/directly. So I have to use role autoassignment with approver relation? Regards! WS W dniu 09.01.2018 o 22:23, Wojciech Staszewski pisze: > Hi All! > > In the new version 3.7 the approverRef and ownerRef are marked by exclamation mark in the role detail GUI as if they were deprecated. > But he new tab appeared: "Governance", where I can assign approvers, managers and owners. > > I assigned an approver to a role, but I cannot find this in the role xml. > I can see this only in the user xml in "targetRef/relation=org:approver" section. > > I want to make a role template where the approver is directly assigned to the imported roles, without using metarole. > How should I do it? > > Thanks! > WS > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > From petr.gasparik at ami.cz Wed Jan 10 11:25:40 2018 From: petr.gasparik at ami.cz (=?UTF-8?B?UGV0ciBHYcWhcGFyw61rIC0gQU1JIFByYWhhIGEucy4=?=) Date: Wed, 10 Jan 2018 11:25:40 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef In-Reply-To: References: Message-ID: I leave this for Evolveum to answer P. -- s pozdravem Petr Gašparík solution architect gsm: [+420] 603 523 860 e-mail: petr.gasparik at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-10 10:27 GMT+01:00 Wojciech Staszewski < wojciech.staszewski at diagnostyka.pl>: > Sorry but I don't get it. All of these examples use metaroles for approval > and I want to assign approver explicitly/directly. > So I have to use role autoassignment with approver relation? > > Regards! > WS > > W dniu 09.01.2018 o 22:23, Wojciech Staszewski pisze: > > Hi All! > > > > In the new version 3.7 the approverRef and ownerRef are marked by > exclamation mark in the role detail GUI as if they were deprecated. > > But he new tab appeared: "Governance", where I can assign approvers, > managers and owners. > > > > I assigned an approver to a role, but I cannot find this in the role xml. > > I can see this only in the user xml in "targetRef/relation=org:approver" > section. > > > > I want to make a role template where the approver is directly assigned > to the imported roles, without using metarole. > > How should I do it? > > > > Thanks! > > WS > > > > > > _______________________________________________ > > midPoint mailing list > > midPoint at lists.evolveum.com > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From radovan.semancik at evolveum.com Wed Jan 10 13:57:34 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 10 Jan 2018 13:57:34 +0100 Subject: [midPoint] MidPoint in 2018 Message-ID: Dear midPoint community, Happy new year! 2018 is here. And it looks like a very exciting year for midPoint. There are new development plans for 2018 but also interesting changes in our business model. There is so much to look forward to in 2018. I would like use this start-of-new-year period to share our plans with you. This is going to be quite a long mail. But there are important information to share with you. So please make yourself comfortable. First let’s have a look back at 2017. This was yet another busy year for midPoint. Especially the Comenius release brought huge amount of new features. This was followed by Darwin which brought a wide range of evolutionary improvements. It means that MidPoint is now much more than just IDM. MidPoint is planted deeply in the identity governance field. In fact it is the first (and only) full-featured identity governance system in existence. Which I guess makes it a best-of-breed solution, doesn’t it? MidPoint is also recognized by major industry analysts and the number of midPoint deployment is growing. So, we can say that we have reached and even exceeded our plans for 2017. And now the plans for 2018. The plan is, as usual, to have two releases. MidPoint 3.8 is planned for early spring, midPoint 3.9 will come in autumn. We have quite precise plans for 3.8, but there are preliminary plans for the whole of 2018. Let’s start at the beginning. The development of midPoint 3.8 is already in full swing. There are two major focus areas: scalability and data protection. The goal is to run midPoint efficiently even for massive deployments. Currently it can handle deployments with few millions of identities – assuming appropriate configuration, environment and quite a bit of patience. But midPoint 3.8 should be able to go beyond that limit. Our team is working on the scalability and performance improvements right now. The second area where midPoint is being developed is data protection. Yes, that means GDPR. Identity management systems are almost ideal tools to support and automate data protection mechanisms. But midPoint goes a step further by introducing features specifically aimed at data protection into the base product. This is still a bit of a secret (as much as anything can really be a secret in an open source world). We are going to unveil the details at FOSDEM conference. So it might be a good idea to head for Brussels in first weekend in February. This is going to be fun: https://fosdem.org/2018/schedule/event/idm_midpoint/ MidPoint 3.8 will be released quite soon, most likely early April. The plan is to get back to our original April/October release schedule. Precise plans for midPoint 3.9 are still open. Significant part of development time is reserved for platform subscribers. But the preliminary plan for this release tentatively aims at improving user experience (UX) of the user interface. There was a gradual evolution of the user interface in every release to date. But current situation asks for a bigger review of the UX principles of midPoint user interface. The extent of the improvements is still not entirely certain. There are a lot of ideas and suggestions and it is quite clear that not all of them will make it to midPoint 3.9. Which improvements will be included mostly depends on preferences expressed by the subscribers. Therefore, it is perhaps a good idea to purchase your subscription now to make sure that your voice will be heard. There are only a few months left before midPoint 3.9 development starts. There are also a couple changes to Evolveum business model. First change affects the lifetime of the releases. Up until now every release was supported for two years since the initial (minor) release. This was a good model when midPoint was young. It was ideal for early adopters that wanted new features very quickly. But now when midPoint is a mature product stability is much more important than rapid feature delivery. Therefore, in 2018 midPoint will be adopting the system of long-term support (LTS) releases. There will be an LTS release every two years and those releases will be supported for a longer time. The other (non-LTS) releases will be supported for a shorter time. There will also be a direct upgrade path between LTS releases. Therefore, the LTS releases are for those that prefer stability. Other feature releases are for those that prefer rapid delivery of new features. There is something for everybody. The other change in our business is the strong preference of subscriptions over sponsoring. Up until now there was a possibility to directly sponsor a specific feature. We will be phasing out this offering during 2018. Sponsoring can pay for the development of a new feature. But it does not cover the maintenance cost. Only subscription can do that. MidPoint is now a mature system and feature stability and continuity is crucial. Therefore, we decided to support this stability with appropriate business model. From now on the right way to get your feature into midPoint is to use platform subscription: https://evolveum.com/services/professional-support/ There is also one change that is very likely to affect this mailing list. Since the beginning of midPoint project back in 2011 we have used this mailing list as a primary means of technological communication. We definitely want to maintain that, and I take it as my personal new year resolution to try to communicate our plans more often and more clearly. The mailing list is also used as a community support forum. Which is good and it is a pleasant sight to see such a vibrant community growing around a product that we have created. However, having Evolveum engineers answer every community question is an enormous drain on our resources. You might have noticed that we have reduced the amount of time that our engineers use for community support during last year. I'm afraid that this is a trend that is very likely to continue. The community gets bigger and it is not possible to answer every question. Therefore we have to prioritize. And of course, midPoint subscribers get absolute priority. We will also try to answer as many community questions as possible, but only to the extent that time availability of our engineers permits. I'm sorry about this, but even our engineers need to get a bit of sleep occasionally. On the other hand as midPoint community grows there are more and more cases when a community question is answered by another community member. And I must say that I'm very happy that midPoint community has this life of its own. Thank you all for that! There is a similar situation when it comes to bug reports. It is always good practice to file a bug report in our Jira. However, I would like to clarify the expectations about the fix. All issues reported by midPoint subscribers will be prioritized. Subscriber issues will be handled as soon as possible. If the subscriber specified a higher priority for the issue then the issue will be fixed in next (minor) midPoint release. If the subscriber indicated that this issues should be part of a maintenance release then we will backport the fix. To summarize: subscriber is a king. Then there are (non-subscriber) community issues. We will prioritize fixing community issues only in two cases: if it is a security issue or if the bug affects huge number of midPoint deployments (security issues will always get highest priority regardless of who has reported them). Other community issues have to wait. We will not work on these issues immediately. We will not ignore the issues, we will just assign lower priority to them. We have a test/bugfix cycle before every midPoint release. That's the time when community issues may get fixed - but only after all the subscriber issues are fixed. However, the experience from recent midPoint releases tells that this time is very limited. Community issues will not block scheduled midPoint release. Therefore it is not realistic to expect that all community issues will get fixed. Unfixed issues are postponed for the next release. But the priority stays the same. So there may be quite a long time before the issues get fixed. In fact there are community issues that are already postponed for several years. I'm sorry for this. We would really like to fix all the issues. But our capacity to fix community issues is limited. At this point I'm quite certain that you are aware where this all leads to. And you are right. Please, get midPoint subscription. That is the right thing to do to keep midPoint project going. So, this is the current state of midPoint project and those are our plans for 2018. MidPoint is the biggest open source IDM system out there. It is actually bigger than all the other open source IDM systems combined – both in the quantity of the code and quality of the features. MidPoint is the only open source system that implements strong identity governance. The midPoint project is a great success. All these years of hard work were worth it. Even though vast majority of the work was done by the core team in Evolveum, the project would not be possible without you: midPoint community. We would like to thank all midPoint contributors and especially midPoint subscribers. MidPoint would not be such a great product without all your support. Thank you! -- Radovan Semancik Software Architect evolveum.com From wojciech.staszewski at diagnostyka.pl Wed Jan 10 14:32:37 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Wed, 10 Jan 2018 14:32:37 +0100 Subject: [midPoint] MidPoint in 2018 In-Reply-To: References: Message-ID: Hello! About this mailing list: As I understand, the list will remain as the main communication channel and there's no plans for a community forum/board? I have nothing against the mailing list, except the fact that our e-mail addresses are exhibited for public access in the archives, for the spam scanners too... :( Best regards! WS W dniu 10.01.2018 o 13:57, Radovan Semancik pisze: > Dear midPoint community, > [...] From radovan.semancik at evolveum.com Wed Jan 10 15:06:26 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 10 Jan 2018 15:06:26 +0100 Subject: [midPoint] MidPoint in 2018 In-Reply-To: References: Message-ID: <221f0e77-54d9-93b4-3709-162e7d7cbef3@evolveum.com> Hi, Yes, the mailing list will remain. We have no specific plans for the forum. Some time ago we have been looking at the options that we have. We definitely want to keep the mailing-list character (mail-based communication) as I believe this brings a level of civility that is rarely seen in Internet forums. But we have not been able to identity any reasonable software that would combine the advantages of mailing list and forum. That would indeed be very attractive. Just we have just found no viable options. But, as always, we are open to suggestions. -- Radovan Semancik Software Architect evolveum.com On 01/10/2018 02:32 PM, Wojciech Staszewski wrote: > Hello! > > About this mailing list: As I understand, the list will remain as the main communication channel and there's no plans for a community forum/board? > I have nothing against the mailing list, except the fact that our e-mail addresses are exhibited for public access in the archives, > for the spam scanners too... :( > > Best regards! > WS > > W dniu 10.01.2018 o 13:57, Radovan Semancik pisze: >> Dear midPoint community, >> > [...] > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From martin.lizner at ami.cz Wed Jan 10 15:21:54 2018 From: martin.lizner at ami.cz (=?UTF-8?Q?Martin_L=C3=ADzner_=2D_AMI_Praha_a=2Es=2E?=) Date: Wed, 10 Jan 2018 15:21:54 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef In-Reply-To: References: Message-ID: Hi, storing approvers in role object is obsoleted indeed. New approach is storing this information as focus (user, role, org) assignment with special relation. This allows new features like delegation and certification. You dont need to use metaroles or autoassignment for role approvers. You can do it via direct assignment from user to role with special relation set (relation=approver). In GUI, you can e.g. set it from role detail - Governance tab. M. Martin Lízner solution architect gsm: [+420] 737 745 571 e-mail: martin.lizner at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-10 10:27 GMT+01:00 Wojciech Staszewski < wojciech.staszewski at diagnostyka.pl>: > Sorry but I don't get it. All of these examples use metaroles for approval > and I want to assign approver explicitly/directly. > So I have to use role autoassignment with approver relation? > > Regards! > WS > > W dniu 09.01.2018 o 22:23, Wojciech Staszewski pisze: > > Hi All! > > > > In the new version 3.7 the approverRef and ownerRef are marked by > exclamation mark in the role detail GUI as if they were deprecated. > > But he new tab appeared: "Governance", where I can assign approvers, > managers and owners. > > > > I assigned an approver to a role, but I cannot find this in the role xml. > > I can see this only in the user xml in "targetRef/relation=org:approver" > section. > > > > I want to make a role template where the approver is directly assigned > to the imported roles, without using metarole. > > How should I do it? > > > > Thanks! > > WS > > > > > > _______________________________________________ > > midPoint mailing list > > midPoint at lists.evolveum.com > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Wed Jan 10 15:27:35 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Wed, 10 Jan 2018 15:27:35 +0100 Subject: [midPoint] V3.7 - approverRef and ownerRef In-Reply-To: References: Message-ID: <9e06800d-8746-af38-cd63-5681036882c3@diagnostyka.pl> Hi! I know how to do it in GUI, I want to know how to do it in role template :) Best regards! WS W dniu 10.01.2018 o 15:21, Martin Lízner - AMI Praha a.s. pisze: > Hi,  > > storing approvers in role object is obsoleted indeed. New approach is storing this information as focus (user, role, org) assignment with special relation. This allows new features like delegation and certification.  > > You dont need to use metaroles or autoassignment for role approvers. You can do it via direct assignment from user to role with special relation set (relation=approver). In GUI, you can e.g. set it from role detail - Governance tab. > > M. > > Martin Lízner > solution architect > > gsm: [+420] 737 745 571 > e-mail: martin.lizner at ami.cz > >         > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 > web: www.ami.cz > >         > > > AMI Praha a.s. > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. > > > > 2018-01-10 10:27 GMT+01:00 Wojciech Staszewski >: > > Sorry but I don't get it. All of these examples use metaroles for approval and I want to assign approver explicitly/directly. > So I have to use role autoassignment with approver relation? > > Regards! > WS > > W dniu 09.01.2018 o 22:23, Wojciech Staszewski pisze: > > Hi All! > > > > In the new version 3.7 the approverRef and ownerRef are marked by exclamation mark in the role detail GUI as if they were deprecated. > > But he new tab appeared: "Governance", where I can assign approvers, managers and owners. > > > > I assigned an approver to a role, but I cannot find this in the role xml. > > I can see this only in the user xml in "targetRef/relation=org:approver" section. > > > > I want to make a role template where the approver is directly assigned to the imported roles, without using metarole. > > How should I do it? > > > > Thanks! > > WS > > > > > > _______________________________________________ > > midPoint mailing list > > midPoint at lists.evolveum.com > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > From martin.lizner at ami.cz Wed Jan 10 15:33:21 2018 From: martin.lizner at ami.cz (=?UTF-8?Q?Martin_L=C3=ADzner_=2D_AMI_Praha_a=2Es=2E?=) Date: Wed, 10 Jan 2018 15:33:21 +0100 Subject: [midPoint] Principle of Relativity In-Reply-To: References: Message-ID: Hi, try using strength=strong for your object template mappings. Should do for most cases. Default is strength=normal, which triggers mapping only when mapping sources are changed. M. Martin Lízner solution architect gsm: [+420] 737 745 571 e-mail: martin.lizner at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-08 15:49 GMT+01:00 Oleksandr Nekriach : > Hi guys, > Please answer me whether there is a way to recalculate all the > attributes and assignments that are assigned to users according to its > ObjectTemplate. Or the principle of Relativity can not be bypassed. > Example: > We have ObjectTemplate wich is applied during reconciliation. This > ObjectTemplate assigns roles to the users. But after some time I have > found that the IDM administrators (Help Desk guys) made some changes. > And I'm not sure whether all users have those assignments that were > automatically calculated according to ObjectTemplates or there is > something superfluous. And I would like to remove this unnecessary > assignments automatically. > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Wed Jan 10 16:12:27 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Wed, 10 Jan 2018 16:12:27 +0100 (CET) Subject: [midPoint] Protected OUs Message-ID: Hi All, I have a question about filtering in resource (AD). I have an example of OU structure that contains hundrets of OU on same level. OU=1,OU=Country, DC=Company, DC=local . .. OU=500,OU=Country, DC=Company, DC=local There is a need to work only with OU 1-10. Others must be protected. Is there a way how to accomplish that? There is not posibility to change OU structure.  Thanks, Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Wed Jan 10 16:29:03 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Wed, 10 Jan 2018 17:29:03 +0200 Subject: [midPoint] Principle of Relativity In-Reply-To: References: Message-ID: Hi Martin, I have already tried this approach but had not success in my case. Assigment Agents to Agents Role true strong $user/employeeType formerEmployee $user/extension/formerEmployee assignment On 10 January 2018 at 16:33, Martin Lízner - AMI Praha a.s. < martin.lizner at ami.cz> wrote: > Hi, try using strength=strong for your object template mappings. Should do > for most cases. Default is strength=normal, which triggers mapping only > when mapping sources are changed. M. > > Martin Lízner > solution architect > > gsm: [+420] 737 745 571 <+420%20737%20745%20571> > e-mail: martin.lizner at ami.cz > > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 <+420%20274%20783%20239> > web: www.ami.cz > > > > [image: AMI Praha a.s.] > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za > společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně > písemnou formu. > > > 2018-01-08 15:49 GMT+01:00 Oleksandr Nekriach : > >> Hi guys, >> Please answer me whether there is a way to recalculate all the >> attributes and assignments that are assigned to users according to its >> ObjectTemplate. Or the principle of Relativity can not be bypassed. >> Example: >> We have ObjectTemplate wich is applied during reconciliation. This >> ObjectTemplate assigns roles to the users. But after some time I have >> found that the IDM administrators (Help Desk guys) made some changes. >> And I'm not sure whether all users have those assignments that were >> automatically calculated according to ObjectTemplates or there is >> something superfluous. And I would like to remove this unnecessary >> assignments automatically. >> >> -- >> Best regards, >> >> Oleksandr Nekriach | Identity and access management engineer >> >> Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia >> >> +37125314685 >> , >> o.nekriach at dynatech.lv >> | >> www.dynatech.lv >> >> >> >> >> Stay connected: >> >> >> Confidentiality Notice: This message contains confidential information >> and is intended only for the named recipient(s). If you are not the >> addressee you may not copy, distribute or perform any other activities >> with this information. If you have received this transmission in >> error, please notify us by e-mail immediately. E-mail transmission >> cannot be guaranteed to be secure or error-free as information could >> be intercepted, corrupted, lost, destroyed, arrive late or incomplete, >> or contain viruses. >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 <+371%2025%20314%20685> , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7771 Type: image/png Size: 790 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7770 Type: image/png Size: 2602 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7772 Type: image/png Size: 786 bytes Desc: not available URL: From petr.gasparik at ami.cz Wed Jan 10 16:53:26 2018 From: petr.gasparik at ami.cz (=?UTF-8?B?UGV0ciBHYcWhcGFyw61rIC0gQU1JIFByYWhhIGEucy4=?=) Date: Wed, 10 Jan 2018 16:53:26 +0100 Subject: [midPoint] MidPoint in 2018 In-Reply-To: <221f0e77-54d9-93b4-3709-162e7d7cbef3@evolveum.com> References: <221f0e77-54d9-93b4-3709-162e7d7cbef3@evolveum.com> Message-ID: Google groups combine this, mail+web interface, you can use both. See Apereo maillist :) -- s pozdravem Petr Gašparík solution architect gsm: [+420] 603 523 860 e-mail: petr.gasparik at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. 2018-01-10 15:06 GMT+01:00 Radovan Semancik : > Hi, > > Yes, the mailing list will remain. We have no specific plans for the > forum. Some time ago we have been looking at the options that we have. We > definitely want to keep the mailing-list character (mail-based > communication) as I believe this brings a level of civility that is rarely > seen in Internet forums. But we have not been able to identity any > reasonable software that would combine the advantages of mailing list and > forum. That would indeed be very attractive. Just we have just found no > viable options. But, as always, we are open to suggestions. > > -- > Radovan Semancik > Software Architect > evolveum.com > > > > On 01/10/2018 02:32 PM, Wojciech Staszewski wrote: > >> Hello! >> >> About this mailing list: As I understand, the list will remain as the >> main communication channel and there's no plans for a community forum/board? >> I have nothing against the mailing list, except the fact that our e-mail >> addresses are exhibited for public access in the archives, >> for the spam scanners too... :( >> >> Best regards! >> WS >> >> W dniu 10.01.2018 o 13:57, Radovan Semancik pisze: >> >>> Dear midPoint community, >>> >>> [...] >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Thu Jan 11 00:07:54 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 11 Jan 2018 00:07:54 +0100 (CET) Subject: [midPoint] remove roles from disabled users Message-ID: <1YG.vMi.5eUEY1pvU2p.1QLfpA@seznam.cz> Hello All, can someone help me with change of following script?  Script is removing roles from users that were administratively marked as disabled (activation status -> combobox). I would like to have it also in case that user is disabled by Valid To attribute.     Remove assignments from disabled users     secondary     c:UserType      Thanks Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From caspi at caspi.cz Wed Jan 10 13:36:00 2018 From: caspi at caspi.cz (=?UTF-8?Q?Jan_Ka=C5=A1par?=) Date: Wed, 10 Jan 2018 13:36:00 +0100 Subject: [midPoint] AD Attributes Message-ID: Hi Ivan, thank you very much. It works! S pozdravem Jan Kašpar -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Thu Jan 11 09:17:11 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 11 Jan 2018 09:17:11 +0100 (CET) Subject: [midPoint] remove roles from disabled users Message-ID: <1sT.vMm.2euxT8KfU61.1QLns7@seznam.cz> Hi, Found solution. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Thu Jan 11 09:26:07 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Thu, 11 Jan 2018 10:26:07 +0200 Subject: [midPoint] remove roles from disabled users In-Reply-To: <1sT.vMm.2euxT8KfU61.1QLns7@seznam.cz> References: <1sT.vMm.2euxT8KfU61.1QLns7@seznam.cz> Message-ID: Hi, Jan What is correct one? On 11 January 2018 at 10:17, Jan Kaspar wrote: > Hi, > > Found solution. > > Jan > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From ivan.noris at evolveum.com Thu Jan 11 10:19:16 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Thu, 11 Jan 2018 10:19:16 +0100 Subject: [midPoint] Principle of Relativity In-Reply-To: References: Message-ID: Hi Oleksandr, one thing is to have strong mappings for assigning the roles through the template. But to really apply anything to target systems you also have to have strong mappings in schema handling/roles (outbound mappings) in all resources where you want this. Then reconciliation (or any other synchronization, including provisioning) will always try to push the values which should be in the target system account attributes. The default mapping strength is normal as Martin said; that means, only changes are synchronized. Regards, Ivan On 10.01.2018 16:29, Oleksandr Nekriach wrote: > Hi Martin, > I have already tried this approach but had not success in my case. > >    >       Assigment Agents to Agents Role >       true >       strong >       >          $user/employeeType >       >       >          formerEmployee >          $user/extension/formerEmployee >       >       >          >             type="c:RoleType"/> >          >       >       >          assignment >       >       >          >       >    > > On 10 January 2018 at 16:33, Martin Lízner - AMI Praha a.s. > > wrote: > > Hi, try using strength=strong for your object template mappings. > Should do for most cases. Default is strength=normal, which > triggers mapping only when mapping sources are changed. M. > > Martin Lízner > solution architect > > gsm: [+420] 737 745 571 > e-mail: martin.lizner at ami.cz > >         > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 > web: www.ami.cz > >         > > > > AMI Praha a.s. > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá > za společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít > výhradně písemnou formu. > > > > 2018-01-08 15:49 GMT+01:00 Oleksandr Nekriach > >: > > Hi guys, > Please answer me whether there is a way to recalculate all the > attributes and assignments that are assigned to users > according to its > ObjectTemplate. Or the principle of Relativity can not be > bypassed. > Example: > We have ObjectTemplate wich is applied during reconciliation. This > ObjectTemplate  assigns roles to the users. But after some > time I have > found that the IDM administrators (Help Desk guys)  made some > changes. > And I'm not sure whether all users have those assignments that > were > automatically calculated according to ObjectTemplates or there is > something superfluous. And I would like to remove this unnecessary > assignments automatically. > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential > information > and is intended only for the named recipient(s). If you are > not the > addressee you may not copy, distribute or perform any other > activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information > could > be intercepted, corrupted, lost, destroyed, arrive late or > incomplete, > or contain viruses. > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7770 Type: image/png Size: 2602 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7771 Type: image/png Size: 790 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7772 Type: image/png Size: 786 bytes Desc: not available URL: From Caspi at seznam.cz Thu Jan 11 11:41:49 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 11 Jan 2018 11:41:49 +0100 (CET) Subject: [midPoint] remove roles from disabled users Message-ID: <2Cw.vMu.1Xhk25JW}ou.1QLpzj@seznam.cz> Hi Oleksandr, I just change :  ActivationStatusType administrativeStatus = user.getActivation(). getEffectiveStatus(); Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From gustav.palos at evolveum.com Thu Jan 11 12:27:00 2018 From: gustav.palos at evolveum.com (=?UTF-8?B?UMOhbG9zIEd1c3TDoXY=?=) Date: Thu, 11 Jan 2018 12:27:00 +0100 Subject: [midPoint] Cannot sync attributes to AD In-Reply-To: References: Message-ID: Hi Jan, try to use maxOccurs=1, like: ri:description Description 0 1 ..... 2017-12-29 18:19 GMT+01:00 Jan Kaspar : > Hi all, > > I have latest midpoint 3.7 version and I am expiriencing an error with > syncing description on user and group object ou to AD. > When object in AD has null value of description attribute it works. I can > easily add description and suffix " - managed by MidPoint" > Problem is when i change the value to difedrent one, or in ad there is > already some value. > > then i got and error: > OperationAdd attribute values (Icf)MessageInvalid attribute: > org.identityconnectors.framework.common.exceptions. > InvalidAttributeValueException(Error modifying LDAP entry > CN=Blanca.Parker,OU=Users,OU=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))Parameters > uid [e61d0dc3-33dc-4ba1-a623-a243edbdfa52] > objectClass [crOCD ({http://midpoint.evolveum.com/xml/ns/public/resource/ > instance-3}user)] > options [OperationOptions: {}] > attributes [[Attribute: {Name=description, Value=[pepina1 - Managed by > MidPoint]}]]Context > connector [class org.identityconnectors.framework.impl.api.local. > LocalConnectorFacadeImpl]ErrorInvalid attribute: org.identityconnectors. > framework.common.exceptions.InvalidAttributeValueException(Error > modifying LDAP entry CN=Blanca.Parker,OU=Users,OU=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))show > com.evolveum.midpoint.util.exception.SchemaException: Invalid attribute: > org.identityconnectors.framework.common.exceptions. > InvalidAttributeValueException(Error modifying LDAP entry > CN=Blanca.Parker,OU=Users,OU=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.provisioning.ucf.impl.connid. > ConnIdUtil.lookForKnownCause(ConnIdUtil.java:352) at > com.evolveum.midpoint.provisioning.ucf.impl.connid.ConnIdUtil. > processConnIdException(ConnIdUtil.java:215) at com.evolveum.midpoint. > provisioning.ucf.impl.connid.ConnectorInstanceConnIdImpl.modifyObject( > ConnectorInstanceConnIdImpl.java:1715) at com.evolveum.midpoint. > provisioning.impl.ResourceObjectConverter.executeModify( > ResourceObjectConverter.java:769) at com.evolveum.midpoint. > provisioning.impl.ResourceObjectConverter.modifyResourceObject( > ResourceObjectConverter.java:571) at com.evolveum.midpoint. > provisioning.impl.ShadowCache.modifyShadow(ShadowCache.java:745) at > com.evolveum.midpoint.provisioning.impl.ProvisioningServiceImpl. > modifyObject(ProvisioningServiceImpl.java:671) at > com.evolveum.midpoint.model.impl.lens.ChangeExecutor. > modifyProvisioningObject(ChangeExecutor.java:1495) at > com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeModification(ChangeExecutor.java:1369) > at com.evolveum.midpoint.model.impl.lens.ChangeExecutor. > executeDelta(ChangeExecutor.java:909) at com.evolveum.midpoint.model. > impl.lens.ChangeExecutor.executeChanges(ChangeExecutor.java:318) at > com.evolveum.midpoint.model.impl.lens.Clockwork.lambda$ > processSecondary$0(Clockwork.java:635) at com.evolveum.midpoint.model. > impl.lens.LensUtil.partialExecute(LensUtil.java:947) at > com.evolveum.midpoint.model.impl.lens.LensUtil. > partialExecute(LensUtil.java:934) at com.evolveum.midpoint.model. > impl.lens.Clockwork.processSecondary(Clockwork.java:633) at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:479) > at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:202) > at com.evolveum.midpoint.model.impl.controller.ModelController. > executeChanges(ModelController.java:538) at com.evolveum.midpoint.web. > component.progress.ProgressPanel$14.callWithContextPrepared(ProgressPanel.java:605) > at com.evolveum.midpoint.web.component.progress.ProgressPanel$14. > callWithContextPrepared(ProgressPanel.java:591) at > com.evolveum.midpoint.web.component.SecurityContextAwareCallable.call( > SecurityContextAwareCallable.java:59) at java.util.concurrent.FutureTask.run(Unknown > Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown > Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown > Source) at java.lang.Thread.run(Unknown Source) > > Thanks Jan > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Gustáv Pálos Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Fri Jan 12 09:10:39 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Fri, 12 Jan 2018 10:10:39 +0200 Subject: [midPoint] Issue with midPoint cluster (Cannot connect to the remote node: no such object in table) Message-ID: Dear colleagues, Please help me to solve the issue with cluster deployment. I have setup midpoint cluster on tomcat servers with two nodes NodeA and NodeB (using Sun JDK 8). Everything seems correct in logs during startup only INFO messages are there. 2018-01-12 07:23:18,152 [] [localhost-startStop-1] INFO (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): Registering this node in th e repository as NodeB at sec-idm2:20001 2018-01-12 07:23:19,071 [] [localhost-startStop-1] INFO (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): Initializing Quartz sc heduler (but not starting it yet). 2018-01-12 07:23:19,151 [] [localhost-startStop-1] INFO (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): ... Quartz scheduler i nitialized. 2018-01-12 07:23:19,153 [] [localhost-startStop-1] INFO (com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer): Synchronizing Quartz j ob store with midPoint repository. But when I navigate to Server tasks (in administrative interface) I receive error messages in logs (see below) and status messages in interface Cannot connect to the remote node NodeA at sec-idm1:20001: no such object in table sec-idm2:~# telnet sec-idm1 20001 Trying 10.176.0.11... Connected to sec-idm1. Escape character is '^]'. The same situation when I try it from the second NodeB. In this case Cannot connect to the remote node NodeB at sec-idm2:20001: no such object in table sec-idm1:~# telnet sec-idm2 20001 Trying 10.176.1.11... Connected to sec-idm2. Escape character is '^]'. 2018-01-12 07:58:38,045 [] [http-nio-8080-exec-8] ERROR (com.evolveum.midpoint.task.quartzimpl.execution.RemoteNodesManager): Cannot connect to the remote node NodeA at sec-idm1:20001. java.rmi.NoSuchObjectException: no such object in table at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283) ~[na:1.8.0_151] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260) ~[na:1.8.0_151] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161) ~[na:1.8.0_151] at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227) ~[na:1.8.0_151] at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179) ~[na:1.8.0_151] at com.sun.proxy.$Proxy182.newClient(Unknown Source) ~[na:na] at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430) ~[na:1.8.0_151] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308) ~[na:1.8.0_151] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) ~[na:1.8.0_151] at com.evolveum.midpoint.task.quartzimpl.execution.JmxClient$1.run(JmxClient.java:45) ~[task-quartz-impl-3.6.1.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[na:1.8.0_151] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_151] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_151] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From m.benucci at nsr.it Fri Jan 12 09:50:00 2018 From: m.benucci at nsr.it (Marco Benucci) Date: Fri, 12 Jan 2018 09:50:00 +0100 Subject: [midPoint] password storage method "hash" and users with empty password Message-ID: Hi, we are running midpoint 3.6 and we would like to switch the password storage method from enrcyption to hash. Now, if we create a new user with an empty password from the gui, we got this error: java.lang.IllegalStateException: Subresult com.evolveum.midpoint.model.impl.lens.ChangeExecutor.execute of operation com.evolveum.midpoint.model.api.ModelService.executeChanges is still UNKNOWN during cleanup; during handling of exception java.lang.NullPointerException     at com.evolveum.midpoint.schema.result.OperationResult.cleanupResult(OperationResult.java:1277)     at com.evolveum.midpoint.model.impl.controller.ModelUtils.recordFatalError(ModelUtils.java:75)     at com.evolveum.midpoint.model.impl.controller.ModelUtils.recordFatalError(ModelUtils.java:66)     at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:596)     at sun.reflect.GeneratedMethodAccessor1772.invoke(Unknown Source)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)     at com.sun.proxy.$Proxy166.executeChanges(Unknown Source)     at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)     at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NullPointerException     at com.evolveum.midpoint.model.impl.lens.projector.credentials.CredentialsProcessor.transformFocusExectionDeltaCredential(CredentialsProcessor.java:232)     at com.evolveum.midpoint.model.impl.lens.projector.credentials.CredentialsProcessor.transformFocusExectionDelta(CredentialsProcessor.java:207)     at com.evolveum.midpoint.model.impl.lens.ChangeExecutor.executeChanges(ChangeExecutor.java:187)     at com.evolveum.midpoint.model.impl.lens.Clockwork.lambda$processSecondary$0(Clockwork.java:481)     at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1253)     at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1240)     at com.evolveum.midpoint.model.impl.lens.Clockwork.processSecondary(Clockwork.java:479)     at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:327)     at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:203)     at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:569) with encryption method this error does not happen and one can create a new user from the gui without add the password. Is this a bug? -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Fri Jan 12 13:52:44 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Fri, 12 Jan 2018 14:52:44 +0200 Subject: [midPoint] Issue with midPoint cluster (Cannot connect to the remote node: no such object in table) In-Reply-To: References: Message-ID: Hello guys. I have found cause. It was my fault I have missed to configure dataSource atttribute for taskManager in config.xml On 12 January 2018 at 10:10, Oleksandr Nekriach wrote: > Dear colleagues, > Please help me to solve the issue with cluster deployment. > I have setup midpoint cluster on tomcat servers with two nodes NodeA > and NodeB (using Sun JDK 8). > Everything seems correct in logs during startup only INFO messages are there. > 2018-01-12 07:23:18,152 [] [localhost-startStop-1] INFO > (com.evolveum.midpoint.task.quartzimpl.cluster.NodeRegistrar): > Registering this node in th > e repository as NodeB at sec-idm2:20001 > 2018-01-12 07:23:19,071 [] [localhost-startStop-1] INFO > (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): > Initializing Quartz sc > heduler (but not starting it yet). > 2018-01-12 07:23:19,151 [] [localhost-startStop-1] INFO > (com.evolveum.midpoint.task.quartzimpl.execution.LocalNodeManager): > ... Quartz scheduler i > nitialized. > 2018-01-12 07:23:19,153 [] [localhost-startStop-1] INFO > (com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer): > Synchronizing Quartz j > ob store with midPoint repository. > > But when I navigate to Server tasks (in administrative interface) I > receive error messages in logs (see below) and status messages in > interface Cannot connect to the remote node NodeA at sec-idm1:20001: > no such object in table > sec-idm2:~# telnet sec-idm1 20001 > Trying 10.176.0.11... > Connected to sec-idm1. > Escape character is '^]'. > The same situation when I try it from the second NodeB. In this case > Cannot connect to the remote node NodeB at sec-idm2:20001: no such > object in table > sec-idm1:~# telnet sec-idm2 20001 > Trying 10.176.1.11... > Connected to sec-idm2. > Escape character is '^]'. > > 2018-01-12 07:58:38,045 [] [http-nio-8080-exec-8] ERROR > (com.evolveum.midpoint.task.quartzimpl.execution.RemoteNodesManager): > Cannot connect to the remote node NodeA at sec-idm1:20001. > java.rmi.NoSuchObjectException: no such object in table > at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:283) > ~[na:1.8.0_151] > at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:260) > ~[na:1.8.0_151] > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161) ~[na:1.8.0_151] > at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227) > ~[na:1.8.0_151] > at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179) > ~[na:1.8.0_151] > at com.sun.proxy.$Proxy182.newClient(Unknown Source) ~[na:na] > at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430) > ~[na:1.8.0_151] > at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308) > ~[na:1.8.0_151] > at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) > ~[na:1.8.0_151] > at com.evolveum.midpoint.task.quartzimpl.execution.JmxClient$1.run(JmxClient.java:45) > ~[task-quartz-impl-3.6.1.jar:na] > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > ~[na:1.8.0_151] > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > ~[na:1.8.0_151] > at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > ~[na:1.8.0_151] > at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > ~[na:1.8.0_151] > at java.lang.Thread.run(Thread.java:748) [na:1.8.0_151] > > > -- > Best regards, > > Oleksandr Nekriach | Identity and access management engineer > > Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia > > +37125314685 > , > o.nekriach at dynatech.lv > | > www.dynatech.lv > > > > > Stay connected: > > > Confidentiality Notice: This message contains confidential information > and is intended only for the named recipient(s). If you are not the > addressee you may not copy, distribute or perform any other activities > with this information. If you have received this transmission in > error, please notify us by e-mail immediately. E-mail transmission > cannot be guaranteed to be secure or error-free as information could > be intercepted, corrupted, lost, destroyed, arrive late or incomplete, > or contain viruses. -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. From Caspi at seznam.cz Sat Jan 13 14:25:09 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 13 Jan 2018 14:25:09 +0100 (CET) Subject: [midPoint] Group Membership Message-ID: <5JH.vLN.6u6J10yrrKt.1QMWYr@seznam.cz> Hello All, I have a question about group membership. I have hundrets of groups in AD. For begining I would like to force membership only for selected groups. I tryed to do that with tolerancy but it is resource wide configuration. So all groups are affected. Is there a way how to do that? Thanks Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 13 18:20:08 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 13 Jan 2018 18:20:08 +0100 (CET) Subject: [midPoint] AD groups import Message-ID: <5XP.vLZ.725ZuPwYU2U.1QMZ}8@seznam.cz> Hi All, I need help with AD group import to Midpoint. I have MP 3.7 installed and sync of users from CSV and matching to AD is working OK. Problem is with groups. We have hundrets of groups and I need to import groups and start to manage them. If I try to import groups to MP it cause also deleting of those group in AD. I tryed to create in schema handling only IN direction for name and description. But it didnt helped it still delete groups in AD. I am attaching resourse config.  Hope i described correctly. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ExportedData_ResourceType_1515857588240 (1).xml Type: text/xml Size: 680977 bytes Desc: not available URL: From mederly at evolveum.com Sat Jan 13 20:21:45 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Sat, 13 Jan 2018 20:21:45 +0100 Subject: [midPoint] AD groups import In-Reply-To: <5XP.vLZ.725ZuPwYU2U.1QMZ}8@seznam.cz> References: <5XP.vLZ.725ZuPwYU2U.1QMZ}8@seznam.cz> Message-ID: Hello Jan. What is your assignmentPolicyEnforcement setting? Please see check in the system configuration. Best regards, Pavol Mederly Software developer evolveum.com On 13.01.2018 18:20, Jan Kaspar wrote: > Hi All, > > I need help with AD group import to Midpoint. I have MP 3.7 installed > and sync of users from CSV and matching to AD is working OK. > > Problem is with groups. We have hundrets of groups and I need to > import groups and start to manage them. If I try to import groups to > MP it cause also deleting of those group in AD. I tryed to create in > schema handling only IN direction for name and description. But it > didnt helped it still delete groups in AD. > > I am attaching resourse config. > > Hope i described correctly. > > Jan > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Sat Jan 13 20:43:33 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Sat, 13 Jan 2018 20:43:33 +0100 Subject: [midPoint] AD groups import In-Reply-To: References: <5XP.vLZ.725ZuPwYU2U.1QMZ}8@seznam.cz> Message-ID: Not sure that I will be at a computer during the rest of weekend. So, please check it is not FULL. It should be the default (I think it is "relative"). Pavol Mederly Software developer evolveum.com On 13.01.2018 20:21, Pavol Mederly wrote: > > Hello Jan. > > What is your assignmentPolicyEnforcement setting? Please see check in > the system configuration. > > Best regards, > > Pavol Mederly > Software developer > evolveum.com > On 13.01.2018 18:20, Jan Kaspar wrote: >> Hi All, >> >> I need help with AD group import to Midpoint. I have MP 3.7 installed >> and sync of users from CSV and matching to AD is working OK. >> >> Problem is with groups. We have hundrets of groups and I need to >> import groups and start to manage them. If I try to import groups to >> MP it cause also deleting of those group in AD. I tryed to create in >> schema handling only IN direction for name and description. But it >> didnt helped it still delete groups in AD. >> >> I am attaching resourse config. >> >> Hope i described correctly. >> >> Jan >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 13 21:23:39 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 13 Jan 2018 21:23:39 +0100 (CET) Subject: [midPoint] AD groups import Message-ID: <5ld.vLj.2GoYh0N5cmW.1QMchB@seznam.cz> Hi All, I have it tested with 3.6 and it works with same configuration. So there is some bug in connector v1.5.1. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 13 22:52:05 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 13 Jan 2018 22:52:05 +0100 (CET) Subject: [midPoint] AD groups import Message-ID: <5po.vLt.6U96}5PnrEV.1QMd{5@seznam.cz> Hi Pavol, thank you! you are right. I hav configured Full assignement policy enforcement Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From oskar.butovic at ami.cz Mon Jan 15 11:08:07 2018 From: oskar.butovic at ami.cz (=?UTF-8?Q?Oskar_Butovi=C4=8D_=2D_AMI_Praha_a=2Es=2E?=) Date: Mon, 15 Jan 2018 11:08:07 +0100 Subject: [midPoint] Group Membership In-Reply-To: <5JH.vLN.6u6J10yrrKt.1QMWYr@seznam.cz> References: <5JH.vLN.6u6J10yrrKt.1QMWYr@seznam.cz> Message-ID: Hello Jan, for this type of problem, I suggest first reconcile group membership from AD to midpoint by inbound mapping. After that, you can do pretty much anything with assignments in midpoint and provision them strong and tolerant false to AD.(use midPoint as authoritative source after initial sync.) Best Regards Oskar Butovič 2018-01-13 14:25 GMT+01:00 Jan Kaspar : > Hello All, > > I have a question about group membership. I have hundrets of groups in AD. > > For begining I would like to force membership only for selected groups. > > I tryed to do that with tolerancy but it is resource wide configuration. > So all groups are affected. > > Is there a way how to do that? > > Thanks Jan > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Oskar Butovič solution architect gsm: [+420] 774 480 101 e-mail: oskar.butovic at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From srpenn at us.ibm.com Mon Jan 15 17:40:42 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Mon, 15 Jan 2018 16:40:42 +0000 Subject: [midPoint] Can't get a link resource to user Message-ID: Hello Community, I have a pre-existing user in Midpoint. When I run a reconcile against our HR database, I never get it to link up the resource record (shadow?) to the user. I'm trying to match based on employeeNumber. I gotta be missing something very simple. Could someone review my XML and give me any pointers? THANKS!!!! ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: User.xml Type: application/octet-stream Size: 1187 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Resource.xml Type: application/octet-stream Size: 10692 bytes Desc: not available URL: From oskar.butovic at ami.cz Mon Jan 15 17:46:12 2018 From: oskar.butovic at ami.cz (=?UTF-8?Q?Oskar_Butovi=C4=8D_=2D_AMI_Praha_a=2Es=2E?=) Date: Mon, 15 Jan 2018 17:46:12 +0100 Subject: [midPoint] Can't get a link resource to user In-Reply-To: References: Message-ID: Hello Sean, your correlation should look probably like this: employeeNumber $shadow/attributes/ri:serialnumber Best Regards Oskar Butovič 2018-01-15 17:40 GMT+01:00 Sean R Penndorf : > Hello Community, > > I have a pre-existing user in Midpoint. > When I run a reconcile against our HR database, I never get it to link up > the resource record (shadow?) to the user. > I'm trying to match based on employeeNumber. > > I gotta be missing something very simple. > > Could someone review my XML and give me any pointers? THANKS!!!! > > > > > > ------------------ > *Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud > srpenn at us.ibm.com > Office: 248-552-4791 <(248)%20552-4791> TL 623-9966 > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Oskar Butovič solution architect gsm: [+420] 774 480 101 e-mail: oskar.butovic at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From srpenn at us.ibm.com Mon Jan 15 18:22:25 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Mon, 15 Jan 2018 12:22:25 -0500 Subject: [midPoint] Can't get a link resource to user In-Reply-To: References: Message-ID: Thank you Oskar! That put me on the right track. Turns out the attribute name also was case sensitive. $shadow/attributes/ri:serialNumber (I needed a capital N) ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Oskar Butovič - AMI Praha a.s. To: midPoint General Discussion Date: 01/15/2018 11:48 AM Subject: Re: [midPoint] Can't get a link resource to user Sent by: "midPoint" Hello Sean, your correlation should look probably like this: employeeNumber $shadow/attributes/ri:serialnumber Best Regards Oskar Butovič 2018-01-15 17:40 GMT+01:00 Sean R Penndorf : Hello Community, I have a pre-existing user in Midpoint. When I run a reconcile against our HR database, I never get it to link up the resource record (shadow?) to the user. I'm trying to match based on employeeNumber. I gotta be missing something very simple. Could someone review my XML and give me any pointers? THANKS!!!! ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Oskar Butovič solution architect gsm: [+420] 774 480 101 e-mail: oskar.butovic at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=pHHy0Hn4L4ctXKLUpDwYvqjfzXhbm5-1xaLDgGaw9co&s=2AJ3jezKsWfBunz1b5jo0UQoLs-1mnzTOwrUcA_OUHg&e= -------------- next part -------------- An HTML attachment was scrubbed... URL: From caspi at caspi.cz Tue Jan 16 11:47:01 2018 From: caspi at caspi.cz (=?UTF-8?Q?Jan_Ka=C5=A1par?=) Date: Tue, 16 Jan 2018 11:47:01 +0100 Subject: [midPoint] Group Membership Message-ID: Hi Oskar, All, Yes i know that, this is what i already have. Hundrets of groups were already imported. But now i would like to force group memberships only to some groups. So apply tolerance only for groups I define. S pozdravem Jan Kašpar -------------- next part -------------- An HTML attachment was scrubbed... URL: From oskar.butovic at ami.cz Tue Jan 16 13:28:18 2018 From: oskar.butovic at ami.cz (=?UTF-8?Q?Oskar_Butovi=C4=8D_=2D_AMI_Praha_a=2Es=2E?=) Date: Tue, 16 Jan 2018 13:28:18 +0100 Subject: [midPoint] Group Membership In-Reply-To: References: Message-ID: Hi Jan, so you have all the users and groups. Do you also have assignments? That every role is assigned to same users in Idm in the same way as in external system? What I suggested is to sync assignments also. And after that, the assignment mess is same in IdM as in external system you can clear it from Idm. By some hook or template or bulk task. Best Regards Oskar Butovič 2018-01-16 11:47 GMT+01:00 Jan Kašpar : > Hi Oskar, All, > > Yes i know that, this is what i already have. Hundrets of groups were > already imported. > But now i would like to force group memberships only to some groups. > > So apply tolerance only for groups I define. > > > S pozdravem > > Jan Kašpar > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Oskar Butovič solution architect gsm: [+420] 774 480 101 e-mail: oskar.butovic at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ethan at unc.edu Tue Jan 16 15:07:50 2018 From: ethan at unc.edu (Kromhout, Ethan A.) Date: Tue, 16 Jan 2018 14:07:50 +0000 Subject: [midPoint] Upgrades and version consistency Message-ID: If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. Thanks, Ethan From wojciech.staszewski at diagnostyka.pl Tue Jan 16 15:29:12 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Tue, 16 Jan 2018 15:29:12 +0100 Subject: [midPoint] Upgrades and version consistency In-Reply-To: References: Message-ID: <2b80be60-2daa-164c-24b8-83e9968a9bc2@diagnostyka.pl> Hello! This is a great idea. I'm using software where the update is handled beautifuly. First, database is versioned. Second, The SQL update script lifts up the db version after each correctly ended query. If the update script is finished OK, the database is in version XXX. If the update failed for some reason (eg. DB tables partitioning), I know exactly which step failed and after I fix the problem I can run whole script once again and it starts from the failed step. Third: DB version is checked on application startup. Application won't run if DB version is incorrect. Simple and nerve-saving. I'd like to see something like that in MP. Regards, WS W dniu 16.01.2018 o 15:07, Kromhout, Ethan A. pisze: > If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? > > This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. > > Thanks, > > Ethan > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > From ivan.noris at evolveum.com Tue Jan 16 15:45:56 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Tue, 16 Jan 2018 15:45:56 +0100 Subject: [midPoint] Upgrades and version consistency In-Reply-To: References: Message-ID: <028c30a4-3bdc-759e-6613-f8fd45cce3ac@evolveum.com> Hi Ethan, from my experience, everytime I forgot to run upgrade scripts (read: during experimenting with midpoint; did not happen in production), midPoint refused to start and there will be an error in idm.log / midpoint.log. So midPoint will not start. I think it's connected to "validate" option in config.xml:       validate (for embedded H2 repository this can be set to "update" and it will update the db structure). Best regards, Ivan On 16.01.2018 15:07, Kromhout, Ethan A. wrote: > If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? > > This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. > > Thanks, > > Ethan > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com From ethan at unc.edu Tue Jan 16 16:07:57 2018 From: ethan at unc.edu (Kromhout, Ethan A.) Date: Tue, 16 Jan 2018 15:07:57 +0000 Subject: [midPoint] Upgrades and version consistency In-Reply-To: <028c30a4-3bdc-759e-6613-f8fd45cce3ac@evolveum.com> References: , <028c30a4-3bdc-759e-6613-f8fd45cce3ac@evolveum.com> Message-ID: Thanks very much Ivan, this is exactly the information I was looking for. Ethan ________________________________________ From: midPoint on behalf of Ivan Noris Sent: Tuesday, January 16, 2018 9:45 AM To: midpoint at lists.evolveum.com Subject: Re: [midPoint] Upgrades and version consistency Hi Ethan, from my experience, everytime I forgot to run upgrade scripts (read: during experimenting with midpoint; did not happen in production), midPoint refused to start and there will be an error in idm.log / midpoint.log. So midPoint will not start. I think it's connected to "validate" option in config.xml: validate (for embedded H2 repository this can be set to "update" and it will update the db structure). Best regards, Ivan On 16.01.2018 15:07, Kromhout, Ethan A. wrote: > If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? > > This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. > > Thanks, > > Ethan > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint From mederly at evolveum.com Tue Jan 16 16:23:07 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Tue, 16 Jan 2018 16:23:07 +0100 Subject: [midPoint] Upgrades and version consistency In-Reply-To: References: <028c30a4-3bdc-759e-6613-f8fd45cce3ac@evolveum.com> Message-ID: To be honest, the error message is a bit cryptic. But, nevertheless, midPoint will not start. And yes, it requires the "validate" option to be set. It is the default for all databases other than H2. Pavol Mederly Software developer evolveum.com On 16.01.2018 16:07, Kromhout, Ethan A. wrote: > Thanks very much Ivan, this is exactly the information I was looking for. > > Ethan > ________________________________________ > From: midPoint on behalf of Ivan Noris > Sent: Tuesday, January 16, 2018 9:45 AM > To: midpoint at lists.evolveum.com > Subject: Re: [midPoint] Upgrades and version consistency > > Hi Ethan, > > from my experience, everytime I forgot to run upgrade scripts (read: > during experimenting with midpoint; did not happen in production), > midPoint refused to start and there will be an error in idm.log / > midpoint.log. So midPoint will not start. > > I think it's connected to "validate" option in config.xml: > > validate > (for embedded H2 repository this can be set to "update" and it will > update the db structure). > > Best regards, > > Ivan > > > On 16.01.2018 15:07, Kromhout, Ethan A. wrote: >> If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? >> >> This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. >> >> Thanks, >> >> Ethan >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint > -- > Ivan Noris > Senior Identity Engineer > evolveum.com > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From srpenn at us.ibm.com Tue Jan 16 16:24:20 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Tue, 16 Jan 2018 10:24:20 -0500 Subject: [midPoint] No definition for 'manager' in user Message-ID: Hi Community, Clearly, I'm missing something simple here....running Midpoint 3.7 I have an extended attribute "manager", it shows up in the GUI when looking at User properties. But I keep getting an error with my inbound mapping: "No definition for 'manager' in user." I've tried a number of variations in the inbound mapping, but I can't get the field to populate. Any assistance is greatly appreciated. ** Extended Attribute: ** true manager ** Inbound Mapping: ** ri:manager gen316:distinguishedName true true explicit true true strong $user/extension/ext:manager ext:manager ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Tue Jan 16 17:28:07 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Tue, 16 Jan 2018 17:28:07 +0100 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: References: Message-ID: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Hi Sean, the extension looks ok. The inbound is incorrect. It should look similar to this:   ri:cn . . .       ...       $user/extension/manager   This artificial example takes "cn" attribute from LDAP and copies it to $user/extension/manager. Best regards, Ivan On 16.01.2018 16:24, Sean R Penndorf wrote: > Hi Community, > > Clearly, I'm missing something simple here....running Midpoint 3.7 > I have an extended attribute "manager", it shows up in the GUI when > looking at User properties. > But I keep getting an error with my inbound mapping:  "No definition > for 'manager' in user." > I've tried a number of variations in the inbound mapping, but I can't > get the field to populate. > Any assistance is greatly appreciated. > > > ** Extended Attribute: ** > > > >             targetNamespace="http://sos.ibm.com/xml/ns/sosSchema" >             xmlns:tns="http://sos.ibm.com/xml/ns/sosSchema" >             xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" >             > xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" >             xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > >     >         >             >                 >             >         >         >             minOccurs="0" maxOccurs="1"> >                 >                     >                         true >                         manager >                     >                 >             >         >     > > > > ** Inbound Mapping: ** > >           >             ri:manager >             xmlns:gen316="http://prism.evolveum.com/xml/ns/public/matching-rule-3">gen316:distinguishedName >             true >             true >             explicit >             >                true >                true >                strong >                 >                                             > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >                           > xsi:type="t:ItemPathType">$user/extension/ext:manager >                 >                 >                   xmlns:ext="http://sos.ibm.com/xml/ns/sosSchema">ext:manager >                 >             >           > > > > > > > > > > ------------------ > *Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud > srpenn at us.ibm.com > Office: 248-552-4791   TL  623-9966 > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From srpenn at us.ibm.com Tue Jan 16 20:22:51 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Tue, 16 Jan 2018 14:22:51 -0500 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> References: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Message-ID: Unfortunately that did not work. Any other ideas? ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Ivan Noris To: midpoint at lists.evolveum.com Date: 01/16/2018 11:39 AM Subject: Re: [midPoint] No definition for 'manager' in user Sent by: "midPoint" Hi Sean, the extension looks ok. The inbound is incorrect. It should look similar to this: ri:cn . . . ... $user/extension/manager This artificial example takes "cn" attribute from LDAP and copies it to $user/extension/manager. Best regards, Ivan On 16.01.2018 16:24, Sean R Penndorf wrote: Hi Community, Clearly, I'm missing something simple here....running Midpoint 3.7 I have an extended attribute "manager", it shows up in the GUI when looking at User properties. But I keep getting an error with my inbound mapping: "No definition for 'manager' in user." I've tried a number of variations in the inbound mapping, but I can't get the field to populate. Any assistance is greatly appreciated. ** Extended Attribute: ** true manager ** Inbound Mapping: ** ri:manager gen316:distinguishedName true true explicit true true strong $user/extension/ext:manager ext:manager ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e= -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Tue Jan 16 23:22:53 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Tue, 16 Jan 2018 23:22:53 +0100 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: References: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Message-ID: Or just "extension/manager" as below:             ri:manager                            true                false                normal                                  extension/manager                            On 16.01.2018 20:22, Sean R Penndorf wrote: > Unfortunately that did not work. > Any other ideas? > > ------------------ > *Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud > srpenn at us.ibm.com > Office: 248-552-4791   TL  623-9966 > > > > > > From:        Ivan Noris > To:        midpoint at lists.evolveum.com > Date:        01/16/2018 11:39 AM > Subject:        Re: [midPoint] No definition for 'manager' in user > Sent by:        "midPoint" > ------------------------------------------------------------------------ > > > > Hi Sean, > the extension looks ok. > The inbound is incorrect. > It should look similar to this: > >   ri:cn > . . . >   >   >   ... >   >     $user/extension/manager >   > > This artificial example takes "cn" attribute from LDAP and copies it > to $user/extension/manager. > Best regards, > Ivan > > On 16.01.2018 16:24, Sean R Penndorf wrote: > Hi Community, > > Clearly, I'm missing something simple here....running Midpoint 3.7 > I have an extended attribute "manager", it shows up in the GUI when > looking at User properties. > But I keep getting an error with my inbound mapping:  "No definition > for 'manager' in user." > I've tried a number of variations in the inbound mapping, but I can't > get the field to populate. > Any assistance is greatly appreciated. > > > ** Extended Attribute: ** > > > >             targetNamespace="_http://sos.ibm.com/xml/ns/sosSchema_" >             xmlns:tns="_http://sos.ibm.com/xml/ns/sosSchema_" >             > xmlns:a="_http://prism.evolveum.com/xml/ns/public/annotation-3_ > " >             > xmlns:c="_http://midpoint.evolveum.com/xml/ns/public/common/common-3_ > " >             xmlns:xsd="_http://www.w3.org/2001/XMLSchema_ > "> > >     >         >             >                 >             >         >         >             minOccurs="0" maxOccurs="1"> >                 >                     >                         true >                         manager >                     >                 >             >         >     > > > > ** Inbound Mapping: ** > >           >             ri:manager >             xmlns:gen316="_http://prism.evolveum.com/xml/ns/public/matching-rule-3_ > ">gen316:distinguishedName >             true >             true >             explicit >             >                true >                true >                strong >                 >                   xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_" >                           > xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_ > " >                           > xsi:type="t:ItemPathType">$user/extension/ext:manager >                 >                 >                   xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_">ext:manager >                 >             >           > > > > > > > > > > ------------------* > Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud_ > __srpenn at us.ibm.com_ > Office: 248-552-4791   TL  623-9966 > > > > > _______________________________________________ > midPoint mailing list > _midPoint at lists.evolveum.com_ > _http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > -- > Ivan Noris > Senior Identity Engineer > evolveum.com > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e= > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Wojciech Staszewski Administrator Systemów Sieciowych tel. kom: 663 680 236 www.diagnostyka.pl Diagnostyka Sp. z o. o. ul. Prof. M. Życzkowskiego 16, 31-864 Kraków Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS) NIP: 675-12-65-009; REGON: 356366975 Kapitał zakładowy: 33 756 500 zł. Pomyśl o środowisku zanim wydrukujesz ten e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Wed Jan 17 06:06:23 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Wed, 17 Jan 2018 06:06:23 +0100 (CET) Subject: [midPoint] Group Membership Message-ID: Hi Oskar, I have only users and groups (roles) without members imported. I found this http://lists.evolveum.com/pipermail/midpoint/2016-May/001884. html as a posible solution. But now i am stucked in user template. My extension is filled by DN and i shoudl parse it and get CN from that. I am trying to use regex, but still not working. In other languages no problem to parse this, but in groovy still no luck. Do you have this template done? Can you share this?  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From caspi at caspi.cz Tue Jan 16 20:28:58 2018 From: caspi at caspi.cz (=?UTF-8?Q?Jan_Ka=C5=A1par?=) Date: Tue, 16 Jan 2018 20:28:58 +0100 Subject: [midPoint] Group Membership Message-ID: Hi Oskar, I have only users and groups without membership. I didnt found sway how to import groups includint membership. If you have some config please share this. In documentation there are no examples. S pozdravem Jan Kašpar -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Wed Jan 17 09:54:28 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Wed, 17 Jan 2018 09:54:28 +0100 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: References: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Message-ID: Hi, what was your error message in this case after my proposed change..? Ivan On 16.01.2018 20:22, Sean R Penndorf wrote: > Unfortunately that did not work. > Any other ideas? > > ------------------ > *Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud > srpenn at us.ibm.com > Office: 248-552-4791   TL  623-9966 > > > > > > From:        Ivan Noris > To:        midpoint at lists.evolveum.com > Date:        01/16/2018 11:39 AM > Subject:        Re: [midPoint] No definition for 'manager' in user > Sent by:        "midPoint" > ------------------------------------------------------------------------ > > > > Hi Sean, > the extension looks ok. > The inbound is incorrect. > It should look similar to this: > >   ri:cn > . . . >   >   >   ... >   >     $user/extension/manager >   > > This artificial example takes "cn" attribute from LDAP and copies it > to $user/extension/manager. > Best regards, > Ivan > > On 16.01.2018 16:24, Sean R Penndorf wrote: > Hi Community, > > Clearly, I'm missing something simple here....running Midpoint 3.7 > I have an extended attribute "manager", it shows up in the GUI when > looking at User properties. > But I keep getting an error with my inbound mapping:  "No definition > for 'manager' in user." > I've tried a number of variations in the inbound mapping, but I can't > get the field to populate. > Any assistance is greatly appreciated. > > > ** Extended Attribute: ** > > > >             targetNamespace="_http://sos.ibm.com/xml/ns/sosSchema_" >             xmlns:tns="_http://sos.ibm.com/xml/ns/sosSchema_" >             > xmlns:a="_http://prism.evolveum.com/xml/ns/public/annotation-3_ > " >             > xmlns:c="_http://midpoint.evolveum.com/xml/ns/public/common/common-3_ > " >             xmlns:xsd="_http://www.w3.org/2001/XMLSchema_ > "> > >     >         >             >                 >             >         >         >             minOccurs="0" maxOccurs="1"> >                 >                     >                         true >                         manager >                     >                 >             >         >     > > > > ** Inbound Mapping: ** > >           >             ri:manager >             xmlns:gen316="_http://prism.evolveum.com/xml/ns/public/matching-rule-3_ > ">gen316:distinguishedName >             true >             true >             explicit >             >                true >                true >                strong >                 >                   xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_" >                           > xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_ > " >                           > xsi:type="t:ItemPathType">$user/extension/ext:manager >                 >                 >                   xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_">ext:manager >                 >             >           > > > > > > > > > > ------------------* > Sean Penndorf* > SaaS Operational Services (SOS) - ID Management > IBM Cloud_ > __srpenn at us.ibm.com_ > Office: 248-552-4791   TL  623-9966 > > > > > _______________________________________________ > midPoint mailing list > _midPoint at lists.evolveum.com_ > _http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > -- > Ivan Noris > Senior Identity Engineer > evolveum.com > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e= > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From radovan.semancik at evolveum.com Wed Jan 17 10:04:04 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 17 Jan 2018 10:04:04 +0100 Subject: [midPoint] Upgrades and version consistency In-Reply-To: References: Message-ID: <43e75a06-8e44-3eb3-4010-c9092f79209e@evolveum.com> Hi, There will be an error on startup if the database model is not compatible (e.g. there are missing columns). However, I would say that midPoint will continue to operate if the database model is compatible, e.g. tables were extended with additional (non-mandatory) columns. -- Radovan Semancik Software Architect evolveum.com On 01/16/2018 03:07 PM, Kromhout, Ethan A. wrote: > If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? > > This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. > > Thanks, > > Ethan > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From radovan.semancik at evolveum.com Wed Jan 17 10:06:20 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 17 Jan 2018 10:06:20 +0100 Subject: [midPoint] Upgrades and version consistency In-Reply-To: <2b80be60-2daa-164c-24b8-83e9968a9bc2@diagnostyka.pl> References: <2b80be60-2daa-164c-24b8-83e9968a9bc2@diagnostyka.pl> Message-ID: Hello, Indeed, that would be a nice feature. Anybody willing to use his/her platform subscription to endorse this feature? -- Radovan Semancik Software Architect evolveum.com On 01/16/2018 03:29 PM, Wojciech Staszewski wrote: > Hello! > > This is a great idea. > I'm using software where the update is handled beautifuly. > > First, database is versioned. > > Second, The SQL update script lifts up the db version after each correctly ended query. > If the update script is finished OK, the database is in version XXX. > If the update failed for some reason (eg. DB tables partitioning), I know exactly which step failed and after I fix the problem I can run whole script once again and > it starts from the failed step. > > Third: DB version is checked on application startup. Application won't run if DB version is incorrect. > > Simple and nerve-saving. I'd like to see something like that in MP. > > Regards, > WS > > W dniu 16.01.2018 o 15:07, Kromhout, Ethan A. pisze: >> If someone were to fail to run database upgrade scripts, but did deploy and upgrade war file in the scenario described in upgrade "Type 1" at the wiki page https://wiki.evolveum.com/display/midPoint/Upgrade+HOWTO, either through carelessness or because of a technical problem. Would the application check the database version and refuse to start, or would the error be more subtle? Is there a way to query to check that the database scripts have been run and are on the correct version? >> >> This is just a rhetorical question to clarify what might happen in different upgrade scenarios as we'll be working with some campus's on upgrade procedures and wanted to document possible failure modes. >> >> Thanks, >> >> Ethan >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From petr.kulheim at ibacz.eu Wed Jan 17 12:34:48 2018 From: petr.kulheim at ibacz.eu (petr.kulheim at ibacz.eu) Date: Wed, 17 Jan 2018 12:34:48 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Message-ID: hi guys, we have customer's test environment where we have upgraded midpoint from 3.5.1 to 3.6.1 After this upgrade we have some users, about 30, having following Exception during reconsiliation: 2018-01-15 17:33:30,325 [] [Thread-77] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes. java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572) ~[model-impl-3.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0] at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187) ~[classes/:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] Caused by: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491) ~[model-impl-3.6.1.jar:na] ... 21 common frames omitted I have found it comes from com.evolveum.midpoint.prism.Item radek 748, if (val.getParent() == null) { throw new IllegalStateException("Null parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); } So far we haven't found any suspicious Users/Accounts metadata. Likely it is related to AD resource. Any hint or advice would be appreciated. Thx Petr Kulheim JEE Developer IBA CZ, s.r.o. Office: Petržílkova 2565/23, 158 00 Praha, CZ Phone: +420 603 272826 E-mail: petr.kulheim at ibacz.eu Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 48578 bytes Desc: not available URL: From mederly at evolveum.com Wed Jan 17 16:01:05 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Wed, 17 Jan 2018 16:01:05 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: Message-ID: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> Hello Petr, just to make sure: You wrote that the exception occurs during reconciliation. I assume you mean reconciliation task. But the stack trace corresponds to a GUI operation. So, what's the case? Does it occur within a task or in GUI? If in GUI, is it replicable? Pavol Mederly Software developer evolveum.com On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote: > hi guys, > > we have customer's test environment where we have upgraded midpoint > from 3.5.1 to 3.6.1 > After this upgrade we have some users, about 30, having following > Exception during reconsiliation: > > 2018-01-15 17:33:30,325 [] [Thread-77] ERROR > (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error > executing changes. > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}assignment):[PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); > in current user in > LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572) > ~[model-impl-3.6.1.jar:na] >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_111] >         at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[na:1.8.0_111] >         at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[na:1.8.0_111] >         at java.lang.reflect.Method.invoke(Method.java:498) > ~[na:1.8.0_111] >         at > org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) > ~[wicket-ioc-7.6.0.jar:7.6.0] >         at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) > ~[na:na] >         at > com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187) > ~[classes/:na] >         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] > Caused by: java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}assignment):[PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491) > ~[model-impl-3.6.1.jar:na] >         ... 21 common frames omitted > > > I have found it comes from > com.evolveum.midpoint.prism.Item radek 748, > >               if (val.getParent() == null) { >       throw new IllegalStateException("Null parent for value "+val+" > in item "+this+" ("+path+" in "+rootItem+")"); >               } > > > So far we haven't found any suspicious Users/Accounts metadata. > Likely it is related to AD resource. > Any hint or advice would be appreciated. > > Thx > > Petr Kulheim > JEE Developer > > IBA CZ, s.r.o. > Office: Petržílkova 2565/23, 158 00 Praha, CZ > Phone: +420 603 272826 > E-mail: petr.kulheim at ibacz.eu > > IBACZ email signature > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jbmkejinghegchdf.png Type: image/png Size: 48578 bytes Desc: not available URL: From petr.kulheim at ibacz.eu Wed Jan 17 17:10:37 2018 From: petr.kulheim at ibacz.eu (petr.kulheim at ibacz.eu) Date: Wed, 17 Jan 2018 17:10:37 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> Message-ID: Hi Pavol, provided exception bellow is from GUI action SAVE, with reconsiliation checkbox checked, no changed done. It is replicable. If we run recosiliation task, there are about 30 errors in com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, targetType={.../common/common-3}ResourceType, relation={.../common/org-3}default)]]], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in current user in LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) ..... Looks like the same error as from GUI action, but no stack trace. thx a lot Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 16:05 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Hello Petr, just to make sure: You wrote that the exception occurs during reconciliation. I assume you mean reconciliation task. But the stack trace corresponds to a GUI operation. So, what's the case? Does it occur within a task or in GUI? If in GUI, is it replicable? Pavol Mederly Software developer evolveum.com On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote: hi guys, we have customer's test environment where we have upgraded midpoint from 3.5.1 to 3.6.1 After this upgrade we have some users, about 30, having following Exception during reconsiliation: 2018-01-15 17:33:30,325 [] [Thread-77] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes. java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572) ~[model-impl-3.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507) ~[wicket-ioc-7.6.0.jar:7.6.0] at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187) ~[classes/:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] Caused by: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491) ~[model-impl-3.6.1.jar:na] ... 21 common frames omitted I have found it comes from com.evolveum.midpoint.prism.Item radek 748, if (val.getParent() == null) { throw new IllegalStateException("Null parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); } So far we haven't found any suspicious Users/Accounts metadata. Likely it is related to AD resource. Any hint or advice would be appreciated. Thx Petr Kulheim JEE Developer IBA CZ, s.r.o. Office: Petržílkova 2565/23, 158 00 Praha, CZ Phone: +420 603 272826 E-mail: petr.kulheim at ibacz.eu Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 48578 bytes Desc: not available URL: From mederly at evolveum.com Wed Jan 17 17:23:17 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Wed, 17 Jan 2018 17:23:17 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> Message-ID: <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Petr, thanks for the information. I think I understood. So, let's have a look at it: The problem is related to the assignment of a role with OID feed0000-0000-0000-0003-000000000001. How was that assignment created? Manually through a GUI? I assume it was created via some mapping. Can you post here the mapping? Pavol Mederly Software developer evolveum.com On 17.01.2018 17:10, petr.kulheim at ibacz.eu wrote: > Hi Pavol, > provided exception bellow is from GUI action SAVE, with reconsiliation > checkbox checked, no changed done. It is replicable. > > If we run recosiliation task, there are about  30 errors in >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >  not_applicable >  1000000000000030110 >          Last 30 failures: >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >  not_applicable >  1000000000000030110 >          Last 30 failures: > CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}assignment):[PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], > PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import)]]], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, > targetType={.../common/common-3}ResourceType, > relation={.../common/org-3}default)]]], > PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in > current user in > LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) > ..... > > > Looks like the same error as from GUI action, but no stack trace. > thx a lot > > Petr > > > > > > > From: Pavol Mederly > To: midpoint at lists.evolveum.com > Date: 17/01/2018 16:05 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" > ------------------------------------------------------------------------ > > > > Hello Petr, > > just to make sure: You wrote that the exception occurs during > reconciliation. I assume you mean reconciliation task. > > But the stack trace corresponds to a GUI operation. > > So, what's the case? Does it occur within a task or in GUI? If in GUI, > is it replicable? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 12:34, _petr.kulheim at ibacz.eu_ > wrote: > hi guys, > > we have customer's test environment where we have upgraded midpoint > from 3.5.1 to 3.6.1 > After this upgrade we have some users, about 30, having following > Exception during reconsiliation: > > 2018-01-15 17:33:30,325 [] [Thread-77] ERROR > (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error > executing changes. > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); > in current user in > LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_111] >         at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] >         at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] >         at java.lang.reflect.Method.invoke(Method.java:498) > ~[na:1.8.0_111] >         at > org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] >         at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] >         at > com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] >         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] > Caused by: java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] >         ... 21 common frames omitted > > > I have found it comes from > com.evolveum.midpoint.prism.Item radek 748, > >   if (val.getParent() == null) { >           throw new IllegalStateException("Null parent for value > "+val+" in item "+this+" ("+path+" in "+rootItem+")"); >   } > > > So far we haven't found any suspicious Users/Accounts metadata. > Likely it is related to AD resource. > Any hint or advice would be appreciated. > > Thx > > Petr Kulheim > JEE Developer > > IBA CZ, s.r.o. > Office: Petržílkova 2565/23, 158 00 Praha, CZ > Phone: +420 603 272826 > E-mail: _petr.kulheim at ibacz.eu_ > > IBACZ email signature > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > _midPoint at lists.evolveum.com_ > _http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: mjcmdmkokdlphcep.png Type: image/png Size: 48578 bytes Desc: not available URL: From petr.kulheim at ibacz.eu Wed Jan 17 17:50:34 2018 From: petr.kulheim at ibacz.eu (petr.kulheim at ibacz.eu) Date: Wed, 17 Jan 2018 17:50:34 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: Pavol, I guess it was assigned by User's object template mapping, pls see here: Zamestnanec role assignment strong $user/employeeType c:RoleType feed0000-0000-0000-0003-000000000001 assignment and also I attaching the Role definition. Thx Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 17:26 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Petr, thanks for the information. I think I understood. So, let's have a look at it: The problem is related to the assignment of a role with OID feed0000-0000-0000-0003-000000000001. How was that assignment created? Manually through a GUI? I assume it was created via some mapping. Can you post here the mapping? Pavol Mederly Software developer evolveum.com On 17.01.2018 17:10, petr.kulheim at ibacz.eu wrote: Hi Pavol, provided exception bellow is from GUI action SAVE, with reconsiliation checkbox checked, no changed done. It is replicable. If we run recosiliation task, there are about 30 errors in com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, targetType={.../common/common-3}ResourceType, relation={.../common/org-3}default)]]], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in current user in LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) ..... Looks like the same error as from GUI action, but no stack trace. thx a lot Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 16:05 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Hello Petr, just to make sure: You wrote that the exception occurs during reconciliation. I assume you mean reconciliation task. But the stack trace corresponds to a GUI operation. So, what's the case? Does it occur within a task or in GUI? If in GUI, is it replicable? Pavol Mederly Software developer evolveum.com On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote: hi guys, we have customer's test environment where we have upgraded midpoint from 3.5.1 to 3.6.1 After this upgrade we have some users, about 30, having following Exception during reconsiliation: 2018-01-15 17:33:30,325 [] [Thread-77] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes. java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] Caused by: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] ... 21 common frames omitted I have found it comes from com.evolveum.midpoint.prism.Item radek 748, if (val.getParent() == null) { throw new IllegalStateException("Null parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); } So far we haven't found any suspicious Users/Accounts metadata. Likely it is related to AD resource. Any hint or advice would be appreciated. Thx Petr Kulheim JEE Developer IBA CZ, s.r.o. Office: Petržílkova 2565/23, 158 00 Praha, CZ Phone: +420 603 272826 E-mail: petr.kulheim at ibacz.eu Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 48578 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ExportedData_RoleType_1516161790929.xml Type: application/octet-stream Size: 3300 bytes Desc: not available URL: From mederly at evolveum.com Wed Jan 17 18:38:21 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Wed, 17 Jan 2018 18:38:21 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: <9e03ee25-8d84-3cd7-28f1-17d13bfae393@evolveum.com> Interesting. Please, could you send here one such user that causes midPoint to fail when recomputed? (after removing personal information - if any) Thank you. Pavol Mederly Software developer evolveum.com On 17.01.2018 17:50, petr.kulheim at ibacz.eu wrote: > Pavol, > I guess it was assigned by User's object template mapping, pls see here: > > >       Zamestnanec role assignment > strong >       >  $user/employeeType >       >       >   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >  xsi:type="c:SearchObjectRefExpressionEvaluatorType"> > c:RoleType > feed0000-0000-0000-0003-000000000001 >   >       >       >  assignment >       >       >           >       >     > > and also I attaching the Role definition. > > > Thx > Petr > > > > > > > From: Pavol Mederly > To: midpoint at lists.evolveum.com > Date: 17/01/2018 17:26 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" > ------------------------------------------------------------------------ > > > > Petr, > > thanks for the information. I think I understood. So, let's have a > look at it: > > The problem is related to the assignment of a role with OID > feed0000-0000-0000-0003-000000000001. > > How was that assignment created? Manually through a GUI? I assume it > was created via some mapping. Can you post here the mapping? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 17:10, _petr.kulheim at ibacz.eu_ > wrote: > Hi Pavol, > provided exception bellow is from GUI action SAVE, with reconsiliation > checkbox checked, no changed done. It is replicable. > > If we run recosiliation task, there are about  30 errors in >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >          not_applicable >          1000000000000030110 >          Last 30 failures: >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >          not_applicable >          1000000000000030110 >          Last 30 failures: > CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], > PCV(2):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, > targetType={.../common/common-3}ResourceType, > relation={.../common/org-3}default)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in > current user in > LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) > ..... > > > Looks like the same error as from GUI action, but no stack trace. > thx a lot > > Petr > > > > > > > From: Pavol Mederly __ > To: _midpoint at lists.evolveum.com_ > Date: 17/01/2018 16:05 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" __ > > > ------------------------------------------------------------------------ > > > > Hello Petr, > > just to make sure: You wrote that the exception occurs during > reconciliation. I assume you mean reconciliation task. > > But the stack trace corresponds to a GUI operation. > > So, what's the case? Does it occur within a task or in GUI? If in GUI, > is it replicable? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 12:34, _petr.kulheim at ibacz.eu_ > wrote: > hi guys, > > we have customer's test environment where we have upgraded midpoint > from 3.5.1 to 3.6.1 > After this upgrade we have some users, about 30, having following > Exception during reconsiliation: > > 2018-01-15 17:33:30,325 [] [Thread-77] ERROR > (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error > executing changes. > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); > in current user in > LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_111] >         at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] >         at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] >         at java.lang.reflect.Method.invoke(Method.java:498) > ~[na:1.8.0_111] >         at > org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] >         at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] >         at > com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] >         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] > Caused by: java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] >         ... 21 common frames omitted > > > I have found it comes from > com.evolveum.midpoint.prism.Item radek 748, > >   if (val.getParent() == null) { >           throw new IllegalStateException("Null parent for value > "+val+" in item "+this+" ("+path+" in "+rootItem+")"); >   } > > > So far we haven't found any suspicious Users/Accounts metadata. > Likely it is related to AD resource. > Any hint or advice would be appreciated. > > Thx > > Petr Kulheim > JEE Developer > > IBA CZ, s.r.o. > Office: Petržílkova 2565/23, 158 00 Praha, CZ > Phone: +420 603 272826 > E-mail: _petr.kulheim at ibacz.eu_ > > IBACZ email signature > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > _midPoint at lists.evolveum.com_ > _http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hmfkinifecahokig.png Type: image/png Size: 48578 bytes Desc: not available URL: From srpenn at us.ibm.com Wed Jan 17 18:38:45 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Wed, 17 Jan 2018 12:38:45 -0500 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: References: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Message-ID: After backing out my previous attempts, I tried this and it worked! Thanks Wojciech! ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Wojciech Staszewski To: midpoint at lists.evolveum.com Date: 01/16/2018 05:26 PM Subject: Re: [midPoint] No definition for 'manager' in user Sent by: "midPoint" Or just "extension/manager" as below: ri:manager true false normal extension/manager On 16.01.2018 20:22, Sean R Penndorf wrote: Unfortunately that did not work. Any other ideas? ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Ivan Noris To: midpoint at lists.evolveum.com Date: 01/16/2018 11:39 AM Subject: Re: [midPoint] No definition for 'manager' in user Sent by: "midPoint" Hi Sean, the extension looks ok. The inbound is incorrect. It should look similar to this: ri:cn . . . ... $user/extension/manager This artificial example takes "cn" attribute from LDAP and copies it to $user/extension/manager. Best regards, Ivan On 16.01.2018 16:24, Sean R Penndorf wrote: Hi Community, Clearly, I'm missing something simple here....running Midpoint 3.7 I have an extended attribute "manager", it shows up in the GUI when looking at User properties. But I keep getting an error with my inbound mapping: "No definition for 'manager' in user." I've tried a number of variations in the inbound mapping, but I can't get the field to populate. Any assistance is greatly appreciated. ** Extended Attribute: ** true manager ** Inbound Mapping: ** ri:manager gen316:distinguishedName true true explicit true true strong $user/extension/ext:manager ext:manager ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e= _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Wojciech Staszewski Administrator Systemów Sieciowych tel. kom: 663 680 236 www.diagnostyka.pl Diagnostyka Sp. z o. o. ul. Prof. M. Życzkowskiego 16, 31-864 Kraków Numer KRS: 0000381559 (Sąd Rejonowy dla Krakowa-Śródmieścia w Krakowie, XI Wydział Gospodarczy KRS) NIP: 675-12-65-009; REGON: 356366975 Kapitał zakładowy: 33 756 500 zł. Pomyśl o środowisku zanim wydrukujesz ten e-mail. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=0NyyT20Jic5wSOtpsSnc5Smp14l43A3wPrfOkc9x23c&s=kPclXy26IJ7-JRAJOhEpf8C1aACEtnddxTY3xsT7E7o&e= -------------- next part -------------- An HTML attachment was scrubbed... URL: From srpenn at us.ibm.com Wed Jan 17 18:39:53 2018 From: srpenn at us.ibm.com (Sean R Penndorf) Date: Wed, 17 Jan 2018 12:39:53 -0500 Subject: [midPoint] No definition for 'manager' in user In-Reply-To: References: <34cccc18-acf2-e07a-13a9-1648d8edecec@evolveum.com> Message-ID: Hi Ivan, I backed out all my changes and tried simply "extension/manager" and it worked. Thanks for your help!!! ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Ivan Noris To: midpoint at lists.evolveum.com Date: 01/17/2018 03:57 AM Subject: Re: [midPoint] No definition for 'manager' in user Sent by: "midPoint" Hi, what was your error message in this case after my proposed change..? Ivan On 16.01.2018 20:22, Sean R Penndorf wrote: Unfortunately that did not work. Any other ideas? ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 From: Ivan Noris To: midpoint at lists.evolveum.com Date: 01/16/2018 11:39 AM Subject: Re: [midPoint] No definition for 'manager' in user Sent by: "midPoint" Hi Sean, the extension looks ok. The inbound is incorrect. It should look similar to this: ri:cn . . . ... $user/extension/manager This artificial example takes "cn" attribute from LDAP and copies it to $user/extension/manager. Best regards, Ivan On 16.01.2018 16:24, Sean R Penndorf wrote: Hi Community, Clearly, I'm missing something simple here....running Midpoint 3.7 I have an extended attribute "manager", it shows up in the GUI when looking at User properties. But I keep getting an error with my inbound mapping: "No definition for 'manager' in user." I've tried a number of variations in the inbound mapping, but I can't get the field to populate. Any assistance is greatly appreciated. ** Extended Attribute: ** true manager ** Inbound Mapping: ** ri:manager gen316:distinguishedName true true explicit true true strong $user/extension/ext:manager ext:manager ------------------ Sean Penndorf SaaS Operational Services (SOS) - ID Management IBM Cloud srpenn at us.ibm.com Office: 248-552-4791 TL 623-9966 _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e= _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwIGaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=8pUgR5ERb9sBFfc9TicPbbyzpoCoCQbj58mC7r_z6KE&s=95LwkJm0xL2XCvQQiTbQfysNW1RjbqKh8R28p6EgY_w&e= -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Wed Jan 17 18:47:39 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Wed, 17 Jan 2018 18:47:39 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: ...and one more idea to try: instead of element, could you try something like this and tell us if it helped?                 It might behave differently from assignmentTargetSearch in some cases (I am not sure now), but at least it would provide us with a hint on where the problem could be. (BTW, I was not able to replicate the problem with your configuration on my machine.) Pavol Mederly Software developer evolveum.com On 17.01.2018 17:50, petr.kulheim at ibacz.eu wrote: > Pavol, > I guess it was assigned by User's object template mapping, pls see here: > > >       Zamestnanec role assignment > strong >       >  $user/employeeType >       >       >   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >  xsi:type="c:SearchObjectRefExpressionEvaluatorType"> > c:RoleType > feed0000-0000-0000-0003-000000000001 >   >       >       >  assignment >       >       >           >       >     > > and also I attaching the Role definition. > > > Thx > Petr > > > > > > > From: Pavol Mederly > To: midpoint at lists.evolveum.com > Date: 17/01/2018 17:26 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" > ------------------------------------------------------------------------ > > > > Petr, > > thanks for the information. I think I understood. So, let's have a > look at it: > > The problem is related to the assignment of a role with OID > feed0000-0000-0000-0003-000000000001. > > How was that assignment created? Manually through a GUI? I assume it > was created via some mapping. Can you post here the mapping? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 17:10, _petr.kulheim at ibacz.eu_ > wrote: > Hi Pavol, > provided exception bellow is from GUI action SAVE, with reconsiliation > checkbox checked, no changed done. It is replicable. > > If we run recosiliation task, there are about  30 errors in >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >          not_applicable >          1000000000000030110 >          Last 30 failures: >       >  com.evolveum.midpoint.common.operation.reconciliation.errors >          not_applicable >          1000000000000030110 >          Last 30 failures: > CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], > PCV(2):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, > targetType={.../common/common-3}ResourceType, > relation={.../common/org-3}default)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in > current user in > LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) > ..... > > > Looks like the same error as from GUI action, but no stack trace. > thx a lot > > Petr > > > > > > > From: Pavol Mederly __ > To: _midpoint at lists.evolveum.com_ > Date: 17/01/2018 16:05 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" __ > > > ------------------------------------------------------------------------ > > > > Hello Petr, > > just to make sure: You wrote that the exception occurs during > reconciliation. I assume you mean reconciliation task. > > But the stack trace corresponds to a GUI operation. > > So, what's the case? Does it occur within a task or in GUI? If in GUI, > is it replicable? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 12:34, _petr.kulheim at ibacz.eu_ > wrote: > hi guys, > > we have customer's test environment where we have upgraded midpoint > from 3.5.1 to 3.6.1 > After this upgrade we have some users, about 30, having following > Exception during reconsiliation: > > 2018-01-15 17:33:30,325 [] [Thread-77] ERROR > (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error > executing changes. > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); > in current user in > LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) > ~[model-impl-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_111] >         at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] >         at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] >         at java.lang.reflect.Method.invoke(Method.java:498) > ~[na:1.8.0_111] >         at > org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] >         at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] >         at > com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] >         at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] > Caused by: java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) > ~[prism-3.6.1.jar:na] >         at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] >         ... 21 common frames omitted > > > I have found it comes from > com.evolveum.midpoint.prism.Item radek 748, > >   if (val.getParent() == null) { >           throw new IllegalStateException("Null parent for value > "+val+" in item "+this+" ("+path+" in "+rootItem+")"); >   } > > > So far we haven't found any suspicious Users/Accounts metadata. > Likely it is related to AD resource. > Any hint or advice would be appreciated. > > Thx > > Petr Kulheim > JEE Developer > > IBA CZ, s.r.o. > Office: Petržílkova 2565/23, 158 00 Praha, CZ > Phone: +420 603 272826 > E-mail: _petr.kulheim at ibacz.eu_ > > IBACZ email signature > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > _midPoint at lists.evolveum.com_ > _http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fjajgfmmeidimici.png Type: image/png Size: 48578 bytes Desc: not available URL: From petr.kulheim at ibacz.eu Wed Jan 17 19:40:49 2018 From: petr.kulheim at ibacz.eu (petr.kulheim at ibacz.eu) Date: Wed, 17 Jan 2018 19:40:49 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: we will try yesterday as I do not have direct access to the system, but colleagues have. thx Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 19:03 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" ...and one more idea to try: instead of element, could you try something like this and tell us if it helped? It might behave differently from assignmentTargetSearch in some cases (I am not sure now), but at least it would provide us with a hint on where the problem could be. (BTW, I was not able to replicate the problem with your configuration on my machine.) Pavol Mederly Software developer evolveum.com On 17.01.2018 17:50, petr.kulheim at ibacz.eu wrote: Pavol, I guess it was assigned by User's object template mapping, pls see here: Zamestnanec role assignment strong $user/employeeType c:RoleType feed0000-0000-0000-0003-000000000001 assignment and also I attaching the Role definition. Thx Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 17:26 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Petr, thanks for the information. I think I understood. So, let's have a look at it: The problem is related to the assignment of a role with OID feed0000-0000-0000-0003-000000000001. How was that assignment created? Manually through a GUI? I assume it was created via some mapping. Can you post here the mapping? Pavol Mederly Software developer evolveum.com On 17.01.2018 17:10, petr.kulheim at ibacz.eu wrote: Hi Pavol, provided exception bellow is from GUI action SAVE, with reconsiliation checkbox checked, no changed done. It is replicable. If we run recosiliation task, there are about 30 errors in com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, targetType={.../common/common-3}ResourceType, relation={.../common/org-3}default)]]], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in current user in LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) ..... Looks like the same error as from GUI action, but no stack trace. thx a lot Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 16:05 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Hello Petr, just to make sure: You wrote that the exception occurs during reconciliation. I assume you mean reconciliation task. But the stack trace corresponds to a GUI operation. So, what's the case? Does it occur within a task or in GUI? If in GUI, is it replicable? Pavol Mederly Software developer evolveum.com On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote: hi guys, we have customer's test environment where we have upgraded midpoint from 3.5.1 to 3.6.1 After this upgrade we have some users, about 30, having following Exception during reconsiliation: 2018-01-15 17:33:30,325 [] [Thread-77] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes. java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] Caused by: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] ... 21 common frames omitted I have found it comes from com.evolveum.midpoint.prism.Item radek 748, if (val.getParent() == null) { throw new IllegalStateException("Null parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); } So far we haven't found any suspicious Users/Accounts metadata. Likely it is related to AD resource. Any hint or advice would be appreciated. Thx Petr Kulheim JEE Developer IBA CZ, s.r.o. Office: Petržílkova 2565/23, 158 00 Praha, CZ Phone: +420 603 272826 E-mail: petr.kulheim at ibacz.eu Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 48578 bytes Desc: not available URL: From petr.kulheim at ibacz.eu Thu Jan 18 09:13:27 2018 From: petr.kulheim at ibacz.eu (petr.kulheim at ibacz.eu) Date: Thu, 18 Jan 2018 09:13:27 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: hi Pavol, with Peter Holes we have tried to change the role mapping on your suggesting but unfortunately it hasn't helped. One more thing I have noticed: the user, which suffers the issue from GUI, the exception I have provided at the begging, is not in a list of users with the error from reconsiliation task. We are going to check these users. --pk From: petr.kulheim at ibacz.eu To: midPoint General Discussion Date: 17/01/2018 19:44 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" we will try yesterday as I do not have direct access to the system, but colleagues have. thx Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 19:03 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" ...and one more idea to try: instead of element, could you try something like this and tell us if it helped? It might behave differently from assignmentTargetSearch in some cases (I am not sure now), but at least it would provide us with a hint on where the problem could be. (BTW, I was not able to replicate the problem with your configuration on my machine.) Pavol Mederly Software developer evolveum.com On 17.01.2018 17:50, petr.kulheim at ibacz.eu wrote: Pavol, I guess it was assigned by User's object template mapping, pls see here: Zamestnanec role assignment strong $user/employeeType c:RoleType feed0000-0000-0000-0003-000000000001 assignment and also I attaching the Role definition. Thx Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 17:26 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Petr, thanks for the information. I think I understood. So, let's have a look at it: The problem is related to the assignment of a role with OID feed0000-0000-0000-0003-000000000001. How was that assignment created? Manually through a GUI? I assume it was created via some mapping. Can you post here the mapping? Pavol Mederly Software developer evolveum.com On 17.01.2018 17:10, petr.kulheim at ibacz.eu wrote: Hi Pavol, provided exception bellow is from GUI action SAVE, with reconsiliation checkbox checked, no changed done. It is replicable. If we run recosiliation task, there are about 30 errors in com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: com.evolveum.midpoint.common.operation.reconciliation.errors not_applicable 1000000000000030110 Last 30 failures: CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], PCV(2):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import )]]], PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, targetType={.../common/common-3}ResourceType, relation={.../common/org-3}default)]]], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in current user in LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) ..... Looks like the same error as from GUI action, but no stack trace. thx a lot Petr From: Pavol Mederly To: midpoint at lists.evolveum.com Date: 17/01/2018 16:05 Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 Sent by: "midPoint" Hello Petr, just to make sure: You wrote that the exception occurs during reconciliation. I assume you mean reconciliation task. But the stack trace corresponds to a GUI operation. So, what's the case? Does it occur within a task or in GUI? If in GUI, is it replicable? Pavol Mederly Software developer evolveum.com On 17.01.2018 12:34, petr.kulheim at ibacz.eu wrote: hi guys, we have customer's test environment where we have upgraded midpoint from 3.5.1 to 3.6.1 After this upgrade we have some users, about 30, having following Exception during reconsiliation: 2018-01-15 17:33:30,325 [] [Thread-77] ERROR (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error executing changes. java.lang.IllegalStateException: Null parent for value PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); in current user in LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) ~[model-impl-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] at com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] Caused by: java.lang.IllegalStateException: Null parent for value PCV(1):[PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] in item PC({http://midpoint.evolveum.com/xml/ns/public/common/common-3 }assignment):[PCV(1):[PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, targetType={.../common/common-3}UserType, relation={.../common/org-3}default)], PP({.../common/common-3}createChannel):[PPV(String: http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation )]]], PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, targetType={.../common/common-3}RoleType, relation={.../common/org-3}default)], PC({ http://midpoint.evolveum.com/xml/ns/public/common/common-3 }activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] at com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) ~[prism-3.6.1.jar:na] at com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] ... 21 common frames omitted I have found it comes from com.evolveum.midpoint.prism.Item radek 748, if (val.getParent() == null) { throw new IllegalStateException("Null parent for value "+val+" in item "+this+" ("+path+" in "+rootItem+")"); } So far we haven't found any suspicious Users/Accounts metadata. Likely it is related to AD resource. Any hint or advice would be appreciated. Thx Petr Kulheim JEE Developer IBA CZ, s.r.o. Office: Petržílkova 2565/23, 158 00 Praha, CZ Phone: +420 603 272826 E-mail: petr.kulheim at ibacz.eu Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint Disclaimer: The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to ict at ibacz.eu and then delete it from your system. IBA Group is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 48578 bytes Desc: not available URL: From Caspi at seznam.cz Thu Jan 18 10:00:16 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Thu, 18 Jan 2018 10:00:16 +0100 (CET) Subject: [midPoint] Meta Role Message-ID: Hi, I have a question regarding assingning meta roles. How can I automatically assign metarole to imported group from AD? Now i am assigning meta role to roles based on roleType attribute.  Imported roles have only names imported and projection filed by resource. Is there posibility to create condition based on projection? Thanks  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From roman.pudil at ami.cz Thu Jan 18 10:07:26 2018 From: roman.pudil at ami.cz (Roman Pudil - AMI Praha a.s.) Date: Thu, 18 Jan 2018 09:07:26 +0000 Subject: [midPoint] Meta Role In-Reply-To: References: Message-ID: Hi Jan, 1) look in documentation on wiki (especially for https://wiki.evolveum.com/display/midPoint/Active+Directory+Group+Synchronization+HOWTO) 2) look in examples in /samples/ directory on midPoint project (look there for Object Templates) Regards Roman Pudil solution architect gsm: [+420] 775 663 666 e-mail: roman.pudil at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel./fax: [+420] 274 783 239 web: www.ami.cz Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. ------ Původní zpráva ------ Od: "Jan Kaspar" Komu: midpoint at lists.evolveum.com Odesláno: 18.1.2018 10:00:16 Předmět: [midPoint] Meta Role >Hi, > >I have a question regarding assingning meta roles. > >How can I automatically assign metarole to imported group from AD? > >Now i am assigning meta role to roles based on roleType attribute. > >Imported roles have only names imported and projection filed by >resource. >Is there posibility to create condition based on projection? > >Thanks > >Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Thu Jan 18 18:59:29 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Thu, 18 Jan 2018 15:59:29 -0200 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects Message-ID: Hello List, I have a very simple SQL Resource that creates Org Strutucture from HR System. I have a Template for this resource and it is working OK. However, I made some changes to this template, added some mappings with conditions, and these are not applied to existing objects. I have tried Recompute, Reconcile, Import accounts. Only the new Orgs that were imported got the new mappings/assignments. How can I apply my template changes to my existing objects? -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Thu Jan 18 19:02:59 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Thu, 18 Jan 2018 16:02:59 -0200 Subject: [midPoint] How to set AD password from Midpoint? In-Reply-To: References: Message-ID: Forgot to reply to this, I got it working with the credentials tag, thanks! I had to use the explicit fetchStrategy, or it wouldn't work. I generated the password instead of replicating from Midpoint, like this: explicit false false weak 2018-01-04 6:11 GMT-02:00 Petr Gašparík - AMI Praha a.s. < petr.gasparik at ami.cz>: > Hi, as Oleksandr says, AD disallows manipulating with userPassword > directly. Instead, credential tag is used. > Also, SSL is a must. > > in general. WILL_NOT_PERFORM is almost always wrongly set password - in > our cases mostly policy violation (weak or no/bad set password) > > Petr > > -- > > s pozdravem > > Petr Gašparík > solution architect > > gsm: [+420] 603 523 860 <+420%20603%20523%20860> > e-mail: petr.gasparik at ami.cz > > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 <+420%20274%20783%20239> > web: www.ami.cz > > > [image: AMI Praha a.s.] > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za > společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně > písemnou formu. > > > 2018-01-04 8:39 GMT+01:00 Oleksandr Nekriach : > >> Hello, >> It is strange I was sure that problem is in SSL. >> See >> Known Causes >> - This is caused when you don't use SSL in your LDAP connection and AD >> enforces SSL connection. >> - There are password policies in the AD environment >> >> In my Midpoint instance I don't use "direct" outbound mapping for >> userPassword. >> Instead, I use >> >> >> >> >> >> >> >> >> >> >> >> On 4 January 2018 at 02:00, Alcides Carlos de Moraes Neto >> wrote: >> > Hello, >> > >> > Yes, I'm using ldaps. >> > >> > 2018-01-02 5:16 GMT-02:00 Oleksandr Nekriach : >> >> >> >> Happy new year! >> >> Hi Alcides, >> >> Do you use secure communication for AD connection (ldaps) or not? >> >> Some AD settings does not allow to manage password via open >> >> communications. >> >> I had similar issue few years ago with Oracle connector ;) >> >> >> >> Regards, Oleksandr >> >> >> >> >> >> On 28 December 2017 at 21:30, Alcides Carlos de Moraes Neto >> >> wrote: >> >> > Hello list, >> >> > >> >> > I'm trying to create AD users from Midpoint. I'm getting the 53 >> >> > WILL_NOT_PERFORM error, which it seems to be related to the password >> >> > policy. >> >> > The AD I'm using does have a password policy. >> >> > >> >> > So I'm trying to set some literal, strong password as a placeholder, >> but >> >> > I >> >> > don't think my mapping is working. How should I configure it? I >> cannot >> >> > find >> >> > any examples. Below are the error I get and the password outbound >> >> > mapping. >> >> > >> >> > com.evolveum.midpoint.util.exception.SystemException: Got unexpected >> >> > exception: >> >> > >> >> > org.identityconnectors.framework.common.exceptions.Permissio >> nDeniedException: >> >> > Error adding LDAP entry CN=JOHN DOE,OU=Users,DC=midpoint,DC=local: >> >> > unwillingToPerform: 0000052D: SvcErr: DSID-031A12D2, problem 5003 >> >> > (WILL_NOT_PERFORM), data 0?? (53) >> >> > >> >> > >> >> > ri:userPassword >> >> > true >> >> > false >> >> > explicit >> >> > >> >> > true >> >> > false >> >> > normal >> >> > >> >> > Midpoint2018* >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > Thanks and happy new year to all =) >> >> > >> >> > _______________________________________________ >> >> > midPoint mailing list >> >> > midPoint at lists.evolveum.com >> >> > http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > >> >> >> >> >> >> >> >> -- >> >> Best regards, >> >> >> >> Oleksandr Nekriach | Identity and access management engineer >> >> >> >> Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia >> >> >> >> +37125314685 >> >> , >> >> o.nekriach at dynatech.lv >> >> | >> >> www.dynatech.lv >> >> >> >> >> >> >> >> >> >> Stay connected: >> >> >> >> >> >> Confidentiality Notice: This message contains confidential information >> >> and is intended only for the named recipient(s). If you are not the >> >> addressee you may not copy, distribute or perform any other activities >> >> with this information. If you have received this transmission in >> >> error, please notify us by e-mail immediately. E-mail transmission >> >> cannot be guaranteed to be secure or error-free as information could >> >> be intercepted, corrupted, lost, destroyed, arrive late or incomplete, >> >> or contain viruses. >> >> _______________________________________________ >> >> midPoint mailing list >> >> midPoint at lists.evolveum.com >> >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > >> > >> > >> > _______________________________________________ >> > midPoint mailing list >> > midPoint at lists.evolveum.com >> > http://lists.evolveum.com/mailman/listinfo/midpoint >> > >> >> >> >> -- >> Best regards, >> >> Oleksandr Nekriach | Identity and access management engineer >> >> Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia >> >> +37125314685 >> , >> o.nekriach at dynatech.lv >> | >> www.dynatech.lv >> >> >> >> >> Stay connected: >> >> >> Confidentiality Notice: This message contains confidential information >> and is intended only for the named recipient(s). If you are not the >> addressee you may not copy, distribute or perform any other activities >> with this information. If you have received this transmission in >> error, please notify us by e-mail immediately. E-mail transmission >> cannot be guaranteed to be secure or error-free as information could >> be intercepted, corrupted, lost, destroyed, arrive late or incomplete, >> or contain viruses. >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnost.starosta at ami.cz Fri Jan 19 09:55:43 2018 From: arnost.starosta at ami.cz (=?UTF-8?Q?Arno=C5=A1t_Starosta_=2D_AMI_Praha_a=2Es=2E?=) Date: Fri, 19 Jan 2018 09:55:43 +0100 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: Message-ID: Hi Carlos, is the strength of your mappings normal or weak? Than they would be 'applied' to existing objects, but since there is no change in source attributes or target attributes already have values, the mapping would be skipped. You can try changing the mapping strength to strong to compute the target values all the time. arnost 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < alcides.neto at gmail.com>: > Hello List, > > I have a very simple SQL Resource that creates Org Strutucture from HR > System. > > I have a Template for this resource and it is working OK. > However, I made some changes to this template, added some mappings with > conditions, and these are not applied to existing objects. I have tried > Recompute, Reconcile, Import accounts. > Only the new Orgs that were imported got the new mappings/assignments. > > How can I apply my template changes to my existing objects? > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Arnošt Starosta solution architect gsm: [+420] 603 794 932 e-mail: arnost.starosta at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Fri Jan 19 17:37:27 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Fri, 19 Jan 2018 14:37:27 -0200 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: Message-ID: Hi Arnošt, The new mappings are all strong and authoritative. I'm logging to TRACE and the template is not even mentioned in the CLOCKWORK SUMMARY, and the expressions are not called for existing objects, only new ones. I tested deleting one Org and Reimporting it, and that worked. But I cannot delete all the Org Structure everytime I change the template... 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. < arnost.starosta at ami.cz>: > Hi Carlos, > > is the strength of your mappings normal or weak? Than they would be > 'applied' to existing objects, but since there is no change in source > attributes or target attributes already have values, the mapping would be > skipped. > > You can try changing the mapping strength to strong to compute the target > values all the time. > > arnost > > 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < > alcides.neto at gmail.com>: > >> Hello List, >> >> I have a very simple SQL Resource that creates Org Strutucture from HR >> System. >> >> I have a Template for this resource and it is working OK. >> However, I made some changes to this template, added some mappings with >> conditions, and these are not applied to existing objects. I have tried >> Recompute, Reconcile, Import accounts. >> Only the new Orgs that were imported got the new mappings/assignments. >> >> How can I apply my template changes to my existing objects? >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > > > -- > > Arnošt Starosta > solution architect > > gsm: [+420] 603 794 932 <+420%20603%20794%20932> > e-mail: arnost.starosta at ami.cz > > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 <+420%20274%20783%20239> > web: www.ami.cz > > > [image: AMI Praha a.s.] > > [image: AMI Praha a.s.] > > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za > společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně > písemnou formu. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Fri Jan 19 17:45:25 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Fri, 19 Jan 2018 17:45:25 +0100 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: Message-ID: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> Hi, where is your object template? Is it global (i.e. set in System configuration) or is it a template in your resource referenced in your synchronization actions? Because if it's resource-referenced object template, maybe it is not processed if you change something in organization in midPoint. It should be however processed if the change comes from your resource. Globally configured object template with strong authoritative mappings should work in any case... Best regards, Ivan On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote: > Hi Arnošt, > > The new mappings are all strong and authoritative. > > I'm logging to TRACE and the template is not even mentioned in the > CLOCKWORK SUMMARY, and the expressions are not called for existing > objects, only new ones. > I tested deleting one Org and Reimporting it, and that worked. But I > cannot delete all the Org Structure everytime I change the template... > > > 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. > >: > > Hi Carlos, > > is the strength of your mappings normal or weak? Than they would > be 'applied' to existing objects, but since there is no change in > source attributes or target attributes already have values, the > mapping would be skipped. > > You can try changing the mapping strength to strong to compute the > target values all the time. > > arnost > > 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto > >: > > Hello List, > > I have a very simple SQL Resource that creates Org Strutucture > from HR System. > > I have a Template for this resource and it is working OK.  > However, I made some changes to this template, added some > mappings with conditions, and these are not applied to > existing objects. I have tried Recompute, Reconcile, Import > accounts. > Only the new Orgs that were imported got the new > mappings/assignments. > > How can I apply my template changes to my existing objects? > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > -- > > Arnošt Starosta > solution architect > > gsm: [+420] 603 794 932 > e-mail: arnost.starosta at ami.cz > >         > > AMI Praha a.s. > Pláničkova 11 > 162 00 Praha 6 > tel.: [+420] 274 783 239 > web: www.ami.cz > >         > > AMI Praha a.s. > > > AMI Praha a.s. > > > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá > za společnost AMI Praha a.s. > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít > výhradně písemnou formu. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Fri Jan 19 18:06:43 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Fri, 19 Jan 2018 15:06:43 -0200 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> References: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> Message-ID: Hi Ivan, Yes, it is a resource referenced template for OrgType objects. I understand now why it doesn't work, thanks! Is there a way to create a default Org Template in system configuration? I already have a default user template. 2018-01-19 14:45 GMT-02:00 Ivan Noris : > Hi, > > where is your object template? Is it global (i.e. set in System > configuration) or is it a template in your resource referenced in your > synchronization actions? > > Because if it's resource-referenced object template, maybe it is not > processed if you change something in organization in midPoint. It should be > however processed if the change comes from your resource. > > Globally configured object template with strong authoritative mappings > should work in any case... > > Best regards, > > Ivan > > On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote: > > Hi Arnošt, > > The new mappings are all strong and authoritative. > > I'm logging to TRACE and the template is not even mentioned in the > CLOCKWORK SUMMARY, and the expressions are not called for existing objects, > only new ones. > I tested deleting one Org and Reimporting it, and that worked. But I > cannot delete all the Org Structure everytime I change the template... > > > 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. < > arnost.starosta at ami.cz>: > >> Hi Carlos, >> >> is the strength of your mappings normal or weak? Than they would be >> 'applied' to existing objects, but since there is no change in source >> attributes or target attributes already have values, the mapping would be >> skipped. >> >> You can try changing the mapping strength to strong to compute the target >> values all the time. >> >> arnost >> >> 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < >> alcides.neto at gmail.com>: >> >>> Hello List, >>> >>> I have a very simple SQL Resource that creates Org Strutucture from HR >>> System. >>> >>> I have a Template for this resource and it is working OK. >>> However, I made some changes to this template, added some mappings with >>> conditions, and these are not applied to existing objects. I have tried >>> Recompute, Reconcile, Import accounts. >>> Only the new Orgs that were imported got the new mappings/assignments. >>> >>> How can I apply my template changes to my existing objects? >>> >>> _______________________________________________ >>> midPoint mailing list >>> midPoint at lists.evolveum.com >>> http://lists.evolveum.com/mailman/listinfo/midpoint >>> >>> >> >> >> -- >> >> Arnošt Starosta >> solution architect >> >> gsm: [+420] 603 794 932 <+420%20603%20794%20932> >> e-mail: arnost.starosta at ami.cz >> >> >> AMI Praha a.s. >> Pláničkova 11 >> 162 00 Praha 6 >> tel.: [+420] 274 783 239 <+420%20274%20783%20239> >> web: www.ami.cz >> >> >> [image: AMI Praha a.s.] >> >> [image: AMI Praha a.s.] >> >> >> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za >> společnost AMI Praha a.s. >> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně >> písemnou formu. >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > > > _______________________________________________ > midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint > > > -- > Ivan Noris > Senior Identity Engineerevolveum.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From o.nekriach at dynatech.lv Fri Jan 19 18:09:10 2018 From: o.nekriach at dynatech.lv (Oleksandr Nekriach) Date: Fri, 19 Jan 2018 19:09:10 +0200 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: Message-ID: Hi Alcides, I have the same issue with role assignment through User Object template and I am stuck. See my Post with subject "Principle of Relativity" Best regards, Oleksandr On 19 January 2018 at 18:37, Alcides Carlos de Moraes Neto < alcides.neto at gmail.com> wrote: > Hi Arnošt, > > The new mappings are all strong and authoritative. > > I'm logging to TRACE and the template is not even mentioned in the > CLOCKWORK SUMMARY, and the expressions are not called for existing objects, > only new ones. > I tested deleting one Org and Reimporting it, and that worked. But I > cannot delete all the Org Structure everytime I change the template... > > > 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. < > arnost.starosta at ami.cz>: > >> Hi Carlos, >> >> is the strength of your mappings normal or weak? Than they would be >> 'applied' to existing objects, but since there is no change in source >> attributes or target attributes already have values, the mapping would be >> skipped. >> >> You can try changing the mapping strength to strong to compute the target >> values all the time. >> >> arnost >> >> 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < >> alcides.neto at gmail.com>: >> >>> Hello List, >>> >>> I have a very simple SQL Resource that creates Org Strutucture from HR >>> System. >>> >>> I have a Template for this resource and it is working OK. >>> However, I made some changes to this template, added some mappings with >>> conditions, and these are not applied to existing objects. I have tried >>> Recompute, Reconcile, Import accounts. >>> Only the new Orgs that were imported got the new mappings/assignments. >>> >>> How can I apply my template changes to my existing objects? >>> >>> _______________________________________________ >>> midPoint mailing list >>> midPoint at lists.evolveum.com >>> http://lists.evolveum.com/mailman/listinfo/midpoint >>> >>> >> >> >> -- >> >> Arnošt Starosta >> solution architect >> >> gsm: [+420] 603 794 932 <+420%20603%20794%20932> >> e-mail: arnost.starosta at ami.cz >> >> >> AMI Praha a.s. >> Pláničkova 11 >> 162 00 Praha 6 >> tel.: [+420] 274 783 239 <+420%20274%20783%20239> >> web: www.ami.cz >> >> >> [image: AMI Praha a.s.] >> >> [image: AMI Praha a.s.] >> >> >> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za >> společnost AMI Praha a.s. >> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně >> písemnou formu. >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Best regards, Oleksandr Nekriach | Identity and access management engineer Dynatech, Mednieku str. 4a, Riga, LV-1010, Latvia +37125314685 <+371%2025%20314%20685> , o.nekriach at dynatech.lv | www.dynatech.lv Stay connected: Confidentiality Notice: This message contains confidential information and is intended only for the named recipient(s). If you are not the addressee you may not copy, distribute or perform any other activities with this information. If you have received this transmission in error, please notify us by e-mail immediately. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7770 Type: image/png Size: 2602 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7771 Type: image/png Size: 790 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: o.nekriach at dynatech.lv1502777022855-7772 Type: image/png Size: 786 bytes Desc: not available URL: From ivan.noris at evolveum.com Fri Jan 19 18:12:18 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Fri, 19 Jan 2018 18:12:18 +0100 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> Message-ID: Hi, yes certainly. Go to to same place where you define default user template (in GUI, but it differs a little for 3.7 and earlier versions), and add another entry using "+" button: object type = OrgType and refer to your template. Do not forget to save. And comment the template reference in the resource before trying. Ivan On 19.01.2018 18:06, Alcides Carlos de Moraes Neto wrote: > Hi Ivan, > > Yes, it is a resource referenced template for OrgType objects. I > understand now why it doesn't work, thanks! > > Is there a way to create a default Org Template in system > configuration? I already have a default user template. > > 2018-01-19 14:45 GMT-02:00 Ivan Noris >: > > Hi, > > where is your object template? Is it global (i.e. set in System > configuration) or is it a template in your resource referenced in > your synchronization actions? > > Because if it's resource-referenced object template, maybe it is > not processed if you change something in organization in midPoint. > It should be however processed if the change comes from your resource. > > Globally configured object template with strong authoritative > mappings should work in any case... > > Best regards, > > Ivan > > > On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote: >> Hi Arnošt, >> >> The new mappings are all strong and authoritative. >> >> I'm logging to TRACE and the template is not even mentioned in >> the CLOCKWORK SUMMARY, and the expressions are not called for >> existing objects, only new ones. >> I tested deleting one Org and Reimporting it, and that worked. >> But I cannot delete all the Org Structure everytime I change the >> template... >> >> >> 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. >> >: >> >> Hi Carlos, >> >> is the strength of your mappings normal or weak? Than they >> would be 'applied' to existing objects, but since there is no >> change in source attributes or target attributes already have >> values, the mapping would be skipped. >> >> You can try changing the mapping strength to strong to >> compute the target values all the time. >> >> arnost >> >> 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto >> >: >> >> Hello List, >> >> I have a very simple SQL Resource that creates Org >> Strutucture from HR System. >> >> I have a Template for this resource and it is working OK.  >> However, I made some changes to this template, added some >> mappings with conditions, and these are not applied to >> existing objects. I have tried Recompute, Reconcile, >> Import accounts. >> Only the new Orgs that were imported got the new >> mappings/assignments. >> >> How can I apply my template changes to my existing objects? >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> >> >> >> >> -- >> >> Arnošt Starosta >> solution architect >> >> gsm: [+420] 603 794 932 >> e-mail: arnost.starosta at ami.cz >> >>         >> >> AMI Praha a.s. >> Pláničkova 11 >> 162 00 Praha 6 >> tel.: [+420] 274 783 239 >> web: www.ami.cz >> >>         >> >> AMI Praha a.s. >> >> >> AMI Praha a.s. >> >> >> >> Textem tohoto e-mailu podepisující neslibuje uzavřít ani >> neuzavírá za společnost AMI Praha a.s. >> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí >> mít výhradně písemnou formu. >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> >> >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > -- > Ivan Noris > Senior Identity Engineer > evolveum.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Fri Jan 19 18:43:09 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Fri, 19 Jan 2018 15:43:09 -0200 Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> Message-ID: Yes! Did not know about defaultObjectPolicyConfiguration, only defaultUserTemplate. It's now working, thank you very much! :) 2018-01-19 15:12 GMT-02:00 Ivan Noris : > Hi, > > yes certainly. Go to to same place where you define default user template > (in GUI, but it differs a little for 3.7 and earlier versions), and add > another entry using "+" button: object type = OrgType and refer to your > template. Do not forget to save. And comment the template reference in the > resource before trying. > > Ivan > > On 19.01.2018 18:06, Alcides Carlos de Moraes Neto wrote: > > Hi Ivan, > > Yes, it is a resource referenced template for OrgType objects. I > understand now why it doesn't work, thanks! > > Is there a way to create a default Org Template in system configuration? I > already have a default user template. > > 2018-01-19 14:45 GMT-02:00 Ivan Noris : > >> Hi, >> >> where is your object template? Is it global (i.e. set in System >> configuration) or is it a template in your resource referenced in your >> synchronization actions? >> >> Because if it's resource-referenced object template, maybe it is not >> processed if you change something in organization in midPoint. It should be >> however processed if the change comes from your resource. >> >> Globally configured object template with strong authoritative mappings >> should work in any case... >> >> Best regards, >> >> Ivan >> >> On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote: >> >> Hi Arnošt, >> >> The new mappings are all strong and authoritative. >> >> I'm logging to TRACE and the template is not even mentioned in the >> CLOCKWORK SUMMARY, and the expressions are not called for existing objects, >> only new ones. >> I tested deleting one Org and Reimporting it, and that worked. But I >> cannot delete all the Org Structure everytime I change the template... >> >> >> 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. < >> arnost.starosta at ami.cz>: >> >>> Hi Carlos, >>> >>> is the strength of your mappings normal or weak? Than they would be >>> 'applied' to existing objects, but since there is no change in source >>> attributes or target attributes already have values, the mapping would be >>> skipped. >>> >>> You can try changing the mapping strength to strong to compute the >>> target values all the time. >>> >>> arnost >>> >>> 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < >>> alcides.neto at gmail.com>: >>> >>>> Hello List, >>>> >>>> I have a very simple SQL Resource that creates Org Strutucture from HR >>>> System. >>>> >>>> I have a Template for this resource and it is working OK. >>>> However, I made some changes to this template, added some mappings with >>>> conditions, and these are not applied to existing objects. I have tried >>>> Recompute, Reconcile, Import accounts. >>>> Only the new Orgs that were imported got the new mappings/assignments. >>>> >>>> How can I apply my template changes to my existing objects? >>>> >>>> _______________________________________________ >>>> midPoint mailing list >>>> midPoint at lists.evolveum.com >>>> http://lists.evolveum.com/mailman/listinfo/midpoint >>>> >>>> >>> >>> >>> -- >>> >>> Arnošt Starosta >>> solution architect >>> >>> gsm: [+420] 603 794 932 <+420%20603%20794%20932> >>> e-mail: arnost.starosta at ami.cz >>> >>> >>> AMI Praha a.s. >>> Pláničkova 11 >>> 162 00 Praha 6 >>> tel.: [+420] 274 783 239 <+420%20274%20783%20239> >>> web: www.ami.cz >>> >>> >>> [image: AMI Praha a.s.] >>> >>> [image: AMI Praha a.s.] >>> >>> >>> Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za >>> společnost AMI Praha a.s. >>> jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít >>> výhradně písemnou formu. >>> >>> >>> _______________________________________________ >>> midPoint mailing list >>> midPoint at lists.evolveum.com >>> http://lists.evolveum.com/mailman/listinfo/midpoint >>> >>> >> >> >> _______________________________________________ >> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint >> >> >> -- >> Ivan Noris >> Senior Identity Engineerevolveum.com >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > > > _______________________________________________ > midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint > > > -- > Ivan Noris > Senior Identity Engineerevolveum.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ivan.Noris at evolveum.com Fri Jan 19 21:31:18 2018 From: Ivan.Noris at evolveum.com (Ivan Noris) Date: Fri, 19 Jan 2018 21:31:18 +0100 (CET) Subject: [midPoint] Changes to Resource Object Template not affecting existing Objects In-Reply-To: References: <34ebc157-b314-0226-97b5-73f9f6b0b293@evolveum.com> Message-ID: <241731219.1337259.1516393878328.JavaMail.zimbra@evolveum.com> That was all related to midpoint 3.0 with generic synchronization :) Since that we can synchronize much more than just users and accounts. defaultUserTemplate was pre-3.0 setting. I'm glad it worked. Best regards, Ivan ----- Original Message ----- > From: "Alcides Carlos de Moraes Neto" > To: "midPoint General Discussion" > Sent: Friday, January 19, 2018 6:43:09 PM > Subject: Re: [midPoint] Changes to Resource Object Template not affecting > existing Objects > Yes! Did not know about defaultObjectPolicyConfiguration, only > defaultUserTemplate. > It's now working, thank you very much! :) > 2018-01-19 15:12 GMT-02:00 Ivan Noris < ivan.noris at evolveum.com > : > > Hi, > > > yes certainly. Go to to same place where you define default user template > > (in > > GUI, but it differs a little for 3.7 and earlier versions), and add another > > entry using "+" button: object type = OrgType and refer to your template. > > Do > > not forget to save. And comment the template reference in the resource > > before trying. > > > Ivan > > > On 19.01.2018 18:06, Alcides Carlos de Moraes Neto wrote: > > > > Hi Ivan, > > > > > > Yes, it is a resource referenced template for OrgType objects. I > > > understand > > > now why it doesn't work, thanks! > > > > > > Is there a way to create a default Org Template in system configuration? > > > I > > > already have a default user template. > > > > > > 2018-01-19 14:45 GMT-02:00 Ivan Noris < ivan.noris at evolveum.com > : > > > > > > > Hi, > > > > > > > > > > where is your object template? Is it global (i.e. set in System > > > > configuration) or is it a template in your resource referenced in your > > > > synchronization actions? > > > > > > > > > > Because if it's resource-referenced object template, maybe it is not > > > > processed if you change something in organization in midPoint. It > > > > should > > > > be > > > > however processed if the change comes from your resource. > > > > > > > > > > Globally configured object template with strong authoritative mappings > > > > should > > > > work in any case... > > > > > > > > > > Best regards, > > > > > > > > > > Ivan > > > > > > > > > > On 19.01.2018 17:37, Alcides Carlos de Moraes Neto wrote: > > > > > > > > > > > Hi Arnošt, > > > > > > > > > > > > > > > The new mappings are all strong and authoritative. > > > > > > > > > > > > > > > I'm logging to TRACE and the template is not even mentioned in the > > > > > CLOCKWORK > > > > > SUMMARY, and the expressions are not called for existing objects, > > > > > only > > > > > new > > > > > ones. > > > > > > > > > > > > > > > I tested deleting one Org and Reimporting it, and that worked. But I > > > > > cannot > > > > > delete all the Org Structure everytime I change the template... > > > > > > > > > > > > > > > 2018-01-19 6:55 GMT-02:00 Arnošt Starosta - AMI Praha a.s. < > > > > > arnost.starosta at ami.cz > : > > > > > > > > > > > > > > > > Hi Carlos, > > > > > > > > > > > > > > > > > > > > > is the strength of your mappings normal or weak? Than they would be > > > > > > 'applied' > > > > > > to existing objects, but since there is no change in source > > > > > > attributes > > > > > > or > > > > > > target attributes already have values, the mapping would be > > > > > > skipped. > > > > > > > > > > > > > > > > > > > > > You can try changing the mapping strength to strong to compute the > > > > > > target > > > > > > values all the time. > > > > > > > > > > > > > > > > > > > > > arnost > > > > > > > > > > > > > > > > > > > > > 2018-01-18 18:59 GMT+01:00 Alcides Carlos de Moraes Neto < > > > > > > alcides.neto at gmail.com > : > > > > > > > > > > > > > > > > > > > > > > Hello List, > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a very simple SQL Resource that creates Org Strutucture > > > > > > > from > > > > > > > HR > > > > > > > System. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I have a Template for this resource and it is working OK. > > > > > > > > > > > > > > > > > > > > > > > > > > > > However, I made some changes to this template, added some > > > > > > > mappings > > > > > > > with > > > > > > > conditions, and these are not applied to existing objects. I have > > > > > > > tried > > > > > > > Recompute, Reconcile, Import accounts. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Only the new Orgs that were imported got the new > > > > > > > mappings/assignments. > > > > > > > > > > > > > > > > > > > > > > > > > > > > How can I apply my template changes to my existing objects? > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > > > > > > > > > > > > > > > > > > midPoint mailing list > > > > > > > > > > > > > > > > > > > > > > > > > > > > midPoint at lists.evolveum.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > Arnošt Starosta > > > > > > > > > > > > > > > > > > > > > solution architect > > > > > > > > > > > > > > > > > > > > > gsm: [+420] 603 794 932 > > > > > > > > > > > > > > > > > > > > > e-mail: arnost.starosta at ami.cz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > AMI Praha a.s. > > > > > > > > > > > > > > > > > > > > > Pláničkova 11 > > > > > > > > > > > > > > > > > > > > > 162 00 Praha 6 > > > > > > > > > > > > > > > > > > > > > tel.: [+420] 274 783 239 > > > > > > > > > > > > > > > > > > > > > web: www.ami.cz > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá > > > > > > za > > > > > > společnost AMI Praha a.s. > > > > > > > > > > > > > > > > > > > > > jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít > > > > > > výhradně > > > > > > písemnou formu. > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > > > > > > > > > > > midPoint mailing list > > > > > > > > > > > > > > > > > > > > > midPoint at lists.evolveum.com > > > > > > > > > > > > > > > > > > > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > > > > > > > > midPoint mailing list midPoint at lists.evolveum.com > > > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > > > > > > > > > -- > > > > > > > > > > Ivan Noris > > > > > > > > > > Senior Identity Engineer evolveum.com > > > > > > > > > > _______________________________________________ > > > > > > > > > > midPoint mailing list > > > > > > > > > > midPoint at lists.evolveum.com > > > > > > > > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > > > > _______________________________________________ > > > > > > midPoint mailing list midPoint at lists.evolveum.com > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > -- > > > Ivan Noris > > > Senior Identity Engineer evolveum.com > > > _______________________________________________ > > > midPoint mailing list > > > midPoint at lists.evolveum.com > > > http://lists.evolveum.com/mailman/listinfo/midpoint > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Sat Jan 20 19:56:44 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 20 Jan 2018 19:56:44 +0100 (CET) Subject: [midPoint] Template modification Message-ID: <3eA.vRv.1QmTpD}yTN9.1QOv3i@seznam.cz> Hi all, I need help with modification of template. I have following mapping in template:           User - AD Role mapping       true       strong                ADGroup          extension/ADGroups                                            assignment                                 It works fine, users are imported with attribute ADGroups and all is OK. But some users have in thei attributes groups, that are not managed and imported to IDM. Typicaly protected admins group. (Schema Admins, SQL Admins etc.) How can I update this template to skip those groups? Now i am getting error: Couldn't reconcile user user:f4f60447-77d9-4a9e-a5f7-6f43b34c834f (jan.kaspar). Error java.lang.NullPointerException (http://java.lang.nullpointerexception/): Cannot invoke method getOid() on null object in expression in mapping 'User - AD Role mapping' in template mapping 'User - AD Role mapping' in objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template)(ADGroup=Schema Admins; ) in expression in mapping 'User - AD Role mapping' in template mapping 'User - AD Role mapping' in objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template) show com.evolveum.midpoint.util.exception.ExpressionEvaluationException (http://com.evolveum.midpoint.util.exception.expressionevaluationexception/) : java.lang.NullPointerException (http://java.lang.nullpointerexception/): Cannot invoke method getOid() on null object in expression in mapping 'User - AD Role mapping' in template mapping 'User - AD Role mapping' in objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template)(ADGroup=Schema Admins; ) in expression in mapping 'User - AD Role mapping' in template mapping 'User - AD Role mapping' in objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template) So basicaly i need condition to check if coresponding role exist...  Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From oskar.butovic at ami.cz Mon Jan 22 11:15:59 2018 From: oskar.butovic at ami.cz (=?UTF-8?Q?Oskar_Butovi=C4=8D_=2D_AMI_Praha_a=2Es=2E?=) Date: Mon, 22 Jan 2018 11:15:59 +0100 Subject: [midPoint] Template modification In-Reply-To: <3eA.vRv.1QmTpD}yTN9.1QOv3i@seznam.cz> References: <3eA.vRv.1QmTpD}yTN9.1QOv3i@seznam.cz> Message-ID: Hi Jan Basically, your script does not find "org" and then you call getOid() on null object. I think that surrounding that assignment creation code with if(org != null) should suffice. Best Regards Oskar Butovič 2018-01-20 19:56 GMT+01:00 Jan Kaspar : > Hi all, > > I need help with modification of template. I have following mapping in > template: > > > User - AD Role mapping > true > strong > > ADGroup > extension/ADGroups > > > > > > assignment > > > > > > > > It works fine, users are imported with attribute ADGroups and all is OK. > But some users have in thei attributes groups, > that are not managed and imported to IDM. Typicaly protected admins group. > (Schema Admins, SQL Admins etc.) > > How can I update this template to skip those groups? Now i am getting > error: > > Couldn't reconcile user user:f4f60447-77d9-4a9e-a5f7- > 6f43b34c834f(jan.kaspar).Errorjava.lang.NullPointerException > : Cannot invoke method getOid() > on null object in expression in mapping 'User - AD Role mapping' in > template mapping 'User - AD Role mapping' in objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default > User Template)(ADGroup=Schema Admins; ) in expression in mapping 'User - AD > Role mapping' in template mapping 'User - AD Role mapping' in > objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template) > showcom.evolveum.midpoint.util.exception.ExpressionEvaluationException > : > java.lang.NullPointerException : > Cannot invoke method getOid() on null object in expression in mapping 'User > - AD Role mapping' in template mapping 'User - AD Role mapping' in > objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User > Template)(ADGroup=Schema Admins; ) in expression in mapping 'User - AD Role > mapping' in template mapping 'User - AD Role mapping' in > objectTemplate:84769304-7776-11e2-b582-001e8c717e5b(Default User Template) > > So basicaly i need condition to check if coresponding role exist... > > Jan > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -- Oskar Butovič solution architect gsm: [+420] 774 480 101 e-mail: oskar.butovic at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramon.cahenzli at zhdk.ch Mon Jan 22 12:19:39 2018 From: ramon.cahenzli at zhdk.ch (=?UTF-8?B?UmFtw7Nu?= Cahenzli) Date: Mon, 22 Jan 2018 12:19:39 +0100 Subject: [midPoint] Upgrade from 3.6 to 3.7 (standalone) leaves ownerref empty on tasks, can't start midPoint Message-ID: <20180122121939.28d237cf@castle> Hello everyone, We run midPoint on Debian with PostgreSQL. I've upgraded one of our dev instances successfully to 3.7 with no issues, apart for the problem that the following index from postgresql-upgrade-3.6-3.7.sql already exists: CREATE INDEX iOpExecOwnerOid ON m_operation_execution (owner_oid); If you check the previous schema that was included with midPoint 3.6 (postgresql-upgrade-3.5-3.6.sql) you'll notice that this index was defined there. But this isn't even the real problem. The issue is that some tasks defined in midPoint 3.6 don't seem to have an owner reference, and midPoint 3.7 does not start with such a database. The relevant log lines, truncated: ERROR (com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer): Task Manager cannot synchronize task 00000000-0000-0000-0000-000000000007 due to schema exception.. com.evolveum.midpoint.util.exception.SchemaException: Task 00000000-0000-0000-0000-000000000007 does not have an owner (missing ownerRef) The database confirms this: midpoint=# select name_norm, ownerref_targetoid from m_task; name_norm | ownerref_targetoid ------------------+-------------------------------------- cleanup | 00000000-0000-0000-0000-000000000002 trigger scanner | validity scanner | (3 rows) What I've tried so far: I did the terrible hack of just setting the ownerref_ fields to the same as in the "cleanup" task. However, when restarting midPoint, the data is overwritten, the records are missing ownerrefs again. This leads me to believe that midPoint deletes and recreates these records on its own during startup. How could I fix this? I am happy to supply more information. Cheers, -- — — Zürcher Hochschule der Künste Zurich University of the Arts — Ramón Cahenzli, MSc. IT Architect — Pfingstweidstrasse 96, Postfach, 8031 Zürich Tel. +41 43 446 31 63, Fax +41 43 446 45 21 ramon.cahenzli at zhdk.ch — http://www.zhdk.ch http://itz.zhdk.ch From mederly at evolveum.com Mon Jan 22 13:37:51 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Mon, 22 Jan 2018 13:37:51 +0100 Subject: [midPoint] Upgrade from 3.6 to 3.7 (standalone) leaves ownerref empty on tasks, can't start midPoint In-Reply-To: <20180122121939.28d237cf@castle> References: <20180122121939.28d237cf@castle> Message-ID: <7ec6ef7a-b317-a904-60ce-4c34813ad3a5@evolveum.com> Hello Ramón, As for the iOpExecOwnerOid being already present, I do apologize. When finalizing SQL update scripts I have checked against "3.6-all" scripts, and the index is not there. It somehow got into upgrade scripts without modifying the "full" ones. --- As for the missing ownerRef, it should not prevent midPoint from starting. It should only cause the initial task synchronization procedure to report some problems,  but midPoint as such should continue to load (and eventually start successfully). I have now tested it on code almost identical to 3.7, both in "tomcat" and standalone mode. The issue manifests itself as the exception you mentioned, plus a summarizing message: /2018-01-22 13:28:42,632 [] [RMI TCP Connection(3)-127.0.0.1] INFO (com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer): Synchronization of midpoint and Quartz task store finished. 4 task(s) existing in midPoint repository successfully processed, resulting in 2 updated Quartz job(s). 0 task(s) removed from Quartz job store. //*Processing of 1 task(s) failed*//./ (More tasks, in your case.) And the midPoint starts well. --- As far as I know, the issue is not related to version change from 3.6 to 3.7. The code that checks ownerRef is there since 2012. And the tasks themselves contain the ownerRef also since they were created (in 04/2015). It looks like the data got wrong (somehow) in your installation only. But, nevertheless, it should not be a cause of midPoint not starting. How does your log file continue? Could you post here more of it? The easiest way to repair the state is to start midPoint somehow, and then to add ownerRef directly into XML representation of the particular tasks; via Repository Objects, like this: It is because this XML (stored in fullObject db column) is used as the authoritative information on each midPoint object. All other db columns are derived from it; in fact, they are present only to facilitate searching for objects according to specified criteria. Best regards, Pavol Mederly Software developer evolveum.com On 22.01.2018 12:19, Ramón Cahenzli wrote: > Hello everyone, > > We run midPoint on Debian with PostgreSQL. I've upgraded one of our dev > instances successfully to 3.7 with no issues, apart for the problem > that the following index from postgresql-upgrade-3.6-3.7.sql already > exists: > > CREATE INDEX iOpExecOwnerOid > ON m_operation_execution (owner_oid); > > If you check the previous schema that was > included with midPoint 3.6 (postgresql-upgrade-3.5-3.6.sql) you'll > notice that this index was defined there. > > But this isn't even the real problem. The issue is that some tasks > defined in midPoint 3.6 don't seem to have an owner reference, and > midPoint 3.7 does not start with such a database. > > The relevant log lines, truncated: > > ERROR > (com.evolveum.midpoint.task.quartzimpl.execution.TaskSynchronizer): > Task Manager cannot synchronize task > 00000000-0000-0000-0000-000000000007 due to schema exception.. > > com.evolveum.midpoint.util.exception.SchemaException: Task > 00000000-0000-0000-0000-000000000007 does not have an owner (missing > ownerRef) > > > The database confirms this: > > > midpoint=# select name_norm, ownerref_targetoid from m_task; > name_norm | ownerref_targetoid > ------------------+-------------------------------------- > cleanup | 00000000-0000-0000-0000-000000000002 > trigger scanner | > validity scanner | > (3 rows) > > > What I've tried so far: > > I did the terrible hack of just setting the ownerref_ fields to the > same as in the "cleanup" task. However, when restarting midPoint, the > data is overwritten, the records are missing ownerrefs again. This > leads me to believe that midPoint deletes and recreates these records > on its own during startup. > > How could I fix this? I am happy to supply more information. > > Cheers, > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: hfjiigeeoggealoc.png Type: image/png Size: 32303 bytes Desc: not available URL: From ramon.cahenzli at zhdk.ch Mon Jan 22 14:23:03 2018 From: ramon.cahenzli at zhdk.ch (=?UTF-8?B?UmFtw7Nu?= Cahenzli) Date: Mon, 22 Jan 2018 14:23:03 +0100 Subject: [midPoint] Upgrade from 3.6 to 3.7 (standalone) leaves ownerref empty on tasks, can't start midPoint In-Reply-To: <7ec6ef7a-b317-a904-60ce-4c34813ad3a5@evolveum.com> References: <20180122121939.28d237cf@castle> <7ec6ef7a-b317-a904-60ce-4c34813ad3a5@evolveum.com> Message-ID: <20180122142303.5c60f288@castle> Hi Pavol, Thanks a lot for your explanation. > As for the iOpExecOwnerOid being already present, I do apologize. > When finalizing SQL update scripts I have checked against "3.6-all" > scripts, and the index is not there. It somehow got into upgrade > scripts without modifying the "full" ones. No problem, I'm glad it's a real issue and not something we messed up here :) In the meantime I have: 1. Gone back to 3.6 through Tomcat so I can get to the admin interface. 2. Sifted manually through the initial object XML files and found the owner references there. 3. Added the owner references to the task objects under "Repository objects" like you also suggested. This makes the "Tasks" view work again. Previously, task details for the two ownerless tasks couldn't be displayed and errors were shown. So even if this was harmless, I guess it's good to have fixed it. I wonder how this was even possible, but I'll leave that for later. Now I will try the 3.7 upgrade again. If it doesn't start I will supply the end of a fresh logfile. Thanks again! Cheers, -- — — Zürcher Hochschule der Künste Zurich University of the Arts — Ramón Cahenzli, MSc. IT Architect — Pfingstweidstrasse 96, Postfach, 8031 Zürich Tel. +41 43 446 31 63, Fax +41 43 446 45 21 ramon.cahenzli at zhdk.ch — http://www.zhdk.ch http://itz.zhdk.ch From seth at sourceclear.com Tue Jan 23 01:01:15 2018 From: seth at sourceclear.com (Seth McCombs) Date: Mon, 22 Jan 2018 16:01:15 -0800 Subject: [midPoint] SuperUser Persistence Message-ID: Hey All, I inherited a running MidPoint install, and while all is working well, I am trying to learn as much about the system as I can. One thing I have found is that when I provide my account with SuperUser access (after logging in as root account), I then log back in a day or two later, and my super user access is gone. I've only just started digging through configs and logs, but I have little idea where to start, one thing I have found is this XML file - (See output below) Superuser Role that gives user full authorization in MidPoint. http://midpoint.evolveum.com/xml/ns/public/ security/authorization-3#all system It seems to me that the superuser is possibly hard coded, but I don't know where that above link leads nore how to fix this, Any advice is MUCH appreciated! Cheers! Seth McCombs IT Operations Engineer +1 510.514.5855 seth at sourceclear.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Tue Jan 23 01:16:43 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Tue, 23 Jan 2018 01:16:43 +0100 Subject: [midPoint] SuperUser Persistence In-Reply-To: References: Message-ID: Hello Seth, what you see is Superuser role. It can be assigned to any account, effectively providing that account with "root" privileges. In fact, there's nothing hardcoded. The role can have any name, any OID. What is important, is     http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#all (The URI ...#all is a predefined constant in midPoint, giving all access within the system.) ------------------------------------------------------------------------ Anyway, midPoint is far too complex to be understood by exploring its GUI. I would strongly recommend reading this e-book that will provide you with solid understanding of basic concepts: https://evolveum.com/midpoint/midpoint-guide-about-practical-identity-management/. And, as midPoint in latest version (3.7) is really easy to install, it is the best to install a "playground" midPoint instance and explore it without fear of breaking anything. Pavol Mederly Software developer evolveum.com On 23.01.2018 1:01, Seth McCombs wrote: > Hey All, > > I inherited a running MidPoint install, and while all is working well, > I am trying to learn as much about the system as I can. One thing I > have found is that when I provide my account with SuperUser access > (after logging in as root account), I then log back in a day or two > later, and my super user access is gone. I've only just started > digging through configs and logs, but I have little idea where to > start, one thing I have found is this XML file - (See output below) > > > xmlns=“http://midpoint.evolveum.com/xml/ns/public/common/common-3 > "> > Superuser > Role that gives user full authorization in > MidPoint. > > http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#all > > > system > > > It seems to me that the superuser is possibly hard coded, but I don't > know where that above link leads nore how to fix this, > > Any advice is MUCH appreciated! > > Cheers! > > Seth McCombs > IT Operations Engineer > +1 510.514.5855 > seth at sourceclear.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From seth at sourceclear.com Tue Jan 23 01:27:50 2018 From: seth at sourceclear.com (Seth McCombs) Date: Mon, 22 Jan 2018 16:27:50 -0800 Subject: [midPoint] SuperUser Persistence In-Reply-To: References: Message-ID: Thanks Pavol! I actually just finished that book today, and am re-reading through the XML syntax parts. My MidPoint is 3.4.1, and I need to figure out what my next steps are for updating, (our instance is Kubernetes based, so I'll be rolling an update). My issue, unless I'm missing it, is that any user besides the initially configured super-user (set up at install), all other users given the super user role, lose that role after 1-2 days. Thanks! Seth McCombs IT Operations Engineer +1 510.514.5855 seth at sourceclear.com On Mon, Jan 22, 2018 at 4:16 PM, Pavol Mederly wrote: > Hello Seth, > > what you see is Superuser role. It can be assigned to any account, > effectively providing that account with "root" privileges. > > In fact, there's nothing hardcoded. The role can have any name, any OID. > What is important, is > > > http://midpoint.evolveum.com/xml/ns/public/security/ > authorization-3#all > > > (The URI ...#all is a predefined constant in midPoint, giving all access > within the system.) > ------------------------------ > Anyway, midPoint is far too complex to be understood by exploring its GUI. > I would strongly recommend reading this e-book that will provide you with > solid understanding of basic concepts: https://evolveum.com/midpoint/ > midpoint-guide-about-practical-identity-management/. And, as midPoint in > latest version (3.7) is really easy to install, it is the best to install a > "playground" midPoint instance and explore it without fear of breaking > anything. > > Pavol Mederly > Software developerevolveum.com > > On 23.01.2018 1:01, Seth McCombs wrote: > > Hey All, > > I inherited a running MidPoint install, and while all is working well, I > am trying to learn as much about the system as I can. One thing I have > found is that when I provide my account with SuperUser access (after > logging in as root account), I then log back in a day or two later, and my > super user access is gone. I've only just started digging through configs > and logs, but I have little idea where to start, one thing I have found is > this XML file - (See output below) > > > xmlns=“http://midpoint.evolveum.com/xml/ns/public/common/common-3"> > Superuser > Role that gives user full authorization in > MidPoint. > > http://midpoint.evolveum.com/xml/ns/public/security/ > authorization-3#all > > system > > > It seems to me that the superuser is possibly hard coded, but I don't know > where that above link leads nore how to fix this, > > Any advice is MUCH appreciated! > > Cheers! > > Seth McCombs > IT Operations Engineer > +1 510.514.5855 <(510)%20514-5855> > seth at sourceclear.com > > > _______________________________________________ > midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From Caspi at seznam.cz Tue Jan 23 07:32:00 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Tue, 23 Jan 2018 07:32:00 +0100 (CET) Subject: [midPoint] Template modification Message-ID: <71X.vQU.4puiiecPnT3.1QPjRW@seznam.cz> Hi Oskar, all, Yes i tryed this, but it didnt work. with that code:                import com.evolveum.midpoint.xml.ns._public.common.common_3. AssignmentType;    import com.evolveum.midpoint.xml.ns._public.common.common_3. ObjectReferenceType;    import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType;    import com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType;    import java.util.*;        log.warn("XXX assigning from SAP role {}" , ADGroup)    if (ADGroup != null){ orgName = ADGroup;                      org = midpoint.searchObjectByName(RoleType.class, orgName);                 if (org != null)                 {                     log.info("org {}" , org)                     orgOrt = new ObjectReferenceType();         orgOrt.setOid(org.getOid());         orgOrt.setType(RoleType.COMPLEX_TYPE);         AssignmentType assignment = new AssignmentType();         assignment.asPrismContainerValue()         assignment.setTargetRef(orgOrt);         return assignment     }    }     I got error: Operation Reconcile user (Gui): {0} Message Couldn't reconcile user user:08c284d4-8bc8-4b1a-a598-785773c51d62(ales. levinsky). Error groovy.lang.MissingMethodException: No signature of method: org.codehaus. groovy.jsr223.GroovyScriptEngineImpl.If() is applicable for argument types: (java.lang.Boolean, Script31$_run_closure1) values: [true, Script31$_run_ closure1 at 2eb5683] Possible solutions: find(), any(), is(java.lang.Object), wait(), dump(), grep() in expression in mapping in inbound expression for {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}memberOf in resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(BLUED (LDAP))({.../common/ common-3}input=CN=POS_AX_ADMINS,OU=Groups,OU=CZ,DC=domain,DC=local; ) in expression in mapping in inbound expression for {http://midpoint.evolveum. com/xml/ns/public/resource/instance-3}memberOf in resource:746ecf5e-3e8c-11e 6-b2f9-3c970e44b9e2(BLUED (LDAP)) Any idea? I fouind some things on internet about bug in groovy. But without solution for now. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Tue Jan 23 09:55:33 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Tue, 23 Jan 2018 09:55:33 +0100 Subject: [midPoint] SuperUser Persistence In-Reply-To: References: Message-ID: Seth, the "role loss" you experience is really strange. It can be caused by various factors; although I never heard of something like that :) For example, are there any scripting hooks defined? Or, are you sure the assignment is really deleted? Isn't it only disabled? (Either explicitly or via validTo time?) Maybe you could have a look into audit log: after the role disappears, just look at all changes related to the given user. Maybe there would be some hint what has happened. Best regards, Pavol Mederly Software developer evolveum.com On 23.01.2018 1:27, Seth McCombs wrote: > Thanks Pavol! > > I actually just finished that book today, and am re-reading through > the XML syntax parts. My MidPoint is 3.4.1, and I need to figure out > what my next steps are for updating, (our instance is Kubernetes > based, so I'll be rolling an update). My issue, unless I'm missing it, > is that any user besides the initially configured super-user (set up > at install), all other users given the super user role, lose that role > after 1-2 days. > > Thanks! > > > > Seth McCombs > IT Operations Engineer > +1 510.514.5855 > seth at sourceclear.com > > On Mon, Jan 22, 2018 at 4:16 PM, Pavol Mederly > wrote: > > Hello Seth, > > what you see is Superuser role. It can be assigned to any account, > effectively providing that account with "root" privileges. > > In fact, there's nothing hardcoded. The role can have any name, > any OID. What is important, is > > >     > http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#all > > > > (The URI ...#all is a predefined constant in midPoint, giving all > access within the system.) > > ------------------------------------------------------------------------ > Anyway, midPoint is far too complex to be understood by exploring > its GUI. I would strongly recommend reading this e-book that will > provide you with solid understanding of basic concepts: > https://evolveum.com/midpoint/midpoint-guide-about-practical-identity-management/ > . > And, as midPoint in latest version (3.7) is really easy to > install, it is the best to install a "playground" midPoint > instance and explore it without fear of breaking anything. > > Pavol Mederly > Software developer > evolveum.com > > On 23.01.2018 1:01, Seth McCombs wrote: >> Hey All, >> >> I inherited a running MidPoint install, and while all is working >> well, I am trying to learn as much about the system as I can. One >> thing I have found is that when I provide my account with >> SuperUser access (after logging in as root account), I then log >> back in a day or two later, and my super user access is gone. >> I've only just started digging through configs and logs, but I >> have little idea where to start, one thing I have found is this >> XML file - (See output below) >> >> >> > xmlns=“http://midpoint.evolveum.com/xml/ns/public/common/common-3 >> "> >> Superuser >> Role that gives user full authorization in >> MidPoint. >> >> http://midpoint.evolveum.com/xml/ns/public/security/authorization-3#all >> >> >> system >> >> >> It seems to me that the superuser is possibly hard coded, but I >> don't know where that above link leads nore how to fix this, >> >> Any advice is MUCH appreciated! >> >> Cheers! >> >> Seth McCombs >> IT Operations Engineer >> +1 510.514.5855 >> seth at sourceclear.com >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From seth at sourceclear.com Tue Jan 23 17:57:45 2018 From: seth at sourceclear.com (Seth McCombs) Date: Tue, 23 Jan 2018 08:57:45 -0800 Subject: [midPoint] SuperUser Persistence In-Reply-To: References: Message-ID: Thanks again Paval! I'm sure there's something weird configured script wise or something, this is a setup I've inherited, I've only been here for a month, and still coming up to speed. I'll definitely check audit logs and see! Seth McCombs IT Operations Engineer +1 510.514.5855 seth at sourceclear.com On Tue, Jan 23, 2018 at 12:55 AM, Pavol Mederly wrote: > Seth, > > the "role loss" you experience is really strange. It can be caused by > various factors; although I never heard of something like that :) For > example, are there any scripting hooks > defined? Or, > are you sure the assignment is really deleted? Isn't it only disabled? > (Either explicitly or via validTo time?) > > Maybe you could have a look into audit log: after the role disappears, > just look at all changes related to the given user. Maybe there would be > some hint what has happened. > > Best regards, > > Pavol Mederly > Software developerevolveum.com > > On 23.01.2018 1:27, Seth McCombs wrote: > > Thanks Pavol! > > I actually just finished that book today, and am re-reading through the > XML syntax parts. My MidPoint is 3.4.1, and I need to figure out what my > next steps are for updating, (our instance is Kubernetes based, so I'll be > rolling an update). My issue, unless I'm missing it, is that any user > besides the initially configured super-user (set up at install), all other > users given the super user role, lose that role after 1-2 days. > > Thanks! > > > > Seth McCombs > IT Operations Engineer > +1 510.514.5855 <(510)%20514-5855> > seth at sourceclear.com > > On Mon, Jan 22, 2018 at 4:16 PM, Pavol Mederly > wrote: > >> Hello Seth, >> >> what you see is Superuser role. It can be assigned to any account, >> effectively providing that account with "root" privileges. >> >> In fact, there's nothing hardcoded. The role can have any name, any OID. >> What is important, is >> >> >> http://midpoint.evolveum.com/xml/ns/public/security/ >> authorization-3#all >> >> >> (The URI ...#all is a predefined constant in midPoint, giving all access >> within the system.) >> ------------------------------ >> Anyway, midPoint is far too complex to be understood by exploring its >> GUI. I would strongly recommend reading this e-book that will provide you >> with solid understanding of basic concepts: >> https://evolveum.com/midpoint/midpoint-guide-about-practical >> -identity-management/. And, as midPoint in latest version (3.7) is >> really easy to install, it is the best to install a "playground" midPoint >> instance and explore it without fear of breaking anything. >> >> Pavol Mederly >> Software developerevolveum.com >> >> On 23.01.2018 1:01, Seth McCombs wrote: >> >> Hey All, >> >> I inherited a running MidPoint install, and while all is working well, I >> am trying to learn as much about the system as I can. One thing I have >> found is that when I provide my account with SuperUser access (after >> logging in as root account), I then log back in a day or two later, and my >> super user access is gone. I've only just started digging through configs >> and logs, but I have little idea where to start, one thing I have found is >> this XML file - (See output below) >> >> >> > xmlns=“http://midpoint.evolveum.com/xml/ns/public/common/common-3"> >> Superuser >> Role that gives user full authorization in >> MidPoint. >> >> http://midpoint.evolveum.com/xml/ns/public/security/ >> authorization-3#all >> >> system >> >> >> It seems to me that the superuser is possibly hard coded, but I don't >> know where that above link leads nore how to fix this, >> >> Any advice is MUCH appreciated! >> >> Cheers! >> >> Seth McCombs >> IT Operations Engineer >> +1 510.514.5855 <%28510%29%20514-5855> >> seth at sourceclear.com >> >> >> _______________________________________________ >> midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint >> >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> >> > > > _______________________________________________ > midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From seth at sourceclear.com Tue Jan 23 21:37:20 2018 From: seth at sourceclear.com (Seth McCombs) Date: Tue, 23 Jan 2018 12:37:20 -0800 Subject: [midPoint] Typo Updates for Wiki Message-ID: Hey team, What's the best way to let people know about some typos on the wiki? Nothing serious, missing or flipped letters here and there! I'm diving into the wiki as I try to wrangle my existing MidPoint instance, and I'd like to let people know as I go along if I find things, I've already got a few jotted down (not trying to be a grammar snob) Thanks! Seth McCombs IT Operations Engineer +1 510.514.5855 seth at sourceclear.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davy.priem at vives.be Wed Jan 24 09:17:17 2018 From: davy.priem at vives.be (Davy Priem) Date: Wed, 24 Jan 2018 08:17:17 +0000 Subject: [midPoint] inducement issue after upgrade to 3.7 Message-ID: <0001EAE3-377F-44A0-BAA5-CFF1C6008A6D@vives.be> Hi, This is a probably a version stupid question, but since I upgraded to version 3.7, the inducements on a role aren’t processed anymore when a role is assigned to a user. I have a template that assigns a role on a new user. That role has several inducements. When a new users is imported, midpoint succesfully assigns the role to the user (as with 3.6). However, there it stops. When I go to the user and do a recon, then the projections are made. Am I overlooking something? I didn’t found any behaviour change in 3.7 release notes. Best regards, Davy Priem -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Wed Jan 24 09:42:46 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Wed, 24 Jan 2018 09:42:46 +0100 Subject: [midPoint] inducement issue after upgrade to 3.7 In-Reply-To: <0001EAE3-377F-44A0-BAA5-CFF1C6008A6D@vives.be> References: <0001EAE3-377F-44A0-BAA5-CFF1C6008A6D@vives.be> Message-ID: Hi Davy, I have just tried our training environment installed from scratch, where we assign a role using object template, to each newly imported person from HR source. And it works. The projections are created after role is assigned. I have not clean 3.7 but 3.7-support branch to be honest. Are there any errors in midpoint.log? Can you share the role? Best regards, Ivan On 24.01.2018 09:17, Davy Priem wrote: > > Hi, > > > This is a probably a version stupid question, but since I upgraded to > version 3.7, the inducements on a role aren’t processed anymore when a > role is assigned to a user. I have a template that assigns a role on a > new user. That role has several inducements. When a new users is > imported, midpoint succesfully assigns the role to the user (as with > 3.6). However, there it stops. When I go to the user and do a recon, > then the projections are made. Am I overlooking something? I didn’t > found any behaviour change in 3.7 release notes.  > > > Best regards, > > Davy Priem  > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From radovan.semancik at evolveum.com Wed Jan 24 10:44:16 2018 From: radovan.semancik at evolveum.com (Radovan Semancik) Date: Wed, 24 Jan 2018 10:44:16 +0100 Subject: [midPoint] Meet us at FOSDEM and TIIME Message-ID: <3c0ada43-3bc4-8612-caa6-f20ffbd8fb6b@evolveum.com> Dear community, Few members of our team plan to attend two interesting events. This may an opportunity to meet with the community and discuss midPoint. First event is FOSDEM conference in Brussels. There will be a talk about midPoint in the IAM devroom: https://fosdem.org/2018/schedule/event/idm_midpoint/ and another talk about GDPR and IDM in the legal&policy devroom: https://fosdem.org/2018/schedule/event/gdpr_identity_management/ FOSDEM is a very interesting event. But it is also quite a big event. For those that prefer smaller events there is an ideal opportunity: TIIME workshop in Vienna: http://tiimeworkshop.eu/ There will be a talk and a dedicated midPoint workshop on Tuesday afternoon. Also, it might be interesting to discuss midPoint during the TIIME unconference that follows the workshop. -- Radovan Semancik Software Architect evolveum.com From alcides.neto at gmail.com Wed Jan 24 23:08:23 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Wed, 24 Jan 2018 20:08:23 -0200 Subject: [midPoint] How to make Entitlement association strong / enforced ? Message-ID: Hello list, I have a OrgType -> AD Group projection, with construction and entitlement association all done in a single Meta Role. This works, the groups are created and the Org Members are added to the group. However, if the AD user account already is a member of any other group, its not added to the Org AD Group. And if I remove a user account from the AD group from within Windows Server, Midpoint does not create the association again. It's behaving like a weak mapping. How do I make Midpoint enforce the group membership? The association definition has tolerant attribute set to FALSE . I've tried setting assignmentPolicyEnforcement to FULL for the resource, it does not work either. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Thu Jan 25 09:29:33 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Thu, 25 Jan 2018 09:29:33 +0100 Subject: [midPoint] How to make Entitlement association strong / enforced ? In-Reply-To: References: Message-ID: <594304ff-d32e-fbd7-08d2-4f7ae89b19a4@evolveum.com> Hi, can you share the role (in your case probably the metarole)? I think you might be missing strong in the outbound mapping for association for order=2 mapping. Ivan On 24.01.2018 23:08, Alcides Carlos de Moraes Neto wrote: > Hello list, > > I have a OrgType -> AD Group projection, with construction and > entitlement association all done in a single Meta Role. This works, > the groups are created and the Org Members are added to the group. > > However, if the AD user account already is a member of any other > group, its not added to the Org AD Group. And if I remove a user > account from the AD group from within Windows Server, Midpoint does > not create the association again. It's behaving like a weak mapping. > How do I make Midpoint enforce the group membership? The association > definition has tolerant attribute set to FALSE . I've tried setting > assignmentPolicyEnforcement to FULL for the resource, it does not work > either. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alcides.neto at gmail.com Thu Jan 25 14:16:52 2018 From: alcides.neto at gmail.com (Alcides Carlos de Moraes Neto) Date: Thu, 25 Jan 2018 11:16:52 -0200 Subject: [midPoint] How to make Entitlement association strong / enforced ? In-Reply-To: <594304ff-d32e-fbd7-08d2-4f7ae89b19a4@evolveum.com> References: <594304ff-d32e-fbd7-08d2-4f7ae89b19a4@evolveum.com> Message-ID: Thanks Ivan, that was it. I didn't notice I could set strenght in the association mapping. I have a weak construction with a strong mapping, that's a bit crazy, but it works. :) My metarole is thus: Group construction entitlement org-group Add users to group weak account default ri:group false * strong* entitlement org-group 2 2018-01-25 6:29 GMT-02:00 Ivan Noris : > Hi, > > can you share the role (in your case probably the metarole)? I think you > might be missing strong in the outbound mapping for association for order=2 > mapping. > > Ivan > > On 24.01.2018 23:08, Alcides Carlos de Moraes Neto wrote: > > Hello list, > > I have a OrgType -> AD Group projection, with construction and entitlement > association all done in a single Meta Role. This works, the groups are > created and the Org Members are added to the group. > > However, if the AD user account already is a member of any other group, > its not added to the Org AD Group. And if I remove a user account from the > AD group from within Windows Server, Midpoint does not create the > association again. It's behaving like a weak mapping. > How do I make Midpoint enforce the group membership? The association > definition has tolerant attribute set to FALSE . I've tried setting > assignmentPolicyEnforcement to FULL for the resource, it does not work > either. > > > _______________________________________________ > midPoint mailing listmidPoint at lists.evolveum.comhttp://lists.evolveum.com/mailman/listinfo/midpoint > > > -- > Ivan Noris > Senior Identity Engineerevolveum.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ivan.noris at evolveum.com Thu Jan 25 14:24:48 2018 From: ivan.noris at evolveum.com (Ivan Noris) Date: Thu, 25 Jan 2018 14:24:48 +0100 Subject: [midPoint] How to make Entitlement association strong / enforced ? In-Reply-To: References: <594304ff-d32e-fbd7-08d2-4f7ae89b19a4@evolveum.com> Message-ID: <64a120fb-8bc3-7f6a-0a35-af149660cfa5@evolveum.com> Hi, yes, as "strength" element is used both in construction and also in mapping, it always looks confusing. But the two strengths are for completely different things :) To allow midpoint to always apply the "group membership" (by association), the strong outbound mapping for association does the trick. To force midpoint to remove group membership from groups that are not assigned by midpoint, tolerant=false might be set in resource association definition (not in role!) And finally, weak strength set in construction means that even if this role constructs (creates) an account and adds the account to a role, unless other role for the same projection is assigned with strong strength in construction, the account will not be created. The use case behind it is: if organization structure is replicated to target system (AD for example), and user is assigned to organization in midPoint, which is replicated to target system, the account would be created immediately, even if the user has no other roles. Strength=weak in construction prohibits this, and the user must be assigned different role e.g. Employee and only then the account is created the the groups assigned. Let's hope I will be able to put it this way during our training next week :) Best regards, Ivan On 25.01.2018 14:16, Alcides Carlos de Moraes Neto wrote: > Thanks Ivan, that was it. I didn't notice I could set strenght in the > association mapping. > I have a weak construction with a strong mapping, that's a bit crazy, > but it works. :) > > My metarole is thus: > > >       Group construction >       >                                relation="org:default" >                       type="c:ResourceType"> >          entitlement >          org-group >       >    >    >       Add users to group >       >          weak >                                relation="org:default" >                       type="c:ResourceType"> >          account >          default >          >             ri:group >             false >             >               *strong* >                >                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >                                        > xsi:type="c:AssociationFromLinkExpressionEvaluatorType"> >                      >                         entitlement >                         org-group >                      >                   >                >             >          >       >       2 >       >          >             >          >       >    > > 2018-01-25 6:29 GMT-02:00 Ivan Noris >: > > Hi, > > can you share the role (in your case probably the metarole)? I > think you might be missing strong in the outbound mapping for > association for order=2 mapping. > > Ivan > > > On 24.01.2018 23:08, Alcides Carlos de Moraes Neto wrote: >> Hello list, >> >> I have a OrgType -> AD Group projection, with construction and >> entitlement association all done in a single Meta Role. This >> works, the groups are created and the Org Members are added to >> the group. >> >> However, if the AD user account already is a member of any other >> group, its not added to the Org AD Group. And if I remove a user >> account from the AD group from within Windows Server, Midpoint >> does not create the association again. It's behaving like a weak >> mapping. >> How do I make Midpoint enforce the group membership? The >> association definition has tolerant attribute set to FALSE . I've >> tried setting assignmentPolicyEnforcement to FULL for the >> resource, it does not work either. >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint >> > > -- > Ivan Noris > Senior Identity Engineer > evolveum.com > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ramon.cahenzli at zhdk.ch Thu Jan 25 15:49:00 2018 From: ramon.cahenzli at zhdk.ch (=?UTF-8?B?UmFtw7Nu?= Cahenzli) Date: Thu, 25 Jan 2018 15:49:00 +0100 Subject: [midPoint] Upgrade from 3.6 to 3.7 (standalone) leaves ownerref empty on tasks, can't start midPoint In-Reply-To: <7ec6ef7a-b317-a904-60ce-4c34813ad3a5@evolveum.com> References: <20180122121939.28d237cf@castle> <7ec6ef7a-b317-a904-60ce-4c34813ad3a5@evolveum.com> Message-ID: <20180125154900.700eea30@castle> Hi again Pavol and everyone, Unfortunately, the issue does not stay fixed even when I manually assign owners to the tasks. Sooner or later they appear to lose their owners. I tried an upgrade to 3.7 based on this supposedly fixed data, but midPoint never really starts. It attempts to start and then throws exceptions, see attached log file. If I read things correctly, it tries to create an administrator user even though there is one already. I'm happy to supply logs that are more interesting. Cheers and thanks, -- — — Zürcher Hochschule der Künste Zurich University of the Arts — Ramón Cahenzli, MSc. IT Architect — Pfingstweidstrasse 96, Postfach, 8031 Zürich Tel. +41 43 446 31 63, Fax +41 43 446 45 21 ramon.cahenzli at zhdk.ch — http://www.zhdk.ch http://itz.zhdk.ch -------------- next part -------------- A non-text attachment was scrubbed... Name: idm.log Type: text/x-log Size: 134684 bytes Desc: not available URL: From mederly at evolveum.com Fri Jan 26 12:35:12 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Fri, 26 Jan 2018 12:35:12 +0100 Subject: [midPoint] Template modification In-Reply-To: <71X.vQU.4puiiecPnT3.1QPjRW@seznam.cz> References: <71X.vQU.4puiiecPnT3.1QPjRW@seznam.cz> Message-ID: <932158f1-d000-5b8d-8d17-79682f61caec@evolveum.com> Hello Jan, it is interesting but in my case the script works (invoking it as a bulk action, just to test it):             ObjectType                     00000000-0000-0000-0000-000000000002                                                     execute-script                     script                                                  import com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType;            import com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType;            import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType;            import com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType;            import java.util.*;            ADGroup = "End user"            log.warn("XXX assigning from SAP role {}", ADGroup)            if (ADGroup != null) {                 orgName = ADGroup;                 org = midpoint.searchObjectByName(RoleType.class, orgName);                 if (org != null)                 {                     log.info("org {}" , org)                     orgOrt = new ObjectReferenceType();                     orgOrt.setOid(org.getOid()); orgOrt.setType(RoleType.COMPLEX_TYPE);                     AssignmentType assignment = new AssignmentType();                     assignment.asPrismContainerValue()                     assignment.setTargetRef(orgOrt);                     return assignment                 }            }                                        Just a few notes (but these have no impact on the exception you experience): 1. You use orgName/org but you search for RoleType.class - it probably should be OrgType.class. 2. assignment.asPrismContainerValue() can be probably eliminated; it does nothing. Maybe you could rewrite your groovy code in a bit different way... I really don't know. Pavol Mederly Software developer evolveum.com On 23.01.2018 7:32, Jan Kaspar wrote: > Hi Oskar, all, > > Yes i tryed this, but it didnt work. with that code: > >             >    import > com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; >    import > com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType; >    import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; >    import com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType; >    import java.util.*; >    log.warn("XXX assigning from SAP role {}" , ADGroup) >    if (ADGroup != null){ > orgName = ADGroup; >                 org = midpoint.searchObjectByName(RoleType.class, > orgName); >                 if (org != null) >                 { >                     log.info("org {}" , org) >                     orgOrt = new ObjectReferenceType(); > orgOrt.setOid(org.getOid()); > orgOrt.setType(RoleType.COMPLEX_TYPE); > > AssignmentType assignment = new AssignmentType(); > assignment.asPrismContainerValue() > assignment.setTargetRef(orgOrt); >         return assignment >     } >    } >     > > I got error: > > > Operation > Reconcile user (Gui): {0} > Message > Couldn't reconcile user > user:08c284d4-8bc8-4b1a-a598-785773c51d62(ales.levinsky). > > Error > groovy.lang.MissingMethodException: No signature of method: > org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.If() is > applicable for argument types: (java.lang.Boolean, > Script31$_run_closure1) values: [true, > Script31$_run_closure1 at 2eb5683] Possible solutions: find(), any(), > is(java.lang.Object), wait(), dump(), grep() in expression in > mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}memberOf > in resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(BLUED > (LDAP))({.../common/common-3}input=CN=POS_AX_ADMINS,OU=Groups,OU=CZ,DC=domain,DC=local; > ) in expression in mapping in inbound expression for > {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}memberOf > in resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(BLUED (LDAP)) > > Any idea? I fouind some things on internet about bug in groovy. But > without solution for now. > > Jan > > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Fri Jan 26 12:52:11 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Fri, 26 Jan 2018 12:52:11 +0100 Subject: [midPoint] Template modification In-Reply-To: <932158f1-d000-5b8d-8d17-79682f61caec@evolveum.com> References: <71X.vQU.4puiiecPnT3.1QPjRW@seznam.cz> <932158f1-d000-5b8d-8d17-79682f61caec@evolveum.com> Message-ID: Please try adding "return null" at the end of the script. If it would not help, you can also rewrite it like if (ADGroup == null) {   return null } etc. Pavol Mederly Software developer evolveum.com On 26.01.2018 12:35, Pavol Mederly wrote: > > Hello Jan, > > it is interesting but in my case the script works (invoking it as a > bulk action, just to test it): > > xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3"> >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="s:SearchExpressionType"> >         ObjectType >         >             xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3"> > 00000000-0000-0000-0000-000000000002 >                 >             >         >     >     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="s:ActionExpressionType"> >         execute-script >         >             script >             xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"> >                 >                      import > com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; >            import > com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType; >            import > com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; >            import > com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType; >            import java.util.*; > >            ADGroup = "End user" >            log.warn("XXX assigning from SAP role {}", ADGroup) >            if (ADGroup != null) { >                 orgName = ADGroup; > >                 org = midpoint.searchObjectByName(RoleType.class, > orgName); >                 if (org != null) >                 { >                     log.info("org {}" , org) >                     orgOrt = new ObjectReferenceType(); >                     orgOrt.setOid(org.getOid()); > orgOrt.setType(RoleType.COMPLEX_TYPE); > >                     AssignmentType assignment = new AssignmentType(); >                     assignment.asPrismContainerValue() >                     assignment.setTargetRef(orgOrt); >                     return assignment >                 } >            } >                 >             >         >    > > > Just a few notes (but these have no impact on the exception you > experience): > > 1. You use orgName/org but you search for RoleType.class - it > probably should be OrgType.class. > 2. assignment.asPrismContainerValue() can be probably eliminated; it > does nothing. > > Maybe you could rewrite your groovy code in a bit different way... I > really don't know. > > Pavol Mederly > Software developer > evolveum.com > On 23.01.2018 7:32, Jan Kaspar wrote: >> Hi Oskar, all, >> >> Yes i tryed this, but it didnt work. with that code: >> >>             >>    import >> com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentType; >>    import >> com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectReferenceType; >>    import com.evolveum.midpoint.xml.ns._public.common.common_3.RoleType; >>    import com.evolveum.midpoint.xml.ns._public.common.common_3.OrgType; >>    import java.util.*; >>    log.warn("XXX assigning from SAP role {}" , ADGroup) >>    if (ADGroup != null){ >> orgName = ADGroup; >>                 org = midpoint.searchObjectByName(RoleType.class, >> orgName); >>                 if (org != null) >>                 { >>                     log.info("org {}" , org) >>                     orgOrt = new ObjectReferenceType(); >> orgOrt.setOid(org.getOid()); >> orgOrt.setType(RoleType.COMPLEX_TYPE); >> >> AssignmentType assignment = new AssignmentType(); >> assignment.asPrismContainerValue() >> assignment.setTargetRef(orgOrt); >>         return assignment >>     } >>    } >>     >> >> I got error: >> >> >> Operation >> Reconcile user (Gui): {0} >> Message >> Couldn't reconcile user >> user:08c284d4-8bc8-4b1a-a598-785773c51d62(ales.levinsky). >> >> Error >> groovy.lang.MissingMethodException: No signature of method: >> org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.If() is >> applicable for argument types: (java.lang.Boolean, >> Script31$_run_closure1) values: [true, >> Script31$_run_closure1 at 2eb5683] Possible solutions: find(), >> any(), is(java.lang.Object), wait(), dump(), grep() in expression >> in mapping in inbound expression for >> {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}memberOf >> in resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(BLUED >> (LDAP))({.../common/common-3}input=CN=POS_AX_ADMINS,OU=Groups,OU=CZ,DC=domain,DC=local; >> ) in expression in mapping in inbound expression for >> {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}memberOf >> in resource:746ecf5e-3e8c-11e6-b2f9-3c970e44b9e2(BLUED (LDAP)) >> >> Any idea? I fouind some things on internet about bug in groovy. But >> without solution for now. >> >> Jan >> >> >> >> >> >> >> _______________________________________________ >> midPoint mailing list >> midPoint at lists.evolveum.com >> http://lists.evolveum.com/mailman/listinfo/midpoint > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Fri Jan 26 14:38:55 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Fri, 26 Jan 2018 14:38:55 +0100 Subject: [midPoint] Fw: Null parent for value PCV(1) Exception during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 In-Reply-To: References: <248efbb6-ffb6-dd87-5bb0-d2cccdf0d56f@evolveum.com> <0ddd3193-f6b7-bc58-e7f6-7329384c77a1@evolveum.com> Message-ID: Just for the record: After some diagnostics the problem was resolved by switching from deprecated range/isInSetExpression to fully supported target/set/condition. Moreover, the issue is fixed in midPoint 3.7. Please see MID-4409 . Pavol Mederly Software developer evolveum.com On 18.01.2018 9:13, petr.kulheim at ibacz.eu wrote: > hi Pavol, > with Peter Holes we have tried to change the role mapping on your > suggesting but unfortunately it hasn't helped. > > One more thing I have noticed: the user, which suffers the issue from > GUI, the exception I have provided at the begging, is not in a list of > users with the error from reconsiliation task. > We are going to check these users. > > --pk > > > > > > > From: petr.kulheim at ibacz.eu > To: midPoint General Discussion > Date: 17/01/2018 19:44 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" > ------------------------------------------------------------------------ > > > > we will try yesterday as I do not have direct access to the system, > but colleagues have. > thx > Petr > > > > > > From: Pavol Mederly > To: midpoint at lists.evolveum.com > Date: 17/01/2018 19:03 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" > ------------------------------------------------------------------------ > > > > ...and one more idea to try: > > instead of element, could you try something > like this and tell us if it helped? > > >     >         type="c:RoleType"/> >     > > > It might behave differently from assignmentTargetSearch in some cases > (I am not sure now), but at least it would provide us with a hint on > where the problem could be. > > (BTW, I was not able to replicate the problem with your configuration > on my machine.) > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 17:50, _petr.kulheim at ibacz.eu_ > wrote: > Pavol, > I guess it was assigned by User's object template mapping, pls see here: > > >      Zamestnanec role assignment >      strong >       >         $user/employeeType >       >       >         xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_" > xsi:type="c:SearchObjectRefExpressionEvaluatorType"> >            c:RoleType >  feed0000-0000-0000-0003-000000000001 >         >       >       >         assignment >       >       >         >       >   > > and also I attaching the Role definition. > > > Thx > Petr > > > > > > > From: Pavol Mederly __ > To: _midpoint at lists.evolveum.com_ > Date: 17/01/2018 17:26 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" __ > > > ------------------------------------------------------------------------ > > > > Petr, > > thanks for the information. I think I understood. So, let's have a > look at it: > > The problem is related to the assignment of a role with OID > feed0000-0000-0000-0003-000000000001. > > How was that assignment created? Manually through a GUI? I assume it > was created via some mapping. Can you post here the mapping? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 17:10, _petr.kulheim at ibacz.eu_ > wrote: > Hi Pavol, > provided exception bellow is from GUI action SAVE, with reconsiliation > checkbox checked, no changed done. It is replicable. > > If we run recosiliation task, there are about  30 errors in >       > com.evolveum.midpoint.common.operation.reconciliation.errors >         not_applicable >         1000000000000030110 >         Last 30 failures: >       > com.evolveum.midpoint.common.operation.reconciliation.errors >         not_applicable >         1000000000000030110 >         Last 30 failures: > CN=Jan novak,OU=BRC,DC=wintest,DC=bbb,DC=sk: > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]], > PCV(2):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:22.972+01:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-03T12:11:23.027+01:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#import_)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}construction):[PCV(null):[PrismReference({.../common/common-3}resourceRef):[PRV(oid=feed0000-0000-0000-0000-000000000001, > targetType={.../common/common-3}ResourceType, > relation={.../common/org-3}default)]]], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:f259bab2-48eb-4e0f-b426-6b58445fdbae(jnovak)); in > current user in > LensFocusContext(UserType:f259bab2-48eb-4e0f-b426-6b58445fdbae) > ..... > > > Looks like the same error as from GUI action, but no stack trace. > thx a lot > > Petr > > > > > > > From: Pavol Mederly __ > To: _midpoint at lists.evolveum.com_ > Date: 17/01/2018 16:05 > Subject: Re: [midPoint] Fw: Null parent for value PCV(1) Exception > during reconciliation after upgrade of midpoint from 3.5.1 to 3.6.1 > Sent by: "midPoint" __ > > > ------------------------------------------------------------------------ > > > > Hello Petr, > > just to make sure: You wrote that the exception occurs during > reconciliation. I assume you mean reconciliation task. > > But the stack trace corresponds to a GUI operation. > > So, what's the case? Does it occur within a task or in GUI? If in GUI, > is it replicable? > > Pavol Mederly > Software developer > evolveum.com > > On 17.01.2018 12:34, _petr.kulheim at ibacz.eu_ > wrote: > hi guys, > > we have customer's test environment where we have upgraded midpoint > from 3.5.1 to 3.6.1 > After this upgrade we have some users, about 30, having following > Exception during reconsiliation: > > 2018-01-15 17:33:30,325 [] [Thread-77] ERROR > (com.evolveum.midpoint.web.component.progress.ProgressReporter): Error > executing changes. > java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)); > in current user in > LensFocusContext(UserType:09cff951-c031-4033-95a9-de85812ccc46) >        at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:495)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:461)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensFocusContext.checkConsistence(LensFocusContext.java:459)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:453)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensContext.checkConsistence(LensContext.java:678)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocusFocus(FocusProcessor.java:398)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.projector.FocusProcessor.processFocus(FocusProcessor.java:173)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.projector.Projector.lambda$projectInternal$1(Projector.java:227)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensUtil.partialExecute(LensUtil.java:1254)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.projector.Projector.projectInternal(Projector.java:225)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.projector.Projector.project(Projector.java:114)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.Clockwork.click(Clockwork.java:440)~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.Clockwork.run(Clockwork.java:197) > ~[model-impl-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.controller.ModelController.executeChanges(ModelController.java:572)~[model-impl-3.6.1.jar:na] >        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[na:1.8.0_111] >        at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)~[na:1.8.0_111] >        at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)~[na:1.8.0_111] >        at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] >        at > org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:507)~[wicket-ioc-7.6.0.jar:7.6.0] >        at com.sun.proxy.$Proxy164.executeChanges(Unknown Source) ~[na:na] >        at > com.evolveum.midpoint.web.component.progress.ProgressReporter.lambda$executeChangesAsync$0(ProgressReporter.java:187)~[classes/:na] >        at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_111] > Caused by: java.lang.IllegalStateException: Null parent for value > PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]] > in item > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}assignment):[PCV(1):[PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}metadata):[PCV(null):[PP({.../common/common-3}requestTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:13.965+02:00)], > PrismReference({.../common/common-3}requestorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createTimestamp):[PPV(XMLGregorianCalendarImpl:2017-03-29T11:17:14.092+02:00)], > PrismReference({.../common/common-3}creatorRef):[PRV(oid=00000000-0000-0000-0000-000000000002, > targetType={.../common/common-3}UserType, > relation={.../common/org-3}default)], > PP({.../common/common-3}createChannel):[PPV(String:_http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#reconciliation_)]]], > PrismReference({.../common/common-3}targetRef):[PRV(oid=feed0000-0000-0000-0003-000000000001, > targetType={.../common/common-3}RoleType, > relation={.../common/org-3}default)], > PC({_http://midpoint.evolveum.com/xml/ns/public/common/common-3_}activation):[PCV(null):[PP({.../common/common-3}effectiveStatus):[PPV(ActivationStatusType:ENABLED)]]]]] > (assignment in user:09cff951-c031-4033-95a9-de85812ccc46(testovic)) >        at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:748) > ~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.PrismContainerValue.checkConsistenceInternal(PrismContainerValue.java:1271)~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.Item.checkConsistenceInternal(Item.java:754) > ~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.PrismContainer.checkConsistenceInternal(PrismContainer.java:688)~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.PrismObject.checkConsistenceInternal(PrismObject.java:409)~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.prism.Item.checkConsistence(Item.java:709) > ~[prism-3.6.1.jar:na] >        at > com.evolveum.midpoint.model.impl.lens.LensElementContext.checkConsistence(LensElementContext.java:491)~[model-impl-3.6.1.jar:na] >        ... 21 common frames omitted > > > I have found it comes from > com.evolveum.midpoint.prism.Item radek 748, > >    if (val.getParent() == null) { >            throw new IllegalStateException("Null parent for value > "+val+" in item "+this+" ("+path+" in "+rootItem+")"); >    } > > > So far we haven't found any suspicious Users/Accounts metadata. > Likely it is related to AD resource. > Any hint or advice would be appreciated. > > Thx > > Petr Kulheim > JEE Developer > > IBA CZ, s.r.o. > Office: Petržílkova 2565/23, 158 00 Praha, CZ > Phone: +420 603 272826 > E-mail: _petr.kulheim at ibacz.eu_ > > IBACZ email signature > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to _ict at ibacz.eu_ > and then delete it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list_ > __midPoint at lists.evolveum.com_ _ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com_ > __http://lists.evolveum.com/mailman/listinfo/midpoint_ > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt._______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint > > > > ------------------------------------------------------------------------ > Disclaimer: > > The information contained in this communication is intended solely for > the use of the individual or entity to whom it is addressed and others > authorized to receive it. > It may contain confidential or legally privileged information. > If you are not the intended recipient you are hereby notified that any > disclosure, copying, distribution or taking any action in reliance on > the contents of this information is strictly prohibited and may be > unlawful. > If you have received this communication in error, please notify us > immediately by forwarding this email to ict at ibacz.eu and then delete > it from your system. > IBA Group is neither liable for the proper and complete transmission > of the information contained in this communication nor for any delay > in its receipt. > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fmjgnmbmldmpmiie.png Type: image/png Size: 48578 bytes Desc: not available URL: From Caspi at seznam.cz Fri Jan 26 15:55:02 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Fri, 26 Jan 2018 15:55:02 +0100 (CET) Subject: [midPoint] Template modification Message-ID: <3uH.vP8.6qPHzfCb4nO.1QQq56@seznam.cz> Hi Pavol, thank you for reply. I found this code posted by Ivan in 2016. http://lists.evolveum.com/pipermail/midpoint/2016-May/001884.html I used user template and change orgType to RoleType. It worked for me. Imported users had assigned correct roles in midpoint. Thats the reason why I used RoleType. The problem I have is in case that role (AD group) is not imported to midpoint. That it fails. We have a lot of AD groups managed by applications and those shoudl not be in midpoint. so that was the reason why i add condition  if (org != null) With that condition i tryed to solve situation when role is not found in Midpoint. Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From mederly at evolveum.com Fri Jan 26 16:17:21 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Fri, 26 Jan 2018 16:17:21 +0100 Subject: [midPoint] Template modification In-Reply-To: <3uH.vP8.6qPHzfCb4nO.1QQq56@seznam.cz> References: <3uH.vP8.6qPHzfCb4nO.1QQq56@seznam.cz> Message-ID: Jan, hmmm. I see. Anyway, please try to add "return null" and, if that would not help, invert "if" conditions. I am afraid I have no other idea at this moment ... Pavol Mederly Software developer evolveum.com On 26.01.2018 15:55, Jan Kaspar wrote: > Hi Pavol, > > thank you for reply. I found this code posted by Ivan in 2016. > > http://lists.evolveum.com/pipermail/midpoint/2016-May/001884.html > > I used user template and change orgType to RoleType. It worked for me. > Imported users > had assigned correct roles in midpoint. Thats the reason why I used > RoleType. > > The problem I have is in case that role (AD group) is not imported to > midpoint. That it fails. > We have a lot of AD groups managed by applications and those shoudl > not be in midpoint. > > so that was the reason why i add condition > >  if (org != null) > > With that condition i tryed to solve situation when role is not found > in Midpoint. > > Jan > > > > > > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint -------------- next part -------------- An HTML attachment was scrubbed... URL: From wojciech.staszewski at diagnostyka.pl Fri Jan 26 16:40:16 2018 From: wojciech.staszewski at diagnostyka.pl (Wojciech Staszewski) Date: Fri, 26 Jan 2018 16:40:16 +0100 Subject: [midPoint] Role approval escalations Message-ID: Hi! Does MidPoint have the ability to define escalations for role approval workflow? Thanks! Wojciech Staszewski From mederly at evolveum.com Fri Jan 26 16:45:28 2018 From: mederly at evolveum.com (Pavol Mederly) Date: Fri, 26 Jan 2018 16:45:28 +0100 Subject: [midPoint] Role approval escalations In-Reply-To: References: Message-ID: <1c48d848-1ec6-4a26-7c72-00371928a437@evolveum.com> Wojciech, of course! Spent a lot of (wonderful) days implementing it quite recently. It was for 3.6. See https://wiki.evolveum.com/display/midPoint/Escalation+in+workflows+HOWTO. Pavol Mederly Software developer evolveum.com On 26.01.2018 16:40, Wojciech Staszewski wrote: > Hi! > > Does MidPoint have the ability to define escalations for role approval workflow? > > Thanks! > Wojciech Staszewski > _______________________________________________ > midPoint mailing list > midPoint at lists.evolveum.com > http://lists.evolveum.com/mailman/listinfo/midpoint From Caspi at seznam.cz Sat Jan 27 12:18:39 2018 From: Caspi at seznam.cz (Jan Kaspar) Date: Sat, 27 Jan 2018 12:18:39 +0100 (CET) Subject: [midPoint] Template modification Message-ID: <4lT.vPO.5o3qQXylidr.1QR60F@seznam.cz> Hi, I got it. In the end i changed inbound mapping to store memberOf attribute as it is (DinstinguishedName). In prevouis attempt i tryed to normalize to CommonName. Not normalize is done in user template and it works as expected. Thanks all, Jan -------------- next part -------------- An HTML attachment was scrubbed... URL: From arnost.starosta at ami.cz Mon Jan 29 13:22:12 2018 From: arnost.starosta at ami.cz (=?UTF-8?Q?Arno=C5=A1t_Starosta_=2D_AMI_Praha_a=2Es=2E?=) Date: Mon, 29 Jan 2018 13:22:12 +0100 Subject: [midPoint] Updates can get lost during a running recomputation task (SOLVED) Message-ID: *Problem : * Midpoint in default configuration recomputes objects by first retrieving them ALL from repository, then passing each object to a worker thread. If the object was updated meanwhile (e.g. live-synced or updated from gui) before it is recomputed by the worker thread, this update can be overwritten by the object version retrieved when the recompute task started. It happened on my deployment several times. *Is your deployment affected? :* Hard to say, i don't see any relevant log message to check. I had to check by debugging the running recompute task and verifying that SqlRepositoryServiceImpl.searchObjectsIterative calls ObjectRetriever.searchObjectsIterativeByPaging (ok) and not ObjectRetriever.searchObjectsIterativeAttempt (can loose updates). Deployments with MySQL or H2 backend should be ok with default configuration (check sources SqlRepositoryConfiguration.computeDefaultIterativeSearchParameters). Did not verify the runtime. *Solution:* Configure iterativeSearchByPaging and iterativeSearchByPagingBatchSize in config.xml midpoint/repository element. Don't know if all backends support this setting but postgres (which i use) does. true 17 After setting these parameters the objects to recompute are read in 'pages' and fed to worker threads until the request queue between the reader thread and worker threads is full, then the reader is blocked. The size of the queue is hardcoded as 2 * number-of-worker-threads. By setting the iterativeSearchByPagingBatchSize you can still loose updates, but the time window when this can happen shrinks from number-of-objects to max(page size, 2*num-of-worker-threads). Without much thought i set the page size to (2 * number-of-worker-threads) + 1. good luck arnost -- Arnošt Starosta solution architect gsm: [+420] 603 794 932 e-mail: arnost.starosta at ami.cz AMI Praha a.s. Pláničkova 11 162 00 Praha 6 tel.: [+420] 274 783 239 web: www.ami.cz [image: AMI Praha a.s.] [image: AMI Praha a.s.] Textem tohoto e-mailu podepisující neslibuje uzavřít ani neuzavírá za společnost AMI Praha a.s. jakoukoliv smlouvu. Každá smlouva, pokud bude uzavřena, musí mít výhradně písemnou formu. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davy.priem at vives.be Mon Jan 29 13:54:15 2018 From: davy.priem at vives.be (Davy Priem) Date: Mon, 29 Jan 2018 12:54:15 +0000 Subject: [midPoint] inducement issue after upgrade to 3.7 In-Reply-To: References: <0001EAE3-377F-44A0-BAA5-CFF1C6008A6D@vives.be> Message-ID: <1c000956db6140b79242555d972d7b88@vives.be> Hi Ivan, Thank for your response. The role has an inducement for AD. I don’t see any errors in the log, but when a new account is created, I do see the normal AD LDAP warning stuff, so midpoint is definitely doing something. User is not created though. I’ll try some more debugging. I also included the role as attachement. AD LDAP warnings: 2018-01-29 13:30:39,000 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,000 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.12, cannot determine if it is binary 2018-01-29 13:30:39,000 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.2.840.113556.1.4.906, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.15, cannot determine if it is binary 2018-01-29 13:30:39,001 [] [midPointScheduler_Worker-1] WARN (com.evolveum.polygon.connector.ldap.schema.AbstractSchemaTranslator): method: null msg:Uknown attribute 1.3.6.1.4.1.1466.115.121.1.27, cannot determine if it is binary 2018-01-29 13:30:39,040 [] [midPointScheduler_Worker-1] INFO (org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean): Creating Service {http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd}WinRmService from WSDL: jar:file:/var/cache/tomcat/temp/bundle-1680891419/lib/winrm4j-client-0.4.0.e4.jar!/wsdl/WinRmService.wsdl Van: midPoint [mailto:midpoint-bounces at lists.evolveum.com] Namens Ivan Noris Verzonden: Wednesday, 24 January 2018 09:43 Aan: midpoint at lists.evolveum.com Onderwerp: Re: [midPoint] inducement issue after upgrade to 3.7 Hi Davy, I have just tried our training environment installed from scratch, where we assign a role using object template, to each newly imported person from HR source. And it works. The projections are created after role is assigned. I have not clean 3.7 but 3.7-support branch to be honest. Are there any errors in midpoint.log? Can you share the role? Best regards, Ivan On 24.01.2018 09:17, Davy Priem wrote: Hi, This is a probably a version stupid question, but since I upgraded to version 3.7, the inducements on a role aren’t processed anymore when a role is assigned to a user. I have a template that assigns a role on a new user. That role has several inducements. When a new users is imported, midpoint succesfully assigns the role to the user (as with 3.6). However, there it stops. When I go to the user and do a recon, then the projections are made. Am I overlooking something? I didn’t found any behaviour change in 3.7 release notes. Best regards, Davy Priem _______________________________________________ midPoint mailing list midPoint at lists.evolveum.com http://lists.evolveum.com/mailman/listinfo/midpoint -- Ivan Noris Senior Identity Engineer evolveum.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: student.xml Type: application/xml Size: 6335 bytes Desc: student.xml URL: