[midPoint] tag variable null on outgoing only multiaccount setup

Marek Horecny marek.horecny at gmail.com
Tue Mar 16 14:36:40 CET 2021


Hi.

I have sort of hit a wall with this situation:

- Using multiaccount setup according to Multiaccount howto (midpoint version 4.2) , outgoing mapping only, on a resource(LDAP for example)   
- The account/accounts does not exist yet on the resource (shadow does not exist also)
- User has two organizations (in $user/organization)

The problem is that tag variable is null and cannot be used in attributes. 

For example:

<expression>
                        <script>
                                <code>name + '-' + tag</code>
                        </script>
</expression> 

This will result always "username-null" on attribute, which is then unusable for dn/uid etc(midpoint will create only one account)...

Did I miss something? Are multiaccounts (tags) are used only in resources with existing accounts and inbound mapping ?

Many thanks for help...

Best Regards
Marek Horecny


More information about the midPoint mailing list