[midPoint] Org Tree Bug, Users not listed

Jason Everling jeverling at bshp.edu
Tue Dec 2 00:39:53 CET 2014


Here are 2 samples, you can see the parentOrgRef missing,

Manual User:

<user xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
      oid="480c58aa-42a0-42a0-9c08-225a9da5d904"
      version="13">
   <name>Muser10</name>
   <extension xmlns:gen726="http://whatever.com/my">
      <gen726:otherMailbox>muser10 at local.org</gen726:otherMailbox>
      <gen726:eduPersonAffiliation>staff</gen726:eduPersonAffiliation>
   </extension>
   <parentOrgRef oid="9c3facf5-fd01-46f5-9c28-8488403826be"
type="OrgType"><!-- OU=SHP Staff,DC=TEST,DC=LOCAL --></parentOrgRef>
   <metadata>
      <createTimestamp>2014-10-18T16:03:15.399-05:00</createTimestamp>
      <creatorRef oid="00000000-0000-0000-0000-000000000002"
type="UserType"><!-- sysadmin --></creatorRef>
      <createChannel>
http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user
</createChannel>
      <modifyTimestamp>2014-11-28T11:46:04.766-06:00</modifyTimestamp>
      <modifierRef xmlns:tns="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                   oid="00000000-0000-0000-0000-000000000002"
                   type="tns:UserType"><!-- sysadmin --></modifierRef>
      <modifyChannel>
http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user
</modifyChannel>
   </metadata>
   <linkRef oid="a352404e-59e8-4105-b707-ed7b3f4ca680"
type="ShadowType"><!-- CN=Midpoint User10,OU=SHP Staff,DC=TEST,DC=LOCAL
--></linkRef>
   <linkRef oid="bd138cf0-4acf-467a-b9eb-213e203eaedd"
type="ShadowType"><!-- Muser10 --></linkRef>
   <assignment id="1">
      <targetRef xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                 oid="44545ccc-4da3-483a-8189-d85902072998"
                 type="c:RoleType"><!-- SHP Staff --></targetRef>
   </assignment>
   <assignment id="2">
      <targetRef xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                 oid="9c3facf5-fd01-46f5-9c28-8488403826be"
                 type="c:OrgType"><!-- OU=SHP Staff,DC=TEST,DC=LOCAL
--></targetRef>
   </assignment>

Automatic User:

<user xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
      oid="a60f09c3-1e13-4d71-b7a1-933e6f2ee281"
      version="14">
   <name>weblevins</name>
   <extension xmlns:gen726="http://whatever.com/my">
      <gen726:otherMailbox>wblevins at yahoo.com</gen726:otherMailbox>
      <gen726:eduPersonAffiliation>student</gen726:eduPersonAffiliation>
   </extension>
   <metadata>
      <createTimestamp>2014-11-04T12:38:30.242-06:00</createTimestamp>
      <creatorRef oid="00000000-0000-0000-0000-000000000002"
type="UserType"><!-- sysadmin --></creatorRef>
      <createChannel>
http://midpoint.evolveum.com/xml/ns/public/provisioning/channels-3#liveSync
</createChannel>
      <modifyTimestamp>2014-11-27T21:04:35.858-06:00</modifyTimestamp>
      <modifierRef xmlns:tns="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                   oid="00000000-0000-0000-0000-000000000002"
                   type="tns:UserType"><!-- sysadmin --></modifierRef>
      <modifyChannel>
http://midpoint.evolveum.com/xml/ns/public/gui/channels-3#user
</modifyChannel>
   </metadata>
   <linkRef oid="5df37278-602e-456d-b025-b8efdc03b61b"
type="ShadowType"><!-- CN=Wendy Blevins,OU=AAD,OU=SHP
Students,DC=TEST,DC=LOCAL --></linkRef>
   <linkRef oid="6bd8899d-a8d6-446f-b224-465a794a4d6c"
type="ShadowType"><!-- WT7188976 --></linkRef>
   <linkRef oid="abbeb5cc-11fa-4235-a27f-d6da724f40ac"
type="ShadowType"><!-- weblevins --></linkRef>
   <assignment id="1">
      <targetRef xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                 oid="f6f68a1d-313e-4fa4-af32-96219476d4ea"
                 type="c:OrgType"><!-- OU=AAD,OU=SHP
Students,DC=TEST,DC=LOCAL --></targetRef>
   </assignment>
   <assignment id="2">
      <targetRef xmlns:c="
http://midpoint.evolveum.com/xml/ns/public/common/common-3"
                 oid="ebdf7b91-79af-4a49-9255-f0baa51f9c2b"
                 type="c:RoleType"><!-- SHP Students --></targetRef>

On Mon, Dec 1, 2014 at 5:36 PM, Jason Everling <jeverling at bshp.edu> wrote:

> Since I finished up the roles/groups testing I moved onto Orgs, I got my
> orgs mapped and working correctly so it is not a configuration question.
>
> When a user is manually added in the midpoint GUI and the Org gets
> assigned manually the users shows up in the GUI in the Org Tree,
>
> If a user is created automatically using a resource such as DBTable or CSV
> and the Org is assigned from a objectTemplate they do not show up in the
> Org tree under the Org but if I open the user, sure enough the Org is
> assigned.
>
> The only thing I notice differently from a manual creation to a automatic
> creation is that the manual creation adds the below to the user object, the
> users that are automatically created are missing this item, if I manually
> add the item to the user then they show up in the Org Tree,
>
> The below is what is missing from the auto created/assigned users objects,
>
>    <parentOrgRef oid="9c3facf5-fd01-46f5-9c28-8488403826be"
> type="OrgType"><!-- OU=SHP Staff,DC=TEST,DC=LOCAL --></parentOrgRef>
>
> JASON
>

-- 


CONFIDENTIALITY NOTICE:
This e-mail together with any attachments is proprietary and confidential; 
intended for only the recipient(s) named above and may contain information 
that is privileged. You should not retain, copy or use this e-mail or any 
attachments for any purpose, or disclose all or any part of the contents to 
any person. Any views or opinions expressed in this e-mail are those of the 
author and do not represent those of the Baptist School of Health 
Professions. If you have received this e-mail in error, or are not the 
named recipient(s), you are hereby notified that any review, dissemination, 
distribution or copying of this communication is prohibited by the sender 
and to do so might constitute a violation of the Electronic Communications 
Privacy Act, 18 U.S.C. section 2510-2521. Please immediately notify the 
sender and delete this e-mail and any attachments from your computer. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20141201/2253621e/attachment.htm>


More information about the midPoint mailing list