[midPoint] No definition for 'manager' in user

Ivan Noris ivan.noris at evolveum.com
Wed Jan 17 09:54:28 CET 2018


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 <ivan.noris at evolveum.com>
> 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" <midpoint-bounces at lists.evolveum.com>
> ------------------------------------------------------------------------
>
>
>
> Hi Sean,
> the extension looks ok.
> The inbound is incorrect.
> It should look similar to this:
> <attribute>
>   <ref>ri:cn</ref>
> . . .
>   <inbound>
>   <expression>
>   ... <!-- probably you need to do something here from the resource
> attribute -->
>   </expression>
>     <target>$user/extension/manager</target> <!-- or
> $user/extension/ext:manager if ext namespace prefix is defined -->
>   </inbound>
> </attribute>
> 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: **
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <!-- This is a runtime schema that defines data types used in the
> <extension> part of the objects. It is used in some built-in samples. -->
> <xsd:schema elementFormDefault="qualified"
>             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_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__prism.evolveum.com_xml_ns_public_annotation-2D3&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=bIaBYPuc1u5al6hHQ48UgGmtuDbHWpR55AlVBf3UnKI&e=>"
>            
> xmlns:c="_http://midpoint.evolveum.com/xml/ns/public/common/common-3_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__midpoint.evolveum.com_xml_ns_public_common_common-2D3&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=Po5lsDn_3SH_tcMeFelSnvpOC6gc5ZbY7gA5NJNJDqE&e=>"
>             xmlns:xsd="_http://www.w3.org/2001/XMLSchema_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.w3.org_2001_XMLSchema&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=Fk4p9aHHGNqfpEf8C9vsZCGXaXL9eji3vv_wx181aqc&e=>">
>
>     <xsd:complexType name="UserExtensionType">
>         <xsd:annotation>
>             <xsd:appinfo>
>                 <a:extension ref="c:UserType"/>
>             </xsd:appinfo>
>         </xsd:annotation>
>         <xsd:sequence>
>             <xsd:element name="manager" type="xsd:string"
> minOccurs="0" maxOccurs="1">
>                 <xsd:annotation>
>                     <xsd:appinfo>
>                         <a:indexed>true</a:indexed>
>                         <a:displayName>manager</a:displayName>
>                     </xsd:appinfo>
>                 </xsd:annotation>
>             </xsd:element>
>         </xsd:sequence>
>     </xsd:complexType>
> </xsd:schema>
>
>
> ** Inbound Mapping: **
>
>          <attribute id="9">
>             <c:ref>ri:manager</c:ref>
>             <matchingRule
> xmlns:gen316="_http://prism.evolveum.com/xml/ns/public/matching-rule-3_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__prism.evolveum.com_xml_ns_public_matching-2Drule-2D3&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=kC89zKx6OSbrF6ywodIAcc_8EEUW99WsepE9P6pJEds&e=>">gen316:distinguishedName</matchingRule>
>             <tolerant>true</tolerant>
>             <exclusiveStrong>true</exclusiveStrong>
>             <fetchStrategy>explicit</fetchStrategy>
>             <inbound id="10">
>                <authoritative>true</authoritative>
>                <exclusive>true</exclusive>
>                <strength>strong</strength>
>                <expression>
>                   <c:path
> xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_"
>                          
> xmlns:xsi="_http://www.w3.org/2001/XMLSchema-instance_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.w3.org_2001_XMLSchema-2Dinstance&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=VixtHwcJ2vs4aZeyK3O6ns-wyNgjhwJI5z2jBRydNe8&e=>"
>                          
> xsi:type="t:ItemPathType">$user/extension/ext:manager</c:path>
>                </expression>
>                <target>
>                   <c:path
> xmlns:ext="_http://sos.ibm.com/xml/ns/sosSchema_">ext:manager</c:path>
>                </target>
>             </inbound>
>          </attribute>
>
>
>
>
>
>
>
>
>
> ------------------*
> Sean Penndorf*
> SaaS Operational Services (SOS) - ID Management
> IBM Cloud_
> __srpenn at us.ibm.com_ <mailto:srpenn at us.ibm.com>
> Office: 248-552-4791   TL  623-9966
>
>
>
>
> _______________________________________________
> midPoint mailing list
> _midPoint at lists.evolveum.com_ <mailto:midPoint at lists.evolveum.com>
> _http://lists.evolveum.com/mailman/listinfo/midpoint_
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.evolveum.com_mailman_listinfo_midpoint&d=DwMFaQ&c=jf_iaSHvJObTbx-siA1ZOg&r=qEACHutvsppyidQwf1kYntDY-ZKom0n1kiWqpNpwVXg&m=mxBoJ1lXgvvfo5l-Tjy10yyDc2y8S5YU7eMgXL9B6BQ&s=YqKtO-IFuxFGGiIQqHy-7o7tAszxg427o-T2utRX374&e=>
>
>
> -- 
> 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: <https://lists.evolveum.com/pipermail/midpoint/attachments/20180117/36cc4f05/attachment.htm>


More information about the midPoint mailing list