W Forum W wrote:
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'
Its simple. "host" is defined in "account". So dont declare it twice,
just use it.
# exists already in account
#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 )
)
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