<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Keith,<br>
    <br>
    That's strange. If you have eduPerson in your LDAP schema then it
    also should be in the midPoint shcema. Please have a look at your
    resource definition - the "live" version which is stored in midpoint
    repository (in miPoint GUI: Configuration > Repository objects
    > Resource). Look at the <schema> part. You should see
    complextType definitions for all object classes there. eduPerson
    should be there. If it is not there then I would guess that one of
    the following happened:<br>
    <br>
    1. You have added eduPerson to LDAP schema after you have
    initialized the the resource in midPoint. MidPoint retrieves the
    resource schema only when it connects to the resource for the first
    time. After that midPoint is using the stored schema (to save
    round-trips as the schema can be big). If that is the case then
    simply delete the whole <schema> section and re-try. The
    schema will be refreshed.<br>
    <br>
    2. For some strange reason the eduPerson is not visible in the LDAP
    schema. What LDAP server are you using? Can you make sure that
    eduPerson is visible in the LDAP schema by making LDAP search in
    cn=schema or cn=subschema?<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Radovan Semancik
Software Architect
evolveum.com
</pre>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/21/2016 12:35 PM, Keith Hazelton
      wrote:<br>
    </div>
    <blockquote cite="mid:0F9D80A0-399E-472E-9C53-916A4EF483AB@wisc.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Courier New";
        panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
        {font-family:宋体;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Courier;}
span.hoenzb
        {mso-style-name:hoenzb;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2133664481;
        mso-list-type:hybrid;
        mso-list-template-ids:1904650218 67698705 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-text:"%1\)";
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style>
      <div class="WordSection1">
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">Per suggestion,
            I globally replaced the references to my “e:” namespace
            prefix with the “ri:” namespace prefix, but got the same
            “Partial Error” message on loading the resource .xml file:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">“</span><span
style="font-size:11.0pt;font-family:Calibri;color:#333333;background:white">Schema
            error while processing schemaHandling section of
            <a class="moz-txt-link-freetext" href="resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost">resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost</a>
            OpenDJ): Auxiliary object class
{<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>}eduPerson
            specified in
            rOCD(ACCOUNT:default={.../resource/instance-3}inetOrgPerson)
            does not exist</span><span
            style="font-size:11.0pt;font-family:Calibri">”<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">I then tried a
            different approach, removing the <complexType>
            container elements for my auxiliary object class attributes
            in the schemaHandling section,  making them simple attribute
            elements of the inetOrgPerson complexType. I imported the
            edited .xml file and still got a partial error “auxiliary
            object class not found”:<o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><operationResult
xmlns=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">                
xmlns:icfs=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3">"http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3"</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">             
               xmlns:t=<a class="moz-txt-link-rfc2396E" href="http://prism.evolveum.com/xml/ns/public/types-3">"http://prism.evolveum.com/xml/ns/public/types-3"</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">                
xmlns:c=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/common/common-3">"http://midpoint.evolveum.com/xml/ns/public/common/common-3"</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">                
            xmlns:q=<a class="moz-txt-link-rfc2396E" href="http://prism.evolveum.com/xml/ns/public/query-3">"http://prism.evolveum.com/xml/ns/public/query-3"</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">                
xmlns:ri=<a class="moz-txt-link-rfc2396E" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">"http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"</a>><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
<operation>com.evolveum.midpoint.provisioning.api.ProvisioningService.searchObjects.object</operation><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
            <status>partial_error</status><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
            <token>1000000000000000554</token><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
            <message>Schema error while processing schemaHandling
            section of
            <a class="moz-txt-link-freetext" href="resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost">resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost</a>
            OpenDJ): Auxiliary object class
{<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>}eduPerson
            specified in
            rOCD(ACCOUNT:default={.../resource/instance-3}inetOrgPerson)
            does not exist</message><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
            <partialResults><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
<operation>com.evolveum.midpoint.provisioning.impl.ResourceManager.completeResource</operation><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
            <status>partial_error</status><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
            <token>1000000000000000555</token><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
            <message>Schema error while processing schemaHandling
            section of
            <a class="moz-txt-link-freetext" href="resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost">resource:ef2bc95b-76e0-48e2-86d6-3d4f02d3e1a2(Localhost</a>
            OpenDJ): Auxiliary object class
{<a class="moz-txt-link-freetext" href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>}eduPerson
            specified in
            rOCD(ACCOUNT:default={.../resource/instance-3}inetOrgPerson)
            does not exist</message><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
            <partialResults><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">        
<operation>com.evolveum.midpoint.repo.api.RepositoryService.getVersion</operation><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">        
            <status>success</status><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">        
            <params><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">           
            <entry key="oid"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">              
