Hi I tried to create a custom auxiliary class but I get this error

attributetype: Inconsistent duplicate attributeType: "host"

If I change the
attributeType: "host" to attributeType: "hosts"
it works. But I  need the 'host' attribute.not 'hosts'

How can I solve this?

My schema looks like

attributetype ( 1.3.6.1.4.1.9554.1
        NAME 'host'
        DESC 'host computer'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256}
        )

objectclass ( 1.3.6.1.4.1.9554.0
        NAME 'teststuff'
        SUP top
        AUXILIARY
        DESC 'Abstraction of an account with extra attributes'
        MAY ( host )
        )

Thanks

On 01/29/2014 10:41 AM, Vikas Parashar wrote:
Thanks Michael,

But instead of changing existing class, i think, it will be better if we create a custom auxiliary class.


On Wed, Jan 29, 2014 at 2:44 PM, Michael Ströder <michael@stroeder.com> wrote:
Vikas Parashar wrote:
> Yes, that should be. Because, you are using two structural class from
> different chain.
>
> Instead of account class, please use extensibleObject.

Using 'extensibleObject' is really bad practice.

Hint: One can easily define custom structural object classes adding the
attributes needed.

Also object classes can be derived from two other object classes.

SUP ( inetOrgPerson $ account )

Ciao, Michael.