[midPoint] Trouble configuring Zimbra as a resource

Ivan Noris ivan.noris at evolveum.com
Wed Apr 19 14:27:04 CEST 2017


Hi Tommy,

first, it's perfectly normal that you don't have <schema> in your
resource, as that part will be automatically generated when you import
the resource and then Test connection.

If you don't specify the <generationConstraints>, all object class will
be fetched from (LDAP) connector.

Please try using
<generateObjectClass>ri:zimbraAccount</generateObjectClass> (lowercase
"z") and try again. If the object class is still undefined, you need to
double check what object class you need to use for Zimbra. Isn't it
auxiliary object class?

I'd recommend to see your existing Zimbra accounts using some LDAP
browser and check the value of objectClass attribute for such accounts.
I think it will be set of multiple values. And probably some of them
will be auxiliary.

Regards,

Ivan


On 04/19/2017 01:12 PM, Tommy Montegu wrote:
>
> Hello,
>
>  
>
> Thanks to answer me. In my resource configuration, I didn’t have a
> Schema part. I have only a Schema Handling.
>
>  
>
> Do I need to configure a Schema part like this :
>
>  
>
>    <schema>
>
>       <generationConstraints>
>
>          <generateObjectClass>ri:ZimbraAccount</generateObjectClass>
>
>       </generationConstraints>
>
>    </schema>
>
>  
>
> You can find attached my actual resource file. I get this message
> error now :
>
>  
>
> *Operation*
>
> *operation.com.evolveum.midpoint.web.page.admin.resources.PageResource.loadResource*
>
> *Message*
>
> Schema error while processing schemaHandling section of
> resource:48231e70-d81c-4cad-a6da-c84aed4fe4c5(Zimbra_AD): Object class
> {http://midpoint.evolveum.com/xml/ns/public/resource/instance-3}ZimbraAccount
> as specified in account type null was not found in the resource schema
> of account type definition 'default' in definition of
> resource:48231e70-d81c-4cad-a6da-c84aed4fe4c5(Zimbra_AD)
>
>  
>
>  
>
> It’s looks like my ZimbraAccount is not defined in schema
> configuration. What do you think ?
>
>  
>
> Could you (or someone else) help me to configure correctly my resource
> please ?
>
>  
>
> I hope to eharing from you soon.
>
>  
>
> Best regards,
>
>  
>
> *Tommy Montégu*   Technicien Support, Exodata
>
> photo
>
> 	
>
> Standard : 02 62 977 955 <callto:02%2062%20977%20955>
>
> Email : tommy.montegu at exodata.fr <mailto:tommy.montegu at exodata.fr>
>
> Website : www.exodata.fr
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Fwww.exodata.fr%2F&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064>
>
> Adresse : 4, rue Émile Hugot - 97490 Sainte-Clotilde
>
> http://images.wisestamp.com/facebook.png
> <http://facebook.com/exodata> http://images.wisestamp.com/twitter.png
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Ftwitter.com%2Fexodatagroup&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064> http://images.wisestamp.com/linkedin.png
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Fwww.linkedin.com%2Fcompany%2Fexodata&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064> http://images.wisestamp.com/googleplus.png
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Fplus.google.com%2Fb%2F112099146097934583192%2F112099146097934583192%2Fabout&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064> http://images.wisestamp.com/slideshare.png
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Fwww.slideshare.net%2Fexodata&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064> http://images.wisestamp.com/googlemaps.png
> <http://t.signauxdeux.com/e1t/c/5/f18dQhb0SmZ58dDMPbW2n0x6l2B9nMJW7sM9dn7dK_MMdBzM2-04?t=http%3A%2F%2Fgoo.gl%2Fmaps%2F0RNBG&si=5018836136886272&pi=57234252-d6e6-4462-cce5-05a8cd271064>
>
>  
>
>
>
> _______________________________________________
> 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/20170419/67193a6d/attachment.htm>


More information about the midPoint mailing list