Hi Alexander,
I create objectClasses named 'testHost' which have attribute 'host'.
As I mention up, I also test to create new attribute like this
attributeTypes: ( 2.25.36.1.2.3.4.5.1
NAME 'customhost'
DESC 'A hostname or identifier for a Custom host'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
X-ORIGIN 'Extending FreeIPA')
#
###############################################################################
#
objectClasses: ( 2.25.36.1.2.3.4.5.2
NAME 'testHost'
DESC 'An object class for Custom hosts'
SUP person
STRUCTURAL
MAY (customhost)
X-ORIGIN 'Extending FreeIPA' )
and not use default one:
attributeTypes: ( 0.9.2342.19200300.100.1.9 NAME 'host' EQUALITY caseIgnoreMa
tch SUBSTR caseIgnoreSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-O
RIGIN 'RFC 4524' )
I get only error when I use default attribute host it says, invalid
'ipauserobjectclasses': user default attribute host would not be allowed!
That why I'm not sure if I'm doing something wrong or is some restriction that we
can't display attribute 'host' in User Web UI.