Le 22/09/14 22:52, Mitchell, Jeff a écrit :
> Hello everone,
>
> I need to add several attributes from an Active Directory schema to an 
> ApacheDS schema. One of these attributes is called extensionAttribute1 and 
> its definition is as follows:
>
> attributetype ( 1.2.840.113556.1.2.423
>        NAME 'extensionAttribute1'
>        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
>        SINGLE-VALUE
>  )
>
> This attribute needs to be added to organizationalPerson which is already 
> inside of my default ApacheDS schema.
> To accomplish this I used the Schema Editor to add the attribute to 
> organizationalPerson in the core ApacheDS schema. I then exported from the 
> Schema Editor. When I try to import the schema into my ApacheDS instance I 
> get dozens of errors. The errors seem to indicate that the existing 
> organiztionalPerson can't be modified in any way.
> Can anyone tell me what I'm doing wrong?
You are trying to modify an ObjectClass which is defined by a RFC
(http://tools.ietf.org/html/rfc4519#page-24).

This is simply not allowed.

Extends the Organizationalperson, and add the AttributeType in the
extended ObjectClass. Another option would be to define an auxiliary
ObjectClass.

Whoever told you to extend OrganizationalPerson is badly wrong.

Reply via email to