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 (
        NAME 'host'
        DESC 'host computer'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch

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


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.