<paramValue>00916739-66f5-41fc-b0c3-fe8577d650e4</paramValue><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">           
            </entry><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">           
            <entry key="type"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">              
<paramValue>com.evolveum.midpoint.xml.ns._public.common.common_3.ConnectorType</paramValue><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">           
            </entry><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">        
            </params><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">        
            <token>1000000000000000556</token><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">     
            </partialResults><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri">  
            </partialResults><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"></operationResult><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="font-size:10.5pt;font-family:Calibri;color:black">___________________________________</span><span
              style="font-size:10.5pt;font-family:Calibri;color:#888888"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.5pt;font-family:Calibri;color:#888888">email
              & jabber:
              <a moz-do-not-send="true"
                href="mailto:keith.hazelton@wisc.edu" target="_blank">keith.hazelton@wisc.edu</a><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span
            style="font-size:10.5pt;font-family:Calibri;color:#888888">calendar:
            <a moz-do-not-send="true" href="http://go.wisc.edu/i6zxx0"
              target="_blank">http://go.wisc.edu/i6zxx0</a></span><span
            style="font-size:11.0pt;font-family:Calibri"><o:p></o:p></span></p>
        <p class="MsoNormal"><span
            style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
        <blockquote style="border:none;border-left:solid #B5C4DF
          4.5pt;padding:0in 0in 0in
          4.0pt;margin-left:3.75pt;margin-right:0in">
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
                  style="font-family:Calibri;color:black">From: </span>
              </b><span style="font-family:Calibri;color:black">midPoint
                <a class="moz-txt-link-rfc2396E" href="mailto:midpoint-bounces@lists.evolveum.com"><midpoint-bounces@lists.evolveum.com></a> on behalf of
                Radovan Semancik <a class="moz-txt-link-rfc2396E" href="mailto:radovan.semancik@evolveum.com"><radovan.semancik@evolveum.com></a><br>
                <b>Reply-To: </b>midPoint General Discussion
                <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
                <b>Date: </b>Tuesday, September 20, 2016 at 07:29 <br>
                <b>To: </b>midPoint General Discussion
                <a class="moz-txt-link-rfc2396E" href="mailto:midpoint@lists.evolveum.com"><midpoint@lists.evolveum.com></a><br>
                <b>Subject: </b>Re: [midPoint] Discovering Custom
                objectClasses<o:p></o:p></span></p>
          </div>
          <div>
            <p class="MsoNormal"><o:p> </o:p></p>
          </div>
          <p class="MsoNormal">Hi,<br>
            <br>
            I think I see the problem. It is the namespace of the
            eduPerson object class. You have to use the "ri" namespace (<a
              moz-do-not-send="true"
              href="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3">http://midpoint.evolveum.com/xml/ns/public/resource/instance-3</a>).
            MidPoint does not know that eduPerson is not core LDAP
            schema. LDAP server reports eduPerson in exactly the same
            way as any other core object class. Therefore for midPoint
            eduPerson and inetOrgPerson are just different object
            classes from the same namespace.
            <br>
            (Yes, theoretically we could look at object class OIDs and
            use that, but there is no support for namespaces in ConnId
            anyway and that would complicate the things by a great deal.
            So we are not doing that.)<br>
            <br>
            So, if you replace e:eduPerson with ri:eduPerson then your
            configuration should work.<br>
            <br>
            If you are interested in a deeper explanation you can find
            it here: <br>
            <a moz-do-not-send="true"
              href="https://wiki.evolveum.com/display/midPoint/Resource+Schema">https://wiki.evolveum.com/display/midPoint/Resource+Schema</a><br>
            <a moz-do-not-send="true"
href="https://wiki.evolveum.com/display/midPoint/Resource+and+Connector+Schema+Explanation">https://wiki.evolveum.com/display/midPoint/Resource+and+Connector+Schema+Explanation</a><br>
            <br>
            <br>
            <o:p></o:p></p>
          <pre>-- <o:p></o:p></pre>
          <pre>Radovan Semancik<o:p></o:p></pre>
          <pre>Software Architect<o:p></o:p></pre>
          <pre>evolveum.com<o:p></o:p></pre>
          <p class="MsoNormal"><o:p> </o:p></p>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
midPoint mailing list
<a class="moz-txt-link-abbreviated" href="mailto:midPoint@lists.evolveum.com">midPoint@lists.evolveum.com</a>
<a class="moz-txt-link-freetext" href="http://lists.evolveum.com/mailman/listinfo/midpoint">http://lists.evolveum.com/mailman/listinfo/midpoint</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